Re: [linux-sunxi][PATCH 2/5] arm64: allwinner: a64: Add SPDIF TX pin to the A64
On 24 January 2018 at 12:02, Chen-Yu Tsai wrote: > On Wed, Jan 24, 2018 at 7:00 PM, Maxime Ripard > wrote: >> On Wed, Jan 24, 2018 at 11:39:40AM +0100, codekip...@gmail.com wrote: >>> From: Marcus Cooper >>> >>> Add the SPDIF TX pin to the A64 dtsi. >>> >>> Signed-off-by: Marcus Cooper >>> --- >>> arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 5 + >>> 1 file changed, 5 insertions(+) >>> >>> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi >>> b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi >>> index c82979038b0b..db1694ec3ee4 100644 >>> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi >>> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi >>> @@ -336,6 +336,11 @@ >>> drive-strength = <40>; >>> }; >>> >>> + spdif_tx_pins_a: spdif@0 { >> >> This will generate a dtc warning, you should use a syntax similar to >> the other nodes there (ie. spdif if that's the only muxing option, or >> spdif-0). > > Furthermore, if this is the only option, you should set it as the > default in the .dtsi, so boards don't have to, and possibly squash > this patch into the first one. ACK Thanks, CK > > ChenYu -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [linux-sunxi][PATCH 2/5] arm64: allwinner: a64: Add SPDIF TX pin to the A64
On Wed, Jan 24, 2018 at 7:00 PM, Maxime Ripard wrote: > On Wed, Jan 24, 2018 at 11:39:40AM +0100, codekip...@gmail.com wrote: >> From: Marcus Cooper >> >> Add the SPDIF TX pin to the A64 dtsi. >> >> Signed-off-by: Marcus Cooper >> --- >> arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 5 + >> 1 file changed, 5 insertions(+) >> >> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi >> b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi >> index c82979038b0b..db1694ec3ee4 100644 >> --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi >> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi >> @@ -336,6 +336,11 @@ >> drive-strength = <40>; >> }; >> >> + spdif_tx_pins_a: spdif@0 { > > This will generate a dtc warning, you should use a syntax similar to > the other nodes there (ie. spdif if that's the only muxing option, or > spdif-0). Furthermore, if this is the only option, you should set it as the default in the .dtsi, so boards don't have to, and possibly squash this patch into the first one. ChenYu -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [linux-sunxi][PATCH 2/5] arm64: allwinner: a64: Add SPDIF TX pin to the A64
On Wed, Jan 24, 2018 at 11:39:40AM +0100, codekip...@gmail.com wrote: > From: Marcus Cooper > > Add the SPDIF TX pin to the A64 dtsi. > > Signed-off-by: Marcus Cooper > --- > arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > index c82979038b0b..db1694ec3ee4 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi > @@ -336,6 +336,11 @@ > drive-strength = <40>; > }; > > + spdif_tx_pins_a: spdif@0 { This will generate a dtc warning, you should use a syntax similar to the other nodes there (ie. spdif if that's the only muxing option, or spdif-0). Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. signature.asc Description: PGP signature
[linux-sunxi][PATCH 2/5] arm64: allwinner: a64: Add SPDIF TX pin to the A64
From: Marcus Cooper Add the SPDIF TX pin to the A64 dtsi. Signed-off-by: Marcus Cooper --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index c82979038b0b..db1694ec3ee4 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -336,6 +336,11 @@ drive-strength = <40>; }; + spdif_tx_pins_a: spdif@0 { + pins = "PH8"; + function = "spdif"; + }; + spi0_pins: spi0 { pins = "PC0", "PC1", "PC2", "PC3"; function = "spi0"; -- 2.16.0 -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.