Skip to content

Commit

Permalink
devicetree: Temporarily deactivate HDMI-B, init fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Kammacher committed Dec 1, 2016
1 parent cc93412 commit 994b649
Showing 1 changed file with 56 additions and 56 deletions.
112 changes: 56 additions & 56 deletions arch/arm64/boot/dts/tegra210-jetson-tx1-p2597-2180-a01-devkit.dts
Original file line number Diff line number Diff line change
Expand Up @@ -164,50 +164,50 @@
};

/* HDMI IN B (Full HD) */
tc358840xbg@1f {
compatible = "toshiba,tc358840xbg";
reg = <0x1f>;
status = "okay";

/* GPIO */
reset-gpios = <&gpio CAM1_RST_L GPIO_ACTIVE_LOW>;

/* Interrupt */
interrupt-parent = <&gpio>;
interrupts = <CAM1_PWDN IRQ_TYPE_LEVEL_HIGH>;

refclk_hz = <48000000>; /* 40 - 50 MHz */

ddc5v_delay = <1>; /* 50 ms */

/* HDCP */
/* TODO: Not yet implemented */
enable_hdcp = <0>;

/* CSI Output */
csi_port = <1>; /* Enable TX0 only */

lineinitcnt = <0x00000FA0>;
lptxtimecnt = <0x00000004>;
tclk_headercnt = <0x00180203>;
tclk_trailcnt = <0x00040005>;
ths_headercnt = <0x000D0004>;
twakeup = <0x00003E80>;
tclk_postcnt = <0x0000000A>;
ths_trailcnt = <0x00080006>;
hstxvregcnt = <0x00000020>;

/* PLL */
/* Bps per lane is (refclk_hz / pll_prd) * pll_fbd */
pll_prd = <10>;
pll_fbd = <125>;

port {
hdmi_in_b: endpoint {
remote-endpoint = <&csi_b>;
};
};
};
// tc358840xbg@1f {
// compatible = "toshiba,tc358840xbg";
// reg = <0x1f>;
// status = "okay";

// /* GPIO */
// reset-gpios = <&gpio CAM1_RST_L GPIO_ACTIVE_LOW>;

// /* Interrupt */
// interrupt-parent = <&gpio>;
// interrupts = <CAM1_PWDN IRQ_TYPE_LEVEL_HIGH>;

// refclk_hz = <48000000>; /* 40 - 50 MHz */

// ddc5v_delay = <1>; /* 50 ms */

// /* HDCP */
// /* TODO: Not yet implemented */
// enable_hdcp = <0>;

// /* CSI Output */
// csi_port = <1>; /* Enable TX0 only */

// lineinitcnt = <0x00000FA0>;
// lptxtimecnt = <0x00000004>;
// tclk_headercnt = <0x00180203>;
// tclk_trailcnt = <0x00040005>;
// ths_headercnt = <0x000D0004>;
// twakeup = <0x00003E80>;
// tclk_postcnt = <0x0000000A>;
// ths_trailcnt = <0x00080006>;
// hstxvregcnt = <0x00000020>;

// /* PLL */
// /* Bps per lane is (refclk_hz / pll_prd) * pll_fbd */
// pll_prd = <10>;
// pll_fbd = <125>;

// port {
// hdmi_in_b: endpoint {
// remote-endpoint = <&csi_b>;
// };
// };
// };
};
};

Expand Down Expand Up @@ -287,19 +287,19 @@
};

/* HDMI IN B */
port@2 {
reg = <2>;
// port@2 {
// reg = <2>;

#address-cells = <1>;
#size-cells = <0>;

csi_c: endpoint {
reg = <0>;
remote-endpoint = <&hdmi_in_b>;
clock-lanes = <0>;
data-lanes = <1 2 3 4>;
};
};
// #address-cells = <1>;
// #size-cells = <0>;

// csi_c: endpoint {
// reg = <0>;
// remote-endpoint = <&hdmi_in_b>;
// clock-lanes = <0>;
// data-lanes = <1 2 3 4>;
// };
// };
};
};

Expand Down

0 comments on commit 994b649

Please sign in to comment.