* [PATCH v5 0/2] Support for Axentia TSE-850 @ 2017-01-10 8:08 Peter Rosin [not found] ` <1484035732-31635-1-git-send-email-peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org> 0 siblings, 1 reply; 9+ messages in thread From: Peter Rosin @ 2017-01-10 8:08 UTC (permalink / raw) To: linux-kernel-u79uwXL29TY76Z2rM5mHXA Cc: Peter Rosin, Rob Herring, Mark Rutland, Russell King, Nicolas Ferre, Alexandre Belloni, Jean-Christophe Plagniol-Villard, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA Hi! changes v4 -> v5 - comment from Rob about the memory node made me look closer and the memory size is actually updated by the bootloader, and that hid the fact that the entry was always faulty. This version specifies the correct memory size from the start, which is 64MB. - ack from Rob changes v3 -> v4 - rename files arch/arm/boot/dts/axentia-* to .../at91-* - remove bootargs from at91-tse850-3.dts - depend on the atmel ssc to register as a sound dai by itself - bump copyright years changes v2 -> v3 - document the new compatible strings prefixed with "axentia,". changes v1 -> v2 - squash the fixup into the correct patch, sorry for the noise. After finally having all essintial drivers upstreamed I would like to have the dts and the defconfig also upstreamed. The atmel-ssc/sound-dai change depends on a change that has been sitting in the ASoC tree since mid-december, and I have been waiting for it to hit linux-next before sending this, but it seems to take longer than I anticipated. So, since I do not want this to in turn miss the next merge window because of that wait I therefore request that this is taken now even though it doesn't really work w/o the ASoC "topic/atmel" branch as of 2016-12-15 [1]. It of course builds cleanly even w/o those ASoC changes. That effectively means that noone besides me should notice the inconsistency (I currently have all affected devices under my control). Cheers, peda [1] http://git.kernel.org/cgit/linux/kernel/git/broonie/sound.git/log/?h=topic/atmel Peter Rosin (2): ARM: dts: at91: add devicetree for the Axentia TSE-850 ARM: sama5_defconfig: add support for the Axentia TSE-850 board Documentation/devicetree/bindings/arm/axentia.txt | 19 ++ MAINTAINERS | 8 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/at91-linea.dtsi | 53 +++++ arch/arm/boot/dts/at91-tse850-3.dts | 274 ++++++++++++++++++++++ arch/arm/configs/sama5_defconfig | 7 +- 6 files changed, 361 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/arm/axentia.txt create mode 100644 arch/arm/boot/dts/at91-linea.dtsi create mode 100644 arch/arm/boot/dts/at91-tse850-3.dts -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <1484035732-31635-1-git-send-email-peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org>]
* [PATCH v5 1/2] ARM: dts: at91: add devicetree for the Axentia TSE-850 [not found] ` <1484035732-31635-1-git-send-email-peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org> @ 2017-01-10 8:08 ` Peter Rosin [not found] ` <1484035732-31635-2-git-send-email-peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org> 2017-01-10 8:08 ` [PATCH v5 2/2] ARM: sama5_defconfig: add support for the Axentia TSE-850 board Peter Rosin 1 sibling, 1 reply; 9+ messages in thread From: Peter Rosin @ 2017-01-10 8:08 UTC (permalink / raw) To: linux-kernel-u79uwXL29TY76Z2rM5mHXA Cc: Peter Rosin, Rob Herring, Mark Rutland, Russell King, Nicolas Ferre, Alexandre Belloni, Jean-Christophe Plagniol-Villard, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> Signed-off-by: Peter Rosin <peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org> --- Documentation/devicetree/bindings/arm/axentia.txt | 19 ++ MAINTAINERS | 8 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/at91-linea.dtsi | 53 +++++ arch/arm/boot/dts/at91-tse850-3.dts | 274 ++++++++++++++++++++++ 5 files changed, 355 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/axentia.txt create mode 100644 arch/arm/boot/dts/at91-linea.dtsi create mode 100644 arch/arm/boot/dts/at91-tse850-3.dts diff --git a/Documentation/devicetree/bindings/arm/axentia.txt b/Documentation/devicetree/bindings/arm/axentia.txt new file mode 100644 index 000000000000..ea3fb96ae465 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/axentia.txt @@ -0,0 +1,19 @@ +Device tree bindings for Axentia ARM devices +============================================ + +Linea CPU module +---------------- + +Required root node properties: +compatible = "axentia,linea", + "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5"; +and following the rules from atmel-at91.txt for a sama5d31 SoC. + + +TSE-850 v3 board +---------------- + +Required root node properties: +compatible = "axentia,tse850v3", "axentia,linea", + "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5"; +and following the rules from above for the axentia,linea CPU module. diff --git a/MAINTAINERS b/MAINTAINERS index 97b78cc5aa51..5c2ea6e9cd7f 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2346,6 +2346,14 @@ S: Maintained F: Documentation/devicetree/bindings/sound/axentia,* F: sound/soc/atmel/tse850-pcm5142.c +AXENTIA ARM DEVICES +M: Peter Rosin <peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org> +L: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org (moderated for non-subscribers) +S: Maintained +F: Documentation/devicetree/bindings/arm/axentia.txt +F: arch/arm/boot/dts/at91-linea.dtsi +F: arch/arm/boot/dts/at91-tse850-3.dts + AZ6007 DVB DRIVER M: Mauro Carvalho Chehab <mchehab-JsYNTwtnfakRB7SZvlqPiA@public.gmane.org> M: Mauro Carvalho Chehab <mchehab-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 9a7375c388a8..7632849866de 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -48,6 +48,7 @@ dtb-$(CONFIG_SOC_SAM_V7) += \ at91-kizbox2.dtb \ at91-sama5d2_xplained.dtb \ at91-sama5d3_xplained.dtb \ + at91-tse850-3.dtb \ sama5d31ek.dtb \ sama5d33ek.dtb \ sama5d34ek.dtb \ diff --git a/arch/arm/boot/dts/at91-linea.dtsi b/arch/arm/boot/dts/at91-linea.dtsi new file mode 100644 index 000000000000..646feb0daa81 --- /dev/null +++ b/arch/arm/boot/dts/at91-linea.dtsi @@ -0,0 +1,53 @@ +/* + * at91-linea.dtsi - Device Tree Include file for the Axentia Linea Module. + * + * Copyright (C) 2017 Axentia Technologies AB + * + * Author: Peter Rosin <peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org> + * + * Licensed under GPLv2 or later. + */ + +#include "sama5d31.dtsi" + +/ { + compatible = "axentia,linea", + "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5"; + + memory { + reg = <0x20000000 0x4000000>; + }; +}; + +&slow_xtal { + clock-frequency = <32768>; +}; + +&main_xtal { + clock-frequency = <12000000>; +}; + +&main { + clock-frequency = <12000000>; +}; + +&i2c0 { + status = "okay"; + + eeprom@51 { + compatible = "st,24c64"; + reg = <0x51>; + pagesize = <32>; + }; +}; + +&nand0 { + status = "okay"; + + nand-bus-width = <8>; + nand-ecc-mode = "hw"; + atmel,has-pmecc; + atmel,pmecc-cap = <4>; + atmel,pmecc-sector-size = <512>; + nand-on-flash-bbt; +}; diff --git a/arch/arm/boot/dts/at91-tse850-3.dts b/arch/arm/boot/dts/at91-tse850-3.dts new file mode 100644 index 000000000000..669a2c6bdefc --- /dev/null +++ b/arch/arm/boot/dts/at91-tse850-3.dts @@ -0,0 +1,274 @@ +/* + * at91-tse850-3.dts - Device Tree file for the Axentia TSE-850 3.0 board + * + * Copyright (C) 2017 Axentia Technologies AB + * + * Author: Peter Rosin <peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org> + * + * Licensed under GPLv2 or later. + */ +/dts-v1/; +#include <dt-bindings/pwm/pwm.h> +#include "at91-linea.dtsi" + +/ { + model = "Axentia TSE-850 3.0"; + compatible = "axentia,tse850v3", "axentia,linea", + "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5"; + + ahb { + apb { + pinctrl@fffff200 { + tse850 { + pinctrl_usba_vbus: usba-vbus { + atmel,pins = + <AT91_PIOC 31 + AT91_PERIPH_GPIO + AT91_PINCTRL_DEGLITCH>; + }; + }; + }; + + watchdog@fffffe40 { + status = "okay"; + }; + }; + }; + + sck: oscillator { + compatible = "fixed-clock"; + + #clock-cells = <0>; + clock-frequency = <16000000>; + clock-output-names = "sck"; + }; + + reg_3v3: regulator { + compatible = "regulator-fixed"; + + regulator-name = "3v3-supply"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + + ana: reg-ana { + compatible = "pwm-regulator"; + + regulator-name = "ANA"; + + pwms = <&pwm0 2 1000 PWM_POLARITY_INVERTED>; + pwm-dutycycle-unit = <1000>; + pwm-dutycycle-range = <100 1000>; + + regulator-min-microvolt = <2000000>; + regulator-max-microvolt = <20000000>; + regulator-ramp-delay = <1000>; + }; + + sound { + compatible = "axentia,tse850-pcm5142"; + + axentia,cpu-dai = <&ssc0>; + axentia,audio-codec = <&pcm5142>; + + axentia,add-gpios = <&pioA 8 GPIO_ACTIVE_LOW>; + axentia,loop1-gpios = <&pioA 10 GPIO_ACTIVE_LOW>; + axentia,loop2-gpios = <&pioA 11 GPIO_ACTIVE_LOW>; + + axentia,ana-supply = <&ana>; + }; + + dac: dpot-dac { + compatible = "dpot-dac"; + vref-supply = <®_3v3>; + io-channels = <&dpot 0>; + io-channel-names = "dpot"; + #io-channel-cells = <1>; + }; + + envelope-detector { + compatible = "axentia,tse850-envelope-detector"; + io-channels = <&dac 0>; + io-channel-names = "dac"; + + interrupt-parent = <&pioA>; + interrupts = <3 IRQ_TYPE_EDGE_RISING>; + interrupt-names = "comp"; + }; + + leds { + compatible = "gpio-leds"; + + ch1-red { + label = "ch-1:red"; + gpios = <&pioA 23 GPIO_ACTIVE_LOW>; + }; + ch1-green { + label = "ch-1:green"; + gpios = <&pioA 22 GPIO_ACTIVE_LOW>; + }; + ch2-red { + label = "ch-2:red"; + gpios = <&pioA 21 GPIO_ACTIVE_LOW>; + }; + ch2-green { + label = "ch-2:green"; + gpios = <&pioA 20 GPIO_ACTIVE_LOW>; + }; + data-red { + label = "data:red"; + gpios = <&pioA 19 GPIO_ACTIVE_LOW>; + }; + data-green { + label = "data:green"; + gpios = <&pioA 18 GPIO_ACTIVE_LOW>; + }; + alarm-red { + label = "alarm:red"; + gpios = <&pioA 17 GPIO_ACTIVE_LOW>; + }; + alarm-green { + label = "alarm:green"; + gpios = <&pioA 16 GPIO_ACTIVE_LOW>; + }; + }; +}; + +&nand0 { + at91bootstrap@0 { + label = "at91bootstrap"; + reg = <0x0 0x40000>; + }; + + barebox@40000 { + label = "bootloader"; + reg = <0x40000 0x60000>; + }; + + bareboxenv@c0000 { + label = "bareboxenv"; + reg = <0xc0000 0x40000>; + }; + + bareboxenv2@100000 { + label = "bareboxenv2"; + reg = <0x100000 0x40000>; + }; + + oftree@180000 { + label = "oftree"; + reg = <0x180000 0x20000>; + }; + + kernel@200000 { + label = "kernel"; + reg = <0x200000 0x500000>; + }; + + rootfs@800000 { + label = "rootfs"; + reg = <0x800000 0x0f800000>; + }; + + ovlfs@10000000 { + label = "ovlfs"; + reg = <0x10000000 0x10000000>; + }; +}; + +&ssc0 { + #sound-dai-cells = <0>; + + status = "okay"; +}; + +&i2c0 { + status = "okay"; + + jc42@18 { + compatible = "nxp,se97b", "jedec,jc-42.4-temp"; + reg = <0x18>; + }; + + dpot: mcp4651-104@28 { + compatible = "microchip,mcp4651-104"; + reg = <0x28>; + #io-channel-cells = <1>; + }; + + pcm5142: pcm5142@4c { + compatible = "ti,pcm5142"; + + reg = <0x4c>; + + AVDD-supply = <®_3v3>; + DVDD-supply = <®_3v3>; + CPVDD-supply = <®_3v3>; + + clocks = <&sck>; + + pll-in = <3>; + pll-out = <6>; + }; + + eeprom@50 { + compatible = "nxp,24c02"; + reg = <0x50>; + pagesize = <16>; + }; +}; + +&usart0 { + status = "okay"; + + atmel,use-dma-rx; +}; + +&pwm0 { + status = "okay"; + + pinctrl-0 = <&pinctrl_pwm0_pwml2_1>; + pinctrl-names = "default"; +}; + +&macb1 { + status = "okay"; + + phy-mode = "rgmii"; + + #address-cells = <1>; + #size-cells = <0>; + + phy0: ethernet-phy@3 { + reg = <3>; + + interrupt-parent = <&pioE>; + interrupts = <31 IRQ_TYPE_EDGE_FALLING>; + }; +}; + +&usb0 { + status = "okay"; + + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usba_vbus>; + atmel,vbus-gpio = <&pioC 31 GPIO_ACTIVE_HIGH>; +}; + +&usb1 { + status = "okay"; + + num-ports = <1>; + atmel,vbus-gpio = <&pioD 29 GPIO_ACTIVE_HIGH>; + atmel,oc-gpio = <&pioC 15 GPIO_ACTIVE_LOW>; +}; + +&usb2 { + status = "okay"; +}; + +&dbgu { + status = "okay"; + + dmas = <0>, <0>; /* Do not use DMA for dbgu */ +}; -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 9+ messages in thread
[parent not found: <1484035732-31635-2-git-send-email-peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org>]
* Re: [PATCH v5 1/2] ARM: dts: at91: add devicetree for the Axentia TSE-850 [not found] ` <1484035732-31635-2-git-send-email-peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org> @ 2017-01-10 9:29 ` Alexandre Belloni [not found] ` <20170110092928.hwd4l4k3eyagepco-m++hUPXGwpdeoWH0uzbU5w@public.gmane.org> 0 siblings, 1 reply; 9+ messages in thread From: Alexandre Belloni @ 2017-01-10 9:29 UTC (permalink / raw) To: Peter Rosin Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA, Rob Herring, Mark Rutland, Russell King, Nicolas Ferre, Jean-Christophe Plagniol-Villard, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA Hi, This needs a commit message, please add one. On 10/01/2017 at 09:08:51 +0100, Peter Rosin wrote : > Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> > Signed-off-by: Peter Rosin <peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org> > --- > Documentation/devicetree/bindings/arm/axentia.txt | 19 ++ > MAINTAINERS | 8 + > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/at91-linea.dtsi | 53 +++++ > arch/arm/boot/dts/at91-tse850-3.dts | 274 ++++++++++++++++++++++ > 5 files changed, 355 insertions(+) > create mode 100644 Documentation/devicetree/bindings/arm/axentia.txt > create mode 100644 arch/arm/boot/dts/at91-linea.dtsi > create mode 100644 arch/arm/boot/dts/at91-tse850-3.dts > > diff --git a/Documentation/devicetree/bindings/arm/axentia.txt b/Documentation/devicetree/bindings/arm/axentia.txt > new file mode 100644 > index 000000000000..ea3fb96ae465 > --- /dev/null > +++ b/Documentation/devicetree/bindings/arm/axentia.txt > @@ -0,0 +1,19 @@ > +Device tree bindings for Axentia ARM devices > +============================================ > + > +Linea CPU module > +---------------- > + > +Required root node properties: > +compatible = "axentia,linea", > + "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5"; > +and following the rules from atmel-at91.txt for a sama5d31 SoC. > + > + > +TSE-850 v3 board > +---------------- > + > +Required root node properties: > +compatible = "axentia,tse850v3", "axentia,linea", > + "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5"; > +and following the rules from above for the axentia,linea CPU module. > diff --git a/MAINTAINERS b/MAINTAINERS > index 97b78cc5aa51..5c2ea6e9cd7f 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -2346,6 +2346,14 @@ S: Maintained > F: Documentation/devicetree/bindings/sound/axentia,* > F: sound/soc/atmel/tse850-pcm5142.c > > +AXENTIA ARM DEVICES > +M: Peter Rosin <peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org> > +L: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org (moderated for non-subscribers) > +S: Maintained > +F: Documentation/devicetree/bindings/arm/axentia.txt > +F: arch/arm/boot/dts/at91-linea.dtsi > +F: arch/arm/boot/dts/at91-tse850-3.dts > + I don't think you need to add yourself to MAINTAINERS for two DTs if that is just to keep checkpatch happy, don't bother. > AZ6007 DVB DRIVERV > M: Mauro Carvalho Chehab <mchehab-JsYNTwtnfakRB7SZvlqPiA@public.gmane.org> > M: Mauro Carvalho Chehab <mchehab-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> > diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile > index 9a7375c388a8..7632849866de 100644 > --- a/arch/arm/boot/dts/Makefile > +++ b/arch/arm/boot/dts/Makefile > @@ -48,6 +48,7 @@ dtb-$(CONFIG_SOC_SAM_V7) += \ > at91-kizbox2.dtb \ > at91-sama5d2_xplained.dtb \ > at91-sama5d3_xplained.dtb \ > + at91-tse850-3.dtb \ > sama5d31ek.dtb \ > sama5d33ek.dtb \ > sama5d34ek.dtb \ > diff --git a/arch/arm/boot/dts/at91-linea.dtsi b/arch/arm/boot/dts/at91-linea.dtsi > new file mode 100644 > index 000000000000..646feb0daa81 > --- /dev/null > +++ b/arch/arm/boot/dts/at91-linea.dtsi > @@ -0,0 +1,53 @@ > +/* > + * at91-linea.dtsi - Device Tree Include file for the Axentia Linea Module. > + * > + * Copyright (C) 2017 Axentia Technologies AB > + * > + * Author: Peter Rosin <peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org> > + * > + * Licensed under GPLv2 or later. > + */ > + > +#include "sama5d31.dtsi" > + > +/ { > + compatible = "axentia,linea", > + "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5"; > + > + memory { > + reg = <0x20000000 0x4000000>; > + }; > +}; > + > +&slow_xtal { > + clock-frequency = <32768>; > +}; > + > +&main_xtal { > + clock-frequency = <12000000>; > +}; > + > +&main { > + clock-frequency = <12000000>; > +}; > + I don't think this is needed -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <20170110092928.hwd4l4k3eyagepco-m++hUPXGwpdeoWH0uzbU5w@public.gmane.org>]
* Re: [PATCH v5 1/2] ARM: dts: at91: add devicetree for the Axentia TSE-850 [not found] ` <20170110092928.hwd4l4k3eyagepco-m++hUPXGwpdeoWH0uzbU5w@public.gmane.org> @ 2017-01-10 9:52 ` Peter Rosin [not found] ` <b686fa42-bbfb-dec2-460f-ef00869bc12e-koto5C5qi+TLoDKTGw+V6w@public.gmane.org> 0 siblings, 1 reply; 9+ messages in thread From: Peter Rosin @ 2017-01-10 9:52 UTC (permalink / raw) To: Alexandre Belloni Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA, Rob Herring, Mark Rutland, Russell King, Nicolas Ferre, Jean-Christophe Plagniol-Villard, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA On 2017-01-10 10:29, Alexandre Belloni wrote: > Hi, > > This needs a commit message, please add one. There's not all that much to say, but ok, I'll add something. > On 10/01/2017 at 09:08:51 +0100, Peter Rosin wrote : >> Acked-by: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> >> Signed-off-by: Peter Rosin <peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org> >> --- >> Documentation/devicetree/bindings/arm/axentia.txt | 19 ++ >> MAINTAINERS | 8 + >> arch/arm/boot/dts/Makefile | 1 + >> arch/arm/boot/dts/at91-linea.dtsi | 53 +++++ >> arch/arm/boot/dts/at91-tse850-3.dts | 274 ++++++++++++++++++++++ >> 5 files changed, 355 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/arm/axentia.txt >> create mode 100644 arch/arm/boot/dts/at91-linea.dtsi >> create mode 100644 arch/arm/boot/dts/at91-tse850-3.dts >> >> diff --git a/Documentation/devicetree/bindings/arm/axentia.txt b/Documentation/devicetree/bindings/arm/axentia.txt >> new file mode 100644 >> index 000000000000..ea3fb96ae465 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/arm/axentia.txt >> @@ -0,0 +1,19 @@ >> +Device tree bindings for Axentia ARM devices >> +============================================ >> + >> +Linea CPU module >> +---------------- >> + >> +Required root node properties: >> +compatible = "axentia,linea", >> + "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5"; >> +and following the rules from atmel-at91.txt for a sama5d31 SoC. >> + >> + >> +TSE-850 v3 board >> +---------------- >> + >> +Required root node properties: >> +compatible = "axentia,tse850v3", "axentia,linea", >> + "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5"; >> +and following the rules from above for the axentia,linea CPU module. >> diff --git a/MAINTAINERS b/MAINTAINERS >> index 97b78cc5aa51..5c2ea6e9cd7f 100644 >> --- a/MAINTAINERS >> +++ b/MAINTAINERS >> @@ -2346,6 +2346,14 @@ S: Maintained >> F: Documentation/devicetree/bindings/sound/axentia,* >> F: sound/soc/atmel/tse850-pcm5142.c >> >> +AXENTIA ARM DEVICES >> +M: Peter Rosin <peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org> >> +L: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org (moderated for non-subscribers) >> +S: Maintained >> +F: Documentation/devicetree/bindings/arm/axentia.txt >> +F: arch/arm/boot/dts/at91-linea.dtsi >> +F: arch/arm/boot/dts/at91-tse850-3.dts >> + > > I don't think you need to add yourself to MAINTAINERS for two DTs if > that is just to keep checkpatch happy, don't bother. There's also the benefit of the increased chances of me getting notified of changes. I don't mind... >> AZ6007 DVB DRIVERV >> M: Mauro Carvalho Chehab <mchehab-JsYNTwtnfakRB7SZvlqPiA@public.gmane.org> >> M: Mauro Carvalho Chehab <mchehab-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org> >> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile >> index 9a7375c388a8..7632849866de 100644 >> --- a/arch/arm/boot/dts/Makefile >> +++ b/arch/arm/boot/dts/Makefile >> @@ -48,6 +48,7 @@ dtb-$(CONFIG_SOC_SAM_V7) += \ >> at91-kizbox2.dtb \ >> at91-sama5d2_xplained.dtb \ >> at91-sama5d3_xplained.dtb \ >> + at91-tse850-3.dtb \ >> sama5d31ek.dtb \ >> sama5d33ek.dtb \ >> sama5d34ek.dtb \ >> diff --git a/arch/arm/boot/dts/at91-linea.dtsi b/arch/arm/boot/dts/at91-linea.dtsi >> new file mode 100644 >> index 000000000000..646feb0daa81 >> --- /dev/null >> +++ b/arch/arm/boot/dts/at91-linea.dtsi >> @@ -0,0 +1,53 @@ >> +/* >> + * at91-linea.dtsi - Device Tree Include file for the Axentia Linea Module. >> + * >> + * Copyright (C) 2017 Axentia Technologies AB >> + * >> + * Author: Peter Rosin <peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org> >> + * >> + * Licensed under GPLv2 or later. >> + */ >> + >> +#include "sama5d31.dtsi" >> + >> +/ { >> + compatible = "axentia,linea", >> + "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5"; >> + >> + memory { >> + reg = <0x20000000 0x4000000>; >> + }; >> +}; >> + >> +&slow_xtal { >> + clock-frequency = <32768>; >> +}; >> + >> +&main_xtal { >> + clock-frequency = <12000000>; >> +}; >> + >> +&main { >> + clock-frequency = <12000000>; >> +}; >> + > > I don't think this is needed > > "this"? The &main frequency, or all of them? Cheers, peda -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <b686fa42-bbfb-dec2-460f-ef00869bc12e-koto5C5qi+TLoDKTGw+V6w@public.gmane.org>]
* Re: [PATCH v5 1/2] ARM: dts: at91: add devicetree for the Axentia TSE-850 [not found] ` <b686fa42-bbfb-dec2-460f-ef00869bc12e-koto5C5qi+TLoDKTGw+V6w@public.gmane.org> @ 2017-01-10 10:42 ` Alexandre Belloni [not found] ` <20170110104248.iscurq55d7n26gfd-m++hUPXGwpdeoWH0uzbU5w@public.gmane.org> 0 siblings, 1 reply; 9+ messages in thread From: Alexandre Belloni @ 2017-01-10 10:42 UTC (permalink / raw) To: Peter Rosin Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA, Rob Herring, Mark Rutland, Russell King, Nicolas Ferre, Jean-Christophe Plagniol-Villard, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA On 10/01/2017 at 10:52:56 +0100, Peter Rosin wrote : > On 2017-01-10 10:29, Alexandre Belloni wrote: > > Hi, > > > > This needs a commit message, please add one. > > There's not all that much to say, but ok, I'll add something. > It doesn't have to be long but it has to be present. > > On 10/01/2017 at 09:08:51 +0100, Peter Rosin wrote : > There's also the benefit of the increased chances of me getting > notified of changes. I don't mind... > Do you expect changes coming from third parties? I'm fine with it anyway. > >> +&main { > >> + clock-frequency = <12000000>; > >> +}; > >> + > > > > I don't think this is needed > > > > > > "this"? The &main frequency, or all of them? > I meant just main -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <20170110104248.iscurq55d7n26gfd-m++hUPXGwpdeoWH0uzbU5w@public.gmane.org>]
* Re: [PATCH v5 1/2] ARM: dts: at91: add devicetree for the Axentia TSE-850 [not found] ` <20170110104248.iscurq55d7n26gfd-m++hUPXGwpdeoWH0uzbU5w@public.gmane.org> @ 2017-01-10 11:21 ` Peter Rosin 2017-01-10 11:32 ` Alexandre Belloni 0 siblings, 1 reply; 9+ messages in thread From: Peter Rosin @ 2017-01-10 11:21 UTC (permalink / raw) To: Alexandre Belloni Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA, Rob Herring, Mark Rutland, Russell King, Nicolas Ferre, Jean-Christophe Plagniol-Villard, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA On 2017-01-10 11:42, Alexandre Belloni wrote: > On 10/01/2017 at 10:52:56 +0100, Peter Rosin wrote : >> On 2017-01-10 10:29, Alexandre Belloni wrote: >>> Hi, >>> >>> This needs a commit message, please add one. >> >> There's not all that much to say, but ok, I'll add something. >> > > It doesn't have to be long but it has to be present. Does it really? There are quite a few examples to contradict that, and checkpatch doesn't complain. That's no proof of course... As I said, I'll add something. >>> On 10/01/2017 at 09:08:51 +0100, Peter Rosin wrote : >> There's also the benefit of the increased chances of me getting >> notified of changes. I don't mind... >> > > Do you expect changes coming from third parties? I'm fine with it > anyway. Ok, I'll remember this and blame you for everything :-) >>>> +&main { >>>> + clock-frequency = <12000000>; >>>> +}; >>>> + >>> >>> I don't think this is needed >>> >>> >> >> "this"? The &main frequency, or all of them? >> > > I meant just main Ok, I'll test with that change and then resend. Thanks! Cheers, peda -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH v5 1/2] ARM: dts: at91: add devicetree for the Axentia TSE-850 2017-01-10 11:21 ` Peter Rosin @ 2017-01-10 11:32 ` Alexandre Belloni 0 siblings, 0 replies; 9+ messages in thread From: Alexandre Belloni @ 2017-01-10 11:32 UTC (permalink / raw) To: Peter Rosin Cc: linux-kernel, Rob Herring, Mark Rutland, Russell King, Nicolas Ferre, Jean-Christophe Plagniol-Villard, linux-arm-kernel, devicetree On 10/01/2017 at 12:21:42 +0100, Peter Rosin wrote : > On 2017-01-10 11:42, Alexandre Belloni wrote: > > On 10/01/2017 at 10:52:56 +0100, Peter Rosin wrote : > >> On 2017-01-10 10:29, Alexandre Belloni wrote: > >>> Hi, > >>> > >>> This needs a commit message, please add one. > >> > >> There's not all that much to say, but ok, I'll add something. > >> > > > > It doesn't have to be long but it has to be present. > > Does it really? There are quite a few examples to contradict that, > and checkpatch doesn't complain. That's no proof of course... > > As I said, I'll add something. > There is public shaming for maintainers taking patches without a commit message, that's enough for me to require a commit message ;) https://lwn.net/Articles/560392/ > >>> On 10/01/2017 at 09:08:51 +0100, Peter Rosin wrote : > >> There's also the benefit of the increased chances of me getting > >> notified of changes. I don't mind... > >> > > > > Do you expect changes coming from third parties? I'm fine with it > > anyway. > > Ok, I'll remember this and blame you for everything :-) > Well, you can let it there, I was just not sure whether you were expecting to see patches or just trying to make checkpatch happy. As said, I'm fine with it. > >>>> +&main { > >>>> + clock-frequency = <12000000>; > >>>> +}; > >>>> + > >>> > >>> I don't think this is needed > >>> > >>> > >> > >> "this"? The &main frequency, or all of them? > >> > > > > I meant just main > > Ok, I'll test with that change and then resend. Thanks! > > Cheers, > peda -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH v5 2/2] ARM: sama5_defconfig: add support for the Axentia TSE-850 board [not found] ` <1484035732-31635-1-git-send-email-peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org> 2017-01-10 8:08 ` [PATCH v5 1/2] ARM: dts: at91: add devicetree for the " Peter Rosin @ 2017-01-10 8:08 ` Peter Rosin 2017-01-10 9:10 ` Nicolas Ferre 1 sibling, 1 reply; 9+ messages in thread From: Peter Rosin @ 2017-01-10 8:08 UTC (permalink / raw) To: linux-kernel-u79uwXL29TY76Z2rM5mHXA Cc: Peter Rosin, Rob Herring, Mark Rutland, Russell King, Nicolas Ferre, Alexandre Belloni, Jean-Christophe Plagniol-Villard, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, devicetree-u79uwXL29TY76Z2rM5mHXA Signed-off-by: Peter Rosin <peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org> --- arch/arm/configs/sama5_defconfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig index aca8625b6fc9..bf5b3a73e38c 100644 --- a/arch/arm/configs/sama5_defconfig +++ b/arch/arm/configs/sama5_defconfig @@ -131,7 +131,7 @@ CONFIG_GPIO_SYSFS=y CONFIG_POWER_SUPPLY=y CONFIG_BATTERY_ACT8945A=y CONFIG_POWER_RESET=y -# CONFIG_HWMON is not set +CONFIG_SENSORS_JC42=y CONFIG_WATCHDOG=y CONFIG_AT91SAM9X_WATCHDOG=y CONFIG_SAMA5D4_WATCHDOG=y @@ -142,6 +142,7 @@ CONFIG_REGULATOR=y CONFIG_REGULATOR_FIXED_VOLTAGE=y CONFIG_REGULATOR_ACT8865=y CONFIG_REGULATOR_ACT8945A=y +CONFIG_REGULATOR_PWM=y CONFIG_MEDIA_SUPPORT=y CONFIG_MEDIA_CAMERA_SUPPORT=y CONFIG_V4L_PLATFORM_DRIVERS=y @@ -164,6 +165,7 @@ CONFIG_SND_ATMEL_SOC=y CONFIG_SND_ATMEL_SOC_WM8904=y # CONFIG_HID_GENERIC is not set CONFIG_SND_ATMEL_SOC_PDMIC=y +CONFIG_SND_ATMEL_SOC_TSE850_PCM5142=y CONFIG_USB=y CONFIG_USB_ANNOUNCE_NEW_DEVICES=y CONFIG_USB_EHCI_HCD=y @@ -199,6 +201,9 @@ CONFIG_AT_XDMAC=y CONFIG_IIO=y CONFIG_AT91_ADC=y CONFIG_AT91_SAMA5D2_ADC=y +CONFIG_ENVELOPE_DETECTOR=y +CONFIG_DPOT_DAC=y +CONFIG_MCP4531=y CONFIG_PWM=y CONFIG_PWM_ATMEL=y CONFIG_PWM_ATMEL_HLCDC_PWM=y -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html ^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH v5 2/2] ARM: sama5_defconfig: add support for the Axentia TSE-850 board 2017-01-10 8:08 ` [PATCH v5 2/2] ARM: sama5_defconfig: add support for the Axentia TSE-850 board Peter Rosin @ 2017-01-10 9:10 ` Nicolas Ferre 0 siblings, 0 replies; 9+ messages in thread From: Nicolas Ferre @ 2017-01-10 9:10 UTC (permalink / raw) To: Peter Rosin Cc: linux-kernel, Rob Herring, Mark Rutland, Russell King, Alexandre Belloni, Jean-Christophe Plagniol-Villard, linux-arm-kernel, devicetree Le 10/01/2017 à 09:08, Peter Rosin a écrit : > Signed-off-by: Peter Rosin <peda@axentia.se> I know that most of the entries in this configuration file are direct additions to the kernel but what about moving some of your additions to modules? Regards, > --- > arch/arm/configs/sama5_defconfig | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/arch/arm/configs/sama5_defconfig b/arch/arm/configs/sama5_defconfig > index aca8625b6fc9..bf5b3a73e38c 100644 > --- a/arch/arm/configs/sama5_defconfig > +++ b/arch/arm/configs/sama5_defconfig > @@ -131,7 +131,7 @@ CONFIG_GPIO_SYSFS=y > CONFIG_POWER_SUPPLY=y > CONFIG_BATTERY_ACT8945A=y > CONFIG_POWER_RESET=y > -# CONFIG_HWMON is not set > +CONFIG_SENSORS_JC42=y > CONFIG_WATCHDOG=y > CONFIG_AT91SAM9X_WATCHDOG=y > CONFIG_SAMA5D4_WATCHDOG=y > @@ -142,6 +142,7 @@ CONFIG_REGULATOR=y > CONFIG_REGULATOR_FIXED_VOLTAGE=y > CONFIG_REGULATOR_ACT8865=y > CONFIG_REGULATOR_ACT8945A=y > +CONFIG_REGULATOR_PWM=y > CONFIG_MEDIA_SUPPORT=y > CONFIG_MEDIA_CAMERA_SUPPORT=y > CONFIG_V4L_PLATFORM_DRIVERS=y > @@ -164,6 +165,7 @@ CONFIG_SND_ATMEL_SOC=y > CONFIG_SND_ATMEL_SOC_WM8904=y > # CONFIG_HID_GENERIC is not set > CONFIG_SND_ATMEL_SOC_PDMIC=y > +CONFIG_SND_ATMEL_SOC_TSE850_PCM5142=y > CONFIG_USB=y > CONFIG_USB_ANNOUNCE_NEW_DEVICES=y > CONFIG_USB_EHCI_HCD=y > @@ -199,6 +201,9 @@ CONFIG_AT_XDMAC=y > CONFIG_IIO=y > CONFIG_AT91_ADC=y > CONFIG_AT91_SAMA5D2_ADC=y > +CONFIG_ENVELOPE_DETECTOR=y > +CONFIG_DPOT_DAC=y > +CONFIG_MCP4531=y > CONFIG_PWM=y > CONFIG_PWM_ATMEL=y > CONFIG_PWM_ATMEL_HLCDC_PWM=y > -- Nicolas Ferre ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2017-01-10 11:32 UTC | newest] Thread overview: 9+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-01-10 8:08 [PATCH v5 0/2] Support for Axentia TSE-850 Peter Rosin [not found] ` <1484035732-31635-1-git-send-email-peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org> 2017-01-10 8:08 ` [PATCH v5 1/2] ARM: dts: at91: add devicetree for the " Peter Rosin [not found] ` <1484035732-31635-2-git-send-email-peda-koto5C5qi+TLoDKTGw+V6w@public.gmane.org> 2017-01-10 9:29 ` Alexandre Belloni [not found] ` <20170110092928.hwd4l4k3eyagepco-m++hUPXGwpdeoWH0uzbU5w@public.gmane.org> 2017-01-10 9:52 ` Peter Rosin [not found] ` <b686fa42-bbfb-dec2-460f-ef00869bc12e-koto5C5qi+TLoDKTGw+V6w@public.gmane.org> 2017-01-10 10:42 ` Alexandre Belloni [not found] ` <20170110104248.iscurq55d7n26gfd-m++hUPXGwpdeoWH0uzbU5w@public.gmane.org> 2017-01-10 11:21 ` Peter Rosin 2017-01-10 11:32 ` Alexandre Belloni 2017-01-10 8:08 ` [PATCH v5 2/2] ARM: sama5_defconfig: add support for the Axentia TSE-850 board Peter Rosin 2017-01-10 9:10 ` Nicolas Ferre
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).