~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/freescale/imx8mp-venice-gw74xx-imx219.dtso

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*
  3  * Copyright 2023 Gateworks Corporation
  4  */
  5 
  6 #include <dt-bindings/gpio/gpio.h>
  7 
  8 #include "imx8mp-pinfunc.h"
  9 
 10 /dts-v1/;
 11 /plugin/;
 12 
 13 &{/} {
 14         reg_vana: regulator-2p8v {
 15                 compatible = "regulator-fixed";
 16                 regulator-name = "2P8V";
 17                 regulator-min-microvolt = <2800000>;
 18                 regulator-max-microvolt = <2800000>;
 19         };
 20 
 21         reg_vddl: regulator-1p2v {
 22                 compatible = "regulator-fixed";
 23                 regulator-name = "1P2V";
 24                 regulator-min-microvolt = <1200000>;
 25                 regulator-max-microvolt = <1200000>;
 26         };
 27 
 28         reg_cam: regulator-cam {
 29                 pinctrl-names = "default";
 30                 pinctrl-0 = <&pinctrl_reg_cam>;
 31                 compatible = "regulator-fixed";
 32                 regulator-name = "reg_cam";
 33                 gpio = <&gpio1 4 GPIO_ACTIVE_HIGH>;
 34                 enable-active-high;
 35                 regulator-min-microvolt = <1800000>;
 36                 regulator-max-microvolt = <1800000>;
 37         };
 38 
 39         cam24m: cam24m {
 40                 compatible = "fixed-clock";
 41                 #clock-cells = <0>;
 42                 clock-frequency = <24000000>;
 43                 clock-output-names = "cam24m";
 44         };
 45 };
 46 
 47 &i2c4 {
 48         #address-cells = <1>;
 49         #size-cells = <0>;
 50 
 51         imx219: sensor@10 {
 52                 compatible = "sony,imx219";
 53                 reg = <0x10>;
 54                 clocks = <&cam24m>;
 55                 VDIG-supply = <&reg_cam>;
 56                 VANA-supply = <&reg_vana>;
 57                 VDDL-supply = <&reg_vddl>;
 58 
 59                 port {
 60                         /* MIPI CSI-2 bus endpoint */
 61                         imx219_to_mipi_csi2: endpoint {
 62                                 remote-endpoint = <&mipi_csi_0_in>;
 63                                 clock-lanes = <0>;
 64                                 data-lanes = <1 2>;
 65                                 link-frequencies = /bits/ 64 <456000000>;
 66                         };
 67                 };
 68         };
 69 };
 70 
 71 &isi_0 {
 72         status = "okay";
 73 };
 74 
 75 &mipi_csi_0 {
 76         status = "okay";
 77 
 78         ports {
 79                 #address-cells = <1>;
 80                 #size-cells = <0>;
 81 
 82                 port@0 {
 83                         reg = <0>;
 84 
 85                         mipi_csi_0_in: endpoint {
 86                                 remote-endpoint = <&imx219_to_mipi_csi2>;
 87                                 data-lanes = <1 2>;
 88                         };
 89                 };
 90 
 91                 port@1 {
 92                         reg = <1>;
 93 
 94                         mipi_csi_0_out: endpoint {
 95                                 remote-endpoint = <&isi_in_0>;
 96                         };
 97                 };
 98         };
 99 };
100 
101 &iomuxc {
102         pinctrl_reg_cam: regcamgrp {
103                 fsl,pins = <
104                         MX8MP_IOMUXC_GPIO1_IO04__GPIO1_IO04     0x41
105                 >;
106         };
107 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php