diff for duplicates of <20180927171627.7svkvflamxrmjgve@flea> diff --git a/a/1.txt b/N1/1.txt index 163c915..3a0b166 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,74 +1,73 @@ On Thu, Sep 27, 2018 at 05:18:49PM +0530, Jagan Teki wrote: > The A64 has a MIPI-DSI block which is similar to A31 > without mod clock. ->=20 +> > So, add dsi node with A64 compatible, dphy node with > A31 compatible and finally connect dsi to tcon0 to > make proper DSI pipeline. ->=20 +> > Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> > --- > arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 44 +++++++++++++++++++ > 1 file changed, 44 insertions(+) ->=20 -> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/b= -oot/dts/allwinner/sun50i-a64.dtsi +> +> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > index f3a66f888205..308eedc53150 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > @@ -320,6 +320,11 @@ -> #address-cells =3D <1>; -> #size-cells =3D <0>; -> reg =3D <1>; +> #address-cells = <1>; +> #size-cells = <0>; +> reg = <1>; > + > + tcon0_out_dsi: endpoint@1 { -> + reg =3D <1>; -> + remote-endpoint =3D <&dsi_in_tcon0>; +> + reg = <1>; +> + remote-endpoint = <&dsi_in_tcon0>; > + }; > }; > }; > }; > @@ -818,6 +823,45 @@ -> #interrupt-cells =3D <3>; +> #interrupt-cells = <3>; > }; -> =20 +> > + > + dsi: dsi@1ca0000 { -> + compatible =3D "allwinner,sun50i-a64-mipi-dsi"; -> + reg =3D <0x01ca0000 0x1000>; -> + interrupts =3D <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; -> + clocks =3D <&ccu CLK_BUS_MIPI_DSI>; -> + clock-names =3D "bus"; -> + resets =3D <&ccu RST_BUS_MIPI_DSI>; -> + phys =3D <&dphy>; -> + phy-names =3D "dphy"; -> + status =3D "disabled"; +> + compatible = "allwinner,sun50i-a64-mipi-dsi"; +> + reg = <0x01ca0000 0x1000>; +> + interrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; +> + clocks = <&ccu CLK_BUS_MIPI_DSI>; +> + clock-names = "bus"; +> + resets = <&ccu RST_BUS_MIPI_DSI>; +> + phys = <&dphy>; +> + phy-names = "dphy"; +> + status = "disabled"; > + > + ports { -> + #address-cells =3D <1>; -> + #size-cells =3D <0>; +> + #address-cells = <1>; +> + #size-cells = <0>; > + > + port@0 { -> + #address-cells =3D <1>; -> + #size-cells =3D <0>; -> + reg =3D <0>; +> + #address-cells = <1>; +> + #size-cells = <0>; +> + reg = <0>; > + > + dsi_in_tcon0: endpoint { -> + remote-endpoint =3D <&tcon0_out_dsi>; +> + remote-endpoint = <&tcon0_out_dsi>; > + }; > + }; > + }; > + }; > + > + dphy: d-phy@1ca1000 { -> + compatible =3D "allwinner,sun6i-a31-mipi-dphy"; +> + compatible = "allwinner,sun6i-a31-mipi-dphy"; You should add an A64 compatible there. Thanks! Maxime ---=20 +-- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com diff --git a/a/content_digest b/N1/content_digest index b4334e6..2b6d49c 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -27,76 +27,75 @@ "On Thu, Sep 27, 2018 at 05:18:49PM +0530, Jagan Teki wrote:\n" "> The A64 has a MIPI-DSI block which is similar to A31\n" "> without mod clock.\n" - ">=20\n" + "> \n" "> So, add dsi node with A64 compatible, dphy node with\n" "> A31 compatible and finally connect dsi to tcon0 to\n" "> make proper DSI pipeline.\n" - ">=20\n" + "> \n" "> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>\n" "> ---\n" "> arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 44 +++++++++++++++++++\n" "> 1 file changed, 44 insertions(+)\n" - ">=20\n" - "> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/b=\n" - "oot/dts/allwinner/sun50i-a64.dtsi\n" + "> \n" + "> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi\n" "> index f3a66f888205..308eedc53150 100644\n" "> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi\n" "> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi\n" "> @@ -320,6 +320,11 @@\n" - "> \t\t\t\t\t#address-cells =3D <1>;\n" - "> \t\t\t\t\t#size-cells =3D <0>;\n" - "> \t\t\t\t\treg =3D <1>;\n" + "> \t\t\t\t\t#address-cells = <1>;\n" + "> \t\t\t\t\t#size-cells = <0>;\n" + "> \t\t\t\t\treg = <1>;\n" "> +\n" "> +\t\t\t\t\ttcon0_out_dsi: endpoint@1 {\n" - "> +\t\t\t\t\t\treg =3D <1>;\n" - "> +\t\t\t\t\t\tremote-endpoint =3D <&dsi_in_tcon0>;\n" + "> +\t\t\t\t\t\treg = <1>;\n" + "> +\t\t\t\t\t\tremote-endpoint = <&dsi_in_tcon0>;\n" "> +\t\t\t\t\t};\n" "> \t\t\t\t};\n" "> \t\t\t};\n" "> \t\t};\n" "> @@ -818,6 +823,45 @@\n" - "> \t\t\t#interrupt-cells =3D <3>;\n" + "> \t\t\t#interrupt-cells = <3>;\n" "> \t\t};\n" - "> =20\n" + "> \n" "> +\n" "> +\t\tdsi: dsi@1ca0000 {\n" - "> +\t\t\tcompatible =3D \"allwinner,sun50i-a64-mipi-dsi\";\n" - "> +\t\t\treg =3D <0x01ca0000 0x1000>;\n" - "> +\t\t\tinterrupts =3D <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;\n" - "> +\t\t\tclocks =3D <&ccu CLK_BUS_MIPI_DSI>;\n" - "> +\t\t\tclock-names =3D \"bus\";\n" - "> +\t\t\tresets =3D <&ccu RST_BUS_MIPI_DSI>;\n" - "> +\t\t\tphys =3D <&dphy>;\n" - "> +\t\t\tphy-names =3D \"dphy\";\n" - "> +\t\t\tstatus =3D \"disabled\";\n" + "> +\t\t\tcompatible = \"allwinner,sun50i-a64-mipi-dsi\";\n" + "> +\t\t\treg = <0x01ca0000 0x1000>;\n" + "> +\t\t\tinterrupts = <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>;\n" + "> +\t\t\tclocks = <&ccu CLK_BUS_MIPI_DSI>;\n" + "> +\t\t\tclock-names = \"bus\";\n" + "> +\t\t\tresets = <&ccu RST_BUS_MIPI_DSI>;\n" + "> +\t\t\tphys = <&dphy>;\n" + "> +\t\t\tphy-names = \"dphy\";\n" + "> +\t\t\tstatus = \"disabled\";\n" "> +\n" "> +\t\t\tports {\n" - "> +\t\t\t\t#address-cells =3D <1>;\n" - "> +\t\t\t\t#size-cells =3D <0>;\n" + "> +\t\t\t\t#address-cells = <1>;\n" + "> +\t\t\t\t#size-cells = <0>;\n" "> +\n" "> +\t\t\t\tport@0 {\n" - "> +\t\t\t\t\t#address-cells =3D <1>;\n" - "> +\t\t\t\t\t#size-cells =3D <0>;\n" - "> +\t\t\t\t\treg =3D <0>;\n" + "> +\t\t\t\t\t#address-cells = <1>;\n" + "> +\t\t\t\t\t#size-cells = <0>;\n" + "> +\t\t\t\t\treg = <0>;\n" "> +\n" "> +\t\t\t\t\tdsi_in_tcon0: endpoint {\n" - "> +\t\t\t\t\t\tremote-endpoint =3D <&tcon0_out_dsi>;\n" + "> +\t\t\t\t\t\tremote-endpoint = <&tcon0_out_dsi>;\n" "> +\t\t\t\t\t};\n" "> +\t\t\t\t};\n" "> +\t\t\t};\n" "> +\t\t};\n" "> +\n" "> +\t\tdphy: d-phy@1ca1000 {\n" - "> +\t\t\tcompatible =3D \"allwinner,sun6i-a31-mipi-dphy\";\n" + "> +\t\t\tcompatible = \"allwinner,sun6i-a31-mipi-dphy\";\n" "\n" "You should add an A64 compatible there.\n" "\n" "Thanks!\n" "Maxime\n" "\n" - "--=20\n" + "-- \n" "Maxime Ripard, Bootlin\n" "Embedded Linux and Kernel engineering\n" https://bootlin.com -519c943d2c78e96c229368b865ed87e9916aa0b02102cb2de67c24cf26ec0e6b +a1219ede04605de6485720d76b77dafc99b1f24dc963a7605dcb327e7069ab42
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox