* [PATCH 00/14] at91 fixes and enhancements
@ 2017-10-09 16:09 Claudiu Beznea
2017-10-09 16:09 ` [PATCH 01/15] ARM: dts: at91: sama5d27_som1_ek: add disabled status Claudiu Beznea
` (15 more replies)
0 siblings, 16 replies; 19+ messages in thread
From: Claudiu Beznea @ 2017-10-09 16:09 UTC (permalink / raw)
To: nicolas.ferre, alexandre.belloni, robh+dt, mark.rutland, linux
Cc: linux-arm-kernel, devicetree, linux-kernel, Claudiu Beznea
Hi,
This series contains fixes and enhancements for Atmel/Microchip boards,
mainly for SoM1-EK board, SAMA5D2 Xplained board and SAM9x5 boards.
Please accept them for 4.15.
Thank you,
Claudiu Beznea
Claudiu Beznea (14):
ARM: dts: at91: sama5d27_som1_ek: add disabled/okay status
ARM: dts: at91: sama5d27_som1_ek: update serial aliases
ARM: dts: at91: sama5d27_som1_ek: set USER button as a wakeup source
ARM: dts: at91: sama5d27_som1_ek: add aliases for i2c
ARM: dts: at91: sama5d27_som1_ek: add pinmuxing for pwm0
ARM: dts: at91: sama5d27_som1_ek: remove not connected CAN0
ARM: dts: at91: sama5d27_som1_ek: remove pull-up on SD/MMC lines
ARM: dts: at91: sama5d2_xplained: Add charger node of pmic.
ARM: dts: at91: sama5d2_xplained: set PB_USER as wakeup source
ARM: dts: at91: sama5d2_xplained: add pinmuxing for pwm0
ARM: dts: at91: sama5d2_xplained: remove pull-up on SD/MMC lines
ARM: dts: at91: at91sam9x25ek: add CAN1 interface
ARM: dts: at91: at91sam9x25ek: add pwm0
ARM: dts: at91: at91sam9x5ek: use DMA for USART0
arch/arm/boot/dts/at91-sama5d27_som1_ek.dts | 46 ++++++++++++++---------------
arch/arm/boot/dts/at91-sama5d2_xplained.dts | 39 ++++++++++++++++--------
arch/arm/boot/dts/at91sam9x25ek.dts | 10 +++++++
arch/arm/boot/dts/at91sam9x5ek.dtsi | 2 ++
4 files changed, 62 insertions(+), 35 deletions(-)
--
2.7.4
^ permalink raw reply [flat|nested] 19+ messages in thread
* [PATCH 01/15] ARM: dts: at91: sama5d27_som1_ek: add disabled status
2017-10-09 16:09 [PATCH 00/14] at91 fixes and enhancements Claudiu Beznea
@ 2017-10-09 16:09 ` Claudiu Beznea
2017-10-09 16:09 ` [PATCH 02/15] ARM: dts: at91: sama5d27_som1_ek: enable i2c2 Claudiu Beznea
` (14 subsequent siblings)
15 siblings, 0 replies; 19+ messages in thread
From: Claudiu Beznea @ 2017-10-09 16:09 UTC (permalink / raw)
To: nicolas.ferre, alexandre.belloni, robh+dt, mark.rutland, linux
Cc: linux-arm-kernel, devicetree, linux-kernel, Claudiu Beznea
Add disabled statuses for all devices and for those those which pins
are in conflict with other devices add a comment in the DT file to specify
this.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
arch/arm/boot/dts/at91-sama5d27_som1_ek.dts | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
index 60cb084a8d92..43bca17b9e4e 100644
--- a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
+++ b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
@@ -168,6 +168,7 @@
can0: can@f8054000 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_can0_default>;
+ status = "disabled"; /* Conflict with isc. */
};
uart3: serial@fc008000 {
@@ -175,7 +176,7 @@
atmel,use-dma-tx;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart3_default>;
- status = "disabled";
+ status = "disabled"; /* Conflict with isc. */
};
uart4: serial@fc00c000 {
@@ -199,7 +200,7 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_flx3_default>;
atmel,fifo-size = <32>;
- status = "disabled";
+ status = "disabled"; /* Conflict with isc. */
};
spi2: spi@400 {
@@ -211,7 +212,7 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_flx3_default>;
atmel,fifo-size = <16>;
- status = "disabled";
+ status = "disabled"; /* Conflict with isc. */
};
};
@@ -228,7 +229,7 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_flx4_default>;
atmel,fifo-size = <32>;
- status = "disabled";
+ status = "disabled"; /* Conflict with spi3 and i2c3. */
};
spi3: spi@400 {
@@ -240,7 +241,7 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_mikrobus_spi &pinctrl_mikrobus1_spi_cs &pinctrl_mikrobus2_spi_cs>;
atmel,fifo-size = <16>;
- status = "okay";
+ status = "okay"; /* Conflict with uart6 and i2c3. */
};
i2c3: i2c@600 {
@@ -255,7 +256,7 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_flx4_default>;
atmel,fifo-size = <16>;
- status = "disabled";
+ status = "disabled"; /* Conflict with uart6 and spi3. */
};
};
--
2.7.4
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH 02/15] ARM: dts: at91: sama5d27_som1_ek: enable i2c2
2017-10-09 16:09 [PATCH 00/14] at91 fixes and enhancements Claudiu Beznea
2017-10-09 16:09 ` [PATCH 01/15] ARM: dts: at91: sama5d27_som1_ek: add disabled status Claudiu Beznea
@ 2017-10-09 16:09 ` Claudiu Beznea
2017-10-09 16:09 ` [PATCH 03/15] ARM: dts: at91: sama5d27_som1_ek: update serial aliases Claudiu Beznea
` (13 subsequent siblings)
15 siblings, 0 replies; 19+ messages in thread
From: Claudiu Beznea @ 2017-10-09 16:09 UTC (permalink / raw)
To: nicolas.ferre, alexandre.belloni, robh+dt, mark.rutland, linux
Cc: linux-arm-kernel, devicetree, linux-kernel, Claudiu Beznea
Enable i2c.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
arch/arm/boot/dts/at91-sama5d27_som1_ek.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
index 43bca17b9e4e..03a4c77fd6ab 100644
--- a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
+++ b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
@@ -133,7 +133,7 @@
flx1: flexcom@f8038000 {
atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>;
- status = "disabled";
+ status = "okay";
i2c2: i2c@600 {
compatible = "atmel,sama5d2-i2c";
@@ -147,7 +147,7 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_mikrobus_i2c>;
atmel,fifo-size = <16>;
- status = "disabled";
+ status = "okay";
};
};
--
2.7.4
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH 03/15] ARM: dts: at91: sama5d27_som1_ek: update serial aliases
2017-10-09 16:09 [PATCH 00/14] at91 fixes and enhancements Claudiu Beznea
2017-10-09 16:09 ` [PATCH 01/15] ARM: dts: at91: sama5d27_som1_ek: add disabled status Claudiu Beznea
2017-10-09 16:09 ` [PATCH 02/15] ARM: dts: at91: sama5d27_som1_ek: enable i2c2 Claudiu Beznea
@ 2017-10-09 16:09 ` Claudiu Beznea
2017-10-09 16:09 ` [PATCH 04/15] ARM: dts: at91: sama5d27_som1_ek: set USER button as a wakeup source Claudiu Beznea
` (12 subsequent siblings)
15 siblings, 0 replies; 19+ messages in thread
From: Claudiu Beznea @ 2017-10-09 16:09 UTC (permalink / raw)
To: nicolas.ferre, alexandre.belloni, robh+dt, mark.rutland, linux
Cc: linux-arm-kernel, devicetree, linux-kernel, Claudiu Beznea,
Ludovic Desroches
Overwrite sama5d2.dtsi aliases node to match the at91-sama5d27_som1_ek
board configuration. ttyS0 stands for DBGU, ttyS1 for the mikro BUS 1
serial lines and ttyS2 for the mikro BUS 2 serial lines.
Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
[claudiu.beznea@microchip.com: change subject to match the desired prefix]
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
arch/arm/boot/dts/at91-sama5d27_som1_ek.dts | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
index 03a4c77fd6ab..b31778121c41 100644
--- a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
+++ b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
@@ -53,6 +53,12 @@
model = "Atmel SAMA5D27 SOM1 EK";
compatible = "atmel,sama5d27-som1-ek", "atmel,sama5d27-som1", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5";
+ aliases {
+ serial0 = &uart1; /* DBGU */
+ serial1 = &uart4; /* mikro BUS 1 */
+ serial2 = &uart2; /* mikro BUS 2 */
+ };
+
chosen {
stdout-path = "serial0:115200n8";
};
--
2.7.4
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH 04/15] ARM: dts: at91: sama5d27_som1_ek: set USER button as a wakeup source
2017-10-09 16:09 [PATCH 00/14] at91 fixes and enhancements Claudiu Beznea
` (2 preceding siblings ...)
2017-10-09 16:09 ` [PATCH 03/15] ARM: dts: at91: sama5d27_som1_ek: update serial aliases Claudiu Beznea
@ 2017-10-09 16:09 ` Claudiu Beznea
2017-10-09 16:09 ` [PATCH 05/15] ARM: dts: at91: sama5d27_som1_ek: add aliases for i2c Claudiu Beznea
` (11 subsequent siblings)
15 siblings, 0 replies; 19+ messages in thread
From: Claudiu Beznea @ 2017-10-09 16:09 UTC (permalink / raw)
To: nicolas.ferre, alexandre.belloni, robh+dt, mark.rutland, linux
Cc: linux-arm-kernel, devicetree, linux-kernel, Claudiu Beznea,
Ludovic Desroches
Set the USER button as a wakeup source to allow wakeup from ULP0.
Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
[claudiu.beznea@microchip.com: change subject to match the desired prefix]
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
arch/arm/boot/dts/at91-sama5d27_som1_ek.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
index b31778121c41..ac79730213f1 100644
--- a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
+++ b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
@@ -519,6 +519,7 @@
label = "USER";
gpios = <&pioA PIN_PA29 GPIO_ACTIVE_LOW>;
linux,code = <0x104>;
+ wakeup-source;
};
};
--
2.7.4
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH 05/15] ARM: dts: at91: sama5d27_som1_ek: add aliases for i2c
2017-10-09 16:09 [PATCH 00/14] at91 fixes and enhancements Claudiu Beznea
` (3 preceding siblings ...)
2017-10-09 16:09 ` [PATCH 04/15] ARM: dts: at91: sama5d27_som1_ek: set USER button as a wakeup source Claudiu Beznea
@ 2017-10-09 16:09 ` Claudiu Beznea
2017-10-09 16:09 ` [PATCH 06/15] ARM: dts: at91: sama5d27_som1_ek: add pinmuxing for pwm0 Claudiu Beznea
` (10 subsequent siblings)
15 siblings, 0 replies; 19+ messages in thread
From: Claudiu Beznea @ 2017-10-09 16:09 UTC (permalink / raw)
To: nicolas.ferre, alexandre.belloni, robh+dt, mark.rutland, linux
Cc: linux-arm-kernel, devicetree, linux-kernel, Claudiu Beznea,
Ludovic Desroches
Add aliases for i2c devices to not rely on probe order for i2c device
numbering.
Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
[claudiu.beznea@microchip.com: remove i2c0, change subject]
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
arch/arm/boot/dts/at91-sama5d27_som1_ek.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
index ac79730213f1..6c4c976a99d1 100644
--- a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
+++ b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
@@ -57,6 +57,8 @@
serial0 = &uart1; /* DBGU */
serial1 = &uart4; /* mikro BUS 1 */
serial2 = &uart2; /* mikro BUS 2 */
+ i2c1 = &i2c1;
+ i2c2 = &i2c2;
};
chosen {
--
2.7.4
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH 06/15] ARM: dts: at91: sama5d27_som1_ek: add pinmuxing for pwm0
2017-10-09 16:09 [PATCH 00/14] at91 fixes and enhancements Claudiu Beznea
` (4 preceding siblings ...)
2017-10-09 16:09 ` [PATCH 05/15] ARM: dts: at91: sama5d27_som1_ek: add aliases for i2c Claudiu Beznea
@ 2017-10-09 16:09 ` Claudiu Beznea
2017-10-09 16:09 ` [PATCH 07/15] ARM: dts: at91: sama5d27_som1_ek: remove not connected CAN0 Claudiu Beznea
` (9 subsequent siblings)
15 siblings, 0 replies; 19+ messages in thread
From: Claudiu Beznea @ 2017-10-09 16:09 UTC (permalink / raw)
To: nicolas.ferre, alexandre.belloni, robh+dt, mark.rutland, linux
Cc: devicetree, linux-kernel, linux-arm-kernel, Claudiu Beznea
Add pin muxing for pwm0 and set it as disabled since it is in conflict
with the pins for leds.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
arch/arm/boot/dts/at91-sama5d27_som1_ek.dts | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
index 6c4c976a99d1..339f4e71cf40 100644
--- a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
+++ b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
@@ -136,7 +136,9 @@
};
pwm0: pwm@f802c000 {
- status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_mikrobus1_pwm &pinctrl_mikrobus2_pwm>;
+ status = "disabled"; /* Conflict with leds. */
};
flx1: flexcom@f8038000 {
@@ -529,7 +531,7 @@
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_led_gpio_default>;
- status = "okay";
+ status = "okay"; /* Conflict with pwm0. */
red {
label = "red";
--
2.7.4
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH 07/15] ARM: dts: at91: sama5d27_som1_ek: remove not connected CAN0
2017-10-09 16:09 [PATCH 00/14] at91 fixes and enhancements Claudiu Beznea
` (5 preceding siblings ...)
2017-10-09 16:09 ` [PATCH 06/15] ARM: dts: at91: sama5d27_som1_ek: add pinmuxing for pwm0 Claudiu Beznea
@ 2017-10-09 16:09 ` Claudiu Beznea
2017-10-09 16:09 ` [PATCH 08/15] ARM: dts: at91: sama5d27_som1_ek: remove pull-up on SD/MMC lines Claudiu Beznea
` (8 subsequent siblings)
15 siblings, 0 replies; 19+ messages in thread
From: Claudiu Beznea @ 2017-10-09 16:09 UTC (permalink / raw)
To: nicolas.ferre, alexandre.belloni, robh+dt, mark.rutland, linux
Cc: linux-arm-kernel, devicetree, linux-kernel, Claudiu Beznea
CAN0 is not connected on the sama5d27_som1_ek board, so remove
it from DT.
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
[claudiu.beznea@microchip.com: change subject to match the desired prefix]
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
arch/arm/boot/dts/at91-sama5d27_som1_ek.dts | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
index 339f4e71cf40..651ed5d4defc 100644
--- a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
+++ b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
@@ -175,12 +175,6 @@
status = "okay";
};
- can0: can@f8054000 {
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_can0_default>;
- status = "disabled"; /* Conflict with isc. */
- };
-
uart3: serial@fc008000 {
atmel,use-dma-rx;
atmel,use-dma-tx;
@@ -279,12 +273,6 @@
pinctrl@fc038000 {
- pinctrl_can0_default: can0_default {
- pinmux = <PIN_PC10__CANTX0>,
- <PIN_PC11__CANRX0>;
- bias-disable;
- };
-
pinctrl_can1_default: can1_default {
pinmux = <PIN_PC26__CANTX1>,
<PIN_PC27__CANRX1>;
--
2.7.4
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH 08/15] ARM: dts: at91: sama5d27_som1_ek: remove pull-up on SD/MMC lines
2017-10-09 16:09 [PATCH 00/14] at91 fixes and enhancements Claudiu Beznea
` (6 preceding siblings ...)
2017-10-09 16:09 ` [PATCH 07/15] ARM: dts: at91: sama5d27_som1_ek: remove not connected CAN0 Claudiu Beznea
@ 2017-10-09 16:09 ` Claudiu Beznea
2017-10-09 16:09 ` [PATCH 09/15] ARM: dts: at91: sama5d2_xplained: Add charger node of pmic Claudiu Beznea
` (7 subsequent siblings)
15 siblings, 0 replies; 19+ messages in thread
From: Claudiu Beznea @ 2017-10-09 16:09 UTC (permalink / raw)
To: nicolas.ferre, alexandre.belloni, robh+dt, mark.rutland, linux
Cc: linux-arm-kernel, devicetree, linux-kernel, Claudiu Beznea
As the board have the proper pull-ups soldered on the data
and CMD lines we don't need them specified in the PADs. So remove
the "bias-pull-up" property and set "bias-disable".
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
[claudiu.beznea@microchip.com: change subject to match the desired prefix]
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
arch/arm/boot/dts/at91-sama5d27_som1_ek.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
index 651ed5d4defc..e72036fa8ddb 100644
--- a/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
+++ b/arch/arm/boot/dts/at91-sama5d27_som1_ek.dts
@@ -349,7 +349,7 @@
<PIN_PA7__SDMMC0_DAT5>,
<PIN_PA8__SDMMC0_DAT6>,
<PIN_PA9__SDMMC0_DAT7>;
- bias-pull-up;
+ bias-disable;
};
ck_cd_vddsel {
@@ -367,7 +367,7 @@
<PIN_PA19__SDMMC1_DAT1>,
<PIN_PA20__SDMMC1_DAT2>,
<PIN_PA21__SDMMC1_DAT3>;
- bias-pull-up;
+ bias-disable;
};
conf-ck_cd {
--
2.7.4
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH 09/15] ARM: dts: at91: sama5d2_xplained: Add charger node of pmic.
2017-10-09 16:09 [PATCH 00/14] at91 fixes and enhancements Claudiu Beznea
` (7 preceding siblings ...)
2017-10-09 16:09 ` [PATCH 08/15] ARM: dts: at91: sama5d27_som1_ek: remove pull-up on SD/MMC lines Claudiu Beznea
@ 2017-10-09 16:09 ` Claudiu Beznea
2017-10-10 0:39 ` Yang, Wenyou
2017-10-09 16:09 ` [PATCH 10/15] ARM: dts: at91: sama5d2_xplained: set PB_USER as wakeup source Claudiu Beznea
` (6 subsequent siblings)
15 siblings, 1 reply; 19+ messages in thread
From: Claudiu Beznea @ 2017-10-09 16:09 UTC (permalink / raw)
To: nicolas.ferre, alexandre.belloni, robh+dt, mark.rutland, linux
Cc: linux-arm-kernel, devicetree, linux-kernel, Claudiu Beznea,
Wenyou Yang
Add charger device node as a sub-device node of act8945a mfd, move
the charger's properties to this node, and use the "interrupts"
property to replace "active-semi,irq_gpios" to denote the act8945a
charger's irq.
Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
[claudiu.beznea@microchip.com: replace numbers with pin macros]
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
arch/arm/boot/dts/at91-sama5d2_xplained.dts | 23 +++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)
diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
index c7e9ccf2bc87..848ca1b025be 100644
--- a/arch/arm/boot/dts/at91-sama5d2_xplained.dts
+++ b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
@@ -160,14 +160,6 @@
compatible = "active-semi,act8945a";
reg = <0x5b>;
active-semi,vsel-high;
- active-semi,chglev-gpios = <&pioA PIN_PA12 GPIO_ACTIVE_HIGH>;
- active-semi,lbo-gpios = <&pioA PIN_PC8 GPIO_ACTIVE_LOW>;
- active-semi,irq_gpios = <&pioA PIN_PB13 GPIO_ACTIVE_LOW>;
- active-semi,input-voltage-threshold-microvolt = <6600>;
- active-semi,precondition-timeout = <40>;
- active-semi,total-timeout = <3>;
- pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_charger_chglev &pinctrl_charger_lbo &pinctrl_charger_irq>;
status = "okay";
regulators {
@@ -220,6 +212,21 @@
regulator-always-on;
};
};
+
+ charger {
+ compatible = "active-semi,act8945a-charger";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_charger_chglev &pinctrl_charger_lbo &pinctrl_charger_irq>;
+ interrupt-parent = <&pioA>;
+ interrupts = <PIN_PB13 GPIO_ACTIVE_LOW>;
+
+ active-semi,chglev-gpios = <&pioA PIN_PA12 GPIO_ACTIVE_HIGH>;
+ active-semi,lbo-gpios = <&pioA PIN_PC8 GPIO_ACTIVE_LOW>;
+ active-semi,input-voltage-threshold-microvolt = <6600>;
+ active-semi,precondition-timeout = <40>;
+ active-semi,total-timeout = <3>;
+ status = "okay";
+ };
};
};
--
2.7.4
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH 10/15] ARM: dts: at91: sama5d2_xplained: set PB_USER as wakeup source
2017-10-09 16:09 [PATCH 00/14] at91 fixes and enhancements Claudiu Beznea
` (8 preceding siblings ...)
2017-10-09 16:09 ` [PATCH 09/15] ARM: dts: at91: sama5d2_xplained: Add charger node of pmic Claudiu Beznea
@ 2017-10-09 16:09 ` Claudiu Beznea
2017-10-09 16:09 ` [PATCH 11/15] ARM: dts: at91: sama5d2_xplained: add pinmuxing for pwm0 Claudiu Beznea
` (5 subsequent siblings)
15 siblings, 0 replies; 19+ messages in thread
From: Claudiu Beznea @ 2017-10-09 16:09 UTC (permalink / raw)
To: nicolas.ferre, alexandre.belloni, robh+dt, mark.rutland, linux
Cc: linux-arm-kernel, devicetree, linux-kernel, Claudiu Beznea,
Ludovic Desroches
Set the PB_USER button as a wakeup source to resume from ulp0 mode.
Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
[claudiu.beznea@microchip.com: change subject to match the desired prefix]
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
arch/arm/boot/dts/at91-sama5d2_xplained.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
index 848ca1b025be..e04db7b74714 100644
--- a/arch/arm/boot/dts/at91-sama5d2_xplained.dts
+++ b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
@@ -529,6 +529,7 @@
label = "PB_USER";
gpios = <&pioA PIN_PB9 GPIO_ACTIVE_LOW>;
linux,code = <0x104>;
+ wakeup-source;
};
};
--
2.7.4
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH 11/15] ARM: dts: at91: sama5d2_xplained: add pinmuxing for pwm0
2017-10-09 16:09 [PATCH 00/14] at91 fixes and enhancements Claudiu Beznea
` (9 preceding siblings ...)
2017-10-09 16:09 ` [PATCH 10/15] ARM: dts: at91: sama5d2_xplained: set PB_USER as wakeup source Claudiu Beznea
@ 2017-10-09 16:09 ` Claudiu Beznea
2017-10-09 16:09 ` [PATCH 12/15] ARM: dts: at91: sama5d2_xplained: remove pull-up on SD/MMC lines Claudiu Beznea
` (4 subsequent siblings)
15 siblings, 0 replies; 19+ messages in thread
From: Claudiu Beznea @ 2017-10-09 16:09 UTC (permalink / raw)
To: nicolas.ferre, alexandre.belloni, robh+dt, mark.rutland, linux
Cc: linux-arm-kernel, devicetree, linux-kernel, Claudiu Beznea
Add pin muxing for pwm0 and set it as disabled since it is in conflict
with pins for leds.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
arch/arm/boot/dts/at91-sama5d2_xplained.dts | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
index e04db7b74714..82777747cc72 100644
--- a/arch/arm/boot/dts/at91-sama5d2_xplained.dts
+++ b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
@@ -231,7 +231,9 @@
};
pwm0: pwm@f802c000 {
- status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_pwm0_pwm2_default>;
+ status = "disabled"; /* conflict with leds */
};
flx0: flexcom@f8034000 {
@@ -501,6 +503,11 @@
bias-disable;
};
+ pinctrl_pwm0_pwm2_default: pwm0_pwm2_default {
+ pinmux = <PIN_PB5__PWMH2>,
+ <PIN_PB6__PWML2>;
+ bias-pull-up;
+ };
};
classd: classd@fc048000 {
@@ -537,7 +544,7 @@
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_led_gpio_default>;
- status = "okay";
+ status = "okay"; /* conflict with pwm0 */
red {
label = "red";
--
2.7.4
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH 12/15] ARM: dts: at91: sama5d2_xplained: remove pull-up on SD/MMC lines
2017-10-09 16:09 [PATCH 00/14] at91 fixes and enhancements Claudiu Beznea
` (10 preceding siblings ...)
2017-10-09 16:09 ` [PATCH 11/15] ARM: dts: at91: sama5d2_xplained: add pinmuxing for pwm0 Claudiu Beznea
@ 2017-10-09 16:09 ` Claudiu Beznea
2017-10-09 16:09 ` [PATCH 13/15] ARM: dts: at91: at91sam9x25ek: add CAN1 interface Claudiu Beznea
` (3 subsequent siblings)
15 siblings, 0 replies; 19+ messages in thread
From: Claudiu Beznea @ 2017-10-09 16:09 UTC (permalink / raw)
To: nicolas.ferre, alexandre.belloni, robh+dt, mark.rutland, linux
Cc: linux-arm-kernel, devicetree, linux-kernel, Claudiu Beznea
As the board have the proper pull-ups soldered on the data and CMD
lines we don't need them specified in the PADs. So remove the
"bias-pull-up" property and set "bias-disable".
This will also save some power.
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
[claudiu.beznea@microchip.com: change subject to match the desired prefix]
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
arch/arm/boot/dts/at91-sama5d2_xplained.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
index 82777747cc72..cd53c0a33591 100644
--- a/arch/arm/boot/dts/at91-sama5d2_xplained.dts
+++ b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
@@ -444,7 +444,7 @@
<PIN_PA7__SDMMC0_DAT5>,
<PIN_PA8__SDMMC0_DAT6>,
<PIN_PA9__SDMMC0_DAT7>;
- bias-pull-up;
+ bias-disable;
};
ck_cd_rstn_vddsel {
@@ -463,7 +463,7 @@
<PIN_PA19__SDMMC1_DAT1>,
<PIN_PA20__SDMMC1_DAT2>,
<PIN_PA21__SDMMC1_DAT3>;
- bias-pull-up;
+ bias-disable;
};
conf-ck_cd {
--
2.7.4
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH 13/15] ARM: dts: at91: at91sam9x25ek: add CAN1 interface
2017-10-09 16:09 [PATCH 00/14] at91 fixes and enhancements Claudiu Beznea
` (11 preceding siblings ...)
2017-10-09 16:09 ` [PATCH 12/15] ARM: dts: at91: sama5d2_xplained: remove pull-up on SD/MMC lines Claudiu Beznea
@ 2017-10-09 16:09 ` Claudiu Beznea
2017-10-09 16:09 ` [PATCH 14/15] ARM: dts: at91: at91sam9x25ek: add pwm0 Claudiu Beznea
` (2 subsequent siblings)
15 siblings, 0 replies; 19+ messages in thread
From: Claudiu Beznea @ 2017-10-09 16:09 UTC (permalink / raw)
To: nicolas.ferre, alexandre.belloni, robh+dt, mark.rutland, linux
Cc: linux-arm-kernel, devicetree, linux-kernel, Claudiu Beznea
As the CAN1 interface is not multiplexed with other peripherals on this
board, enable it so that it can be tested more easily.
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
arch/arm/boot/dts/at91sam9x25ek.dts | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x25ek.dts b/arch/arm/boot/dts/at91sam9x25ek.dts
index 494864836e83..f8360fb23107 100644
--- a/arch/arm/boot/dts/at91sam9x25ek.dts
+++ b/arch/arm/boot/dts/at91sam9x25ek.dts
@@ -16,6 +16,10 @@
ahb {
apb {
+ can1: can@f8004000 {
+ status = "okay";
+ };
+
macb0: ethernet@f802c000 {
phy-mode = "rmii";
status = "okay";
--
2.7.4
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH 14/15] ARM: dts: at91: at91sam9x25ek: add pwm0
2017-10-09 16:09 [PATCH 00/14] at91 fixes and enhancements Claudiu Beznea
` (12 preceding siblings ...)
2017-10-09 16:09 ` [PATCH 13/15] ARM: dts: at91: at91sam9x25ek: add CAN1 interface Claudiu Beznea
@ 2017-10-09 16:09 ` Claudiu Beznea
2017-10-09 16:09 ` [PATCH 15/15] ARM: dts: at91: at91sam9x5ek: use DMA for USART0 Claudiu Beznea
[not found] ` <1507565377-1545-1-git-send-email-claudiu.beznea-UWL1GkI3JZL3oGB3hsPCZA@public.gmane.org>
15 siblings, 0 replies; 19+ messages in thread
From: Claudiu Beznea @ 2017-10-09 16:09 UTC (permalink / raw)
To: nicolas.ferre, alexandre.belloni, robh+dt, mark.rutland, linux
Cc: linux-arm-kernel, devicetree, linux-kernel, Claudiu Beznea
Add the PWM0 interface and one output of channel 0 (on PC10) on this headless
board. The output conflicts with LCD and ISI, so only enable it for this
particular board of the series (ISI is enabled on at91sam9g25ek, as an example
but we can do the other way around).
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
arch/arm/boot/dts/at91sam9x25ek.dts | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x25ek.dts b/arch/arm/boot/dts/at91sam9x25ek.dts
index f8360fb23107..f705a3165656 100644
--- a/arch/arm/boot/dts/at91sam9x25ek.dts
+++ b/arch/arm/boot/dts/at91sam9x25ek.dts
@@ -29,6 +29,12 @@
phy-mode = "rmii";
status = "okay";
};
+
+ pwm0: pwm@f8034000 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_pwm0_pwm0_1>;
+ status = "okay";
+ };
};
};
};
--
2.7.4
^ permalink raw reply related [flat|nested] 19+ messages in thread
* [PATCH 15/15] ARM: dts: at91: at91sam9x5ek: use DMA for USART0
2017-10-09 16:09 [PATCH 00/14] at91 fixes and enhancements Claudiu Beznea
` (13 preceding siblings ...)
2017-10-09 16:09 ` [PATCH 14/15] ARM: dts: at91: at91sam9x25ek: add pwm0 Claudiu Beznea
@ 2017-10-09 16:09 ` Claudiu Beznea
[not found] ` <1507565377-1545-1-git-send-email-claudiu.beznea-UWL1GkI3JZL3oGB3hsPCZA@public.gmane.org>
15 siblings, 0 replies; 19+ messages in thread
From: Claudiu Beznea @ 2017-10-09 16:09 UTC (permalink / raw)
To: nicolas.ferre, alexandre.belloni, robh+dt, mark.rutland, linux
Cc: linux-arm-kernel, devicetree, linux-kernel, Claudiu Beznea
Use DMA for USART0 (which is used as ttyS1) as we have enough channels and to
show how to specify DMA use with serial nodes.
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
arch/arm/boot/dts/at91sam9x5ek.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot/dts/at91sam9x5ek.dtsi
index 9d2bbc41a7b0..a85eb51e6aa8 100644
--- a/arch/arm/boot/dts/at91sam9x5ek.dtsi
+++ b/arch/arm/boot/dts/at91sam9x5ek.dtsi
@@ -50,6 +50,8 @@
};
usart0: serial@f801c000 {
+ atmel,use-dma-rx;
+ atmel,use-dma-tx;
status = "okay";
};
--
2.7.4
^ permalink raw reply related [flat|nested] 19+ messages in thread
* Re: [PATCH 09/15] ARM: dts: at91: sama5d2_xplained: Add charger node of pmic.
2017-10-09 16:09 ` [PATCH 09/15] ARM: dts: at91: sama5d2_xplained: Add charger node of pmic Claudiu Beznea
@ 2017-10-10 0:39 ` Yang, Wenyou
2017-10-10 10:09 ` m18063
0 siblings, 1 reply; 19+ messages in thread
From: Yang, Wenyou @ 2017-10-10 0:39 UTC (permalink / raw)
To: Claudiu Beznea, nicolas.ferre, alexandre.belloni, robh+dt,
mark.rutland, linux
Cc: linux-arm-kernel, devicetree, linux-kernel, Wenyou Yang
Hi Claudiu,
On 2017/10/10 0:09, Claudiu Beznea wrote:
> Add charger device node as a sub-device node of act8945a mfd, move
> the charger's properties to this node, and use the "interrupts"
> property to replace "active-semi,irq_gpios" to denote the act8945a
> charger's irq.
>
> Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
> [claudiu.beznea@microchip.com: replace numbers with pin macros]
> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
This patch has already applied on at91-dt branch.
https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git/commit/?h=at91-dt&id=4b6ad41f267b8ddabf5dd1b02a318bc74f0b95e9
> ---
> arch/arm/boot/dts/at91-sama5d2_xplained.dts | 23 +++++++++++++++--------
> 1 file changed, 15 insertions(+), 8 deletions(-)
>
> diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
> index c7e9ccf2bc87..848ca1b025be 100644
> --- a/arch/arm/boot/dts/at91-sama5d2_xplained.dts
> +++ b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
> @@ -160,14 +160,6 @@
> compatible = "active-semi,act8945a";
> reg = <0x5b>;
> active-semi,vsel-high;
> - active-semi,chglev-gpios = <&pioA PIN_PA12 GPIO_ACTIVE_HIGH>;
> - active-semi,lbo-gpios = <&pioA PIN_PC8 GPIO_ACTIVE_LOW>;
> - active-semi,irq_gpios = <&pioA PIN_PB13 GPIO_ACTIVE_LOW>;
> - active-semi,input-voltage-threshold-microvolt = <6600>;
> - active-semi,precondition-timeout = <40>;
> - active-semi,total-timeout = <3>;
> - pinctrl-names = "default";
> - pinctrl-0 = <&pinctrl_charger_chglev &pinctrl_charger_lbo &pinctrl_charger_irq>;
> status = "okay";
>
> regulators {
> @@ -220,6 +212,21 @@
> regulator-always-on;
> };
> };
> +
> + charger {
> + compatible = "active-semi,act8945a-charger";
> + pinctrl-names = "default";
> + pinctrl-0 = <&pinctrl_charger_chglev &pinctrl_charger_lbo &pinctrl_charger_irq>;
> + interrupt-parent = <&pioA>;
> + interrupts = <PIN_PB13 GPIO_ACTIVE_LOW>;
> +
> + active-semi,chglev-gpios = <&pioA PIN_PA12 GPIO_ACTIVE_HIGH>;
> + active-semi,lbo-gpios = <&pioA PIN_PC8 GPIO_ACTIVE_LOW>;
> + active-semi,input-voltage-threshold-microvolt = <6600>;
> + active-semi,precondition-timeout = <40>;
> + active-semi,total-timeout = <3>;
> + status = "okay";
> + };
> };
> };
>
Best Regards,
Wenyou Yang
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [PATCH 00/14] at91 fixes and enhancements
[not found] ` <1507565377-1545-1-git-send-email-claudiu.beznea-UWL1GkI3JZL3oGB3hsPCZA@public.gmane.org>
@ 2017-10-10 9:30 ` m18063
0 siblings, 0 replies; 19+ messages in thread
From: m18063 @ 2017-10-10 9:30 UTC (permalink / raw)
To: nicolas.ferre-UWL1GkI3JZL3oGB3hsPCZA,
alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A, mark.rutland-5wv7dgnIgG8,
linux-I+IVW8TIWO2tmTQ+vhA3Yw
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA
Please ignore this series since I did some mistakes.
I will send version 2.
Thank you,
Claudiu
On 09.10.2017 19:09, Claudiu Beznea wrote:
> Hi,
>
> This series contains fixes and enhancements for Atmel/Microchip boards,
> mainly for SoM1-EK board, SAMA5D2 Xplained board and SAM9x5 boards.
> Please accept them for 4.15.
>
> Thank you,
> Claudiu Beznea
>
> Claudiu Beznea (14):
> ARM: dts: at91: sama5d27_som1_ek: add disabled/okay status
> ARM: dts: at91: sama5d27_som1_ek: update serial aliases
> ARM: dts: at91: sama5d27_som1_ek: set USER button as a wakeup source
> ARM: dts: at91: sama5d27_som1_ek: add aliases for i2c
> ARM: dts: at91: sama5d27_som1_ek: add pinmuxing for pwm0
> ARM: dts: at91: sama5d27_som1_ek: remove not connected CAN0
> ARM: dts: at91: sama5d27_som1_ek: remove pull-up on SD/MMC lines
> ARM: dts: at91: sama5d2_xplained: Add charger node of pmic.
> ARM: dts: at91: sama5d2_xplained: set PB_USER as wakeup source
> ARM: dts: at91: sama5d2_xplained: add pinmuxing for pwm0
> ARM: dts: at91: sama5d2_xplained: remove pull-up on SD/MMC lines
> ARM: dts: at91: at91sam9x25ek: add CAN1 interface
> ARM: dts: at91: at91sam9x25ek: add pwm0
> ARM: dts: at91: at91sam9x5ek: use DMA for USART0
>
> arch/arm/boot/dts/at91-sama5d27_som1_ek.dts | 46 ++++++++++++++---------------
> arch/arm/boot/dts/at91-sama5d2_xplained.dts | 39 ++++++++++++++++--------
> arch/arm/boot/dts/at91sam9x25ek.dts | 10 +++++++
> arch/arm/boot/dts/at91sam9x5ek.dtsi | 2 ++
> 4 files changed, 62 insertions(+), 35 deletions(-)
>
--
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] 19+ messages in thread
* Re: [PATCH 09/15] ARM: dts: at91: sama5d2_xplained: Add charger node of pmic.
2017-10-10 0:39 ` Yang, Wenyou
@ 2017-10-10 10:09 ` m18063
0 siblings, 0 replies; 19+ messages in thread
From: m18063 @ 2017-10-10 10:09 UTC (permalink / raw)
To: Yang, Wenyou, nicolas.ferre, alexandre.belloni, robh+dt,
mark.rutland, linux
Cc: linux-arm-kernel, devicetree, linux-kernel, Wenyou Yang
Hi Wenyou,
On 10.10.2017 03:39, Yang, Wenyou wrote:
> Hi Claudiu,
>
>
> On 2017/10/10 0:09, Claudiu Beznea wrote:
>> Add charger device node as a sub-device node of act8945a mfd, move
>> the charger's properties to this node, and use the "interrupts"
>> property to replace "active-semi,irq_gpios" to denote the act8945a
>> charger's irq.
>>
>> Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
>> [claudiu.beznea@microchip.com: replace numbers with pin macros]
>> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
> This patch has already applied on at91-dt branch.
> https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git/commit/?h=at91-dt&id=4b6ad41f267b8ddabf5dd1b02a318bc74f0b95e9
>
Thanks, I will remove it from v2.
>> ---
>> arch/arm/boot/dts/at91-sama5d2_xplained.dts | 23 +++++++++++++++--------
>> 1 file changed, 15 insertions(+), 8 deletions(-)
>>
>> diff --git a/arch/arm/boot/dts/at91-sama5d2_xplained.dts b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
>> index c7e9ccf2bc87..848ca1b025be 100644
>> --- a/arch/arm/boot/dts/at91-sama5d2_xplained.dts
>> +++ b/arch/arm/boot/dts/at91-sama5d2_xplained.dts
>> @@ -160,14 +160,6 @@
>> compatible = "active-semi,act8945a";
>> reg = <0x5b>;
>> active-semi,vsel-high;
>> - active-semi,chglev-gpios = <&pioA PIN_PA12 GPIO_ACTIVE_HIGH>;
>> - active-semi,lbo-gpios = <&pioA PIN_PC8 GPIO_ACTIVE_LOW>;
>> - active-semi,irq_gpios = <&pioA PIN_PB13 GPIO_ACTIVE_LOW>;
>> - active-semi,input-voltage-threshold-microvolt = <6600>;
>> - active-semi,precondition-timeout = <40>;
>> - active-semi,total-timeout = <3>;
>> - pinctrl-names = "default";
>> - pinctrl-0 = <&pinctrl_charger_chglev &pinctrl_charger_lbo &pinctrl_charger_irq>;
>> status = "okay";
>> regulators {
>> @@ -220,6 +212,21 @@
>> regulator-always-on;
>> };
>> };
>> +
>> + charger {
>> + compatible = "active-semi,act8945a-charger";
>> + pinctrl-names = "default";
>> + pinctrl-0 = <&pinctrl_charger_chglev &pinctrl_charger_lbo &pinctrl_charger_irq>;
>> + interrupt-parent = <&pioA>;
>> + interrupts = <PIN_PB13 GPIO_ACTIVE_LOW>;
>> +
>> + active-semi,chglev-gpios = <&pioA PIN_PA12 GPIO_ACTIVE_HIGH>;
>> + active-semi,lbo-gpios = <&pioA PIN_PC8 GPIO_ACTIVE_LOW>;
>> + active-semi,input-voltage-threshold-microvolt = <6600>;
>> + active-semi,precondition-timeout = <40>;
>> + active-semi,total-timeout = <3>;
>> + status = "okay";
>> + };
>> };
>> };
>>
>
> Best Regards,
> Wenyou Yang
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2017-10-10 10:09 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-09 16:09 [PATCH 00/14] at91 fixes and enhancements Claudiu Beznea
2017-10-09 16:09 ` [PATCH 01/15] ARM: dts: at91: sama5d27_som1_ek: add disabled status Claudiu Beznea
2017-10-09 16:09 ` [PATCH 02/15] ARM: dts: at91: sama5d27_som1_ek: enable i2c2 Claudiu Beznea
2017-10-09 16:09 ` [PATCH 03/15] ARM: dts: at91: sama5d27_som1_ek: update serial aliases Claudiu Beznea
2017-10-09 16:09 ` [PATCH 04/15] ARM: dts: at91: sama5d27_som1_ek: set USER button as a wakeup source Claudiu Beznea
2017-10-09 16:09 ` [PATCH 05/15] ARM: dts: at91: sama5d27_som1_ek: add aliases for i2c Claudiu Beznea
2017-10-09 16:09 ` [PATCH 06/15] ARM: dts: at91: sama5d27_som1_ek: add pinmuxing for pwm0 Claudiu Beznea
2017-10-09 16:09 ` [PATCH 07/15] ARM: dts: at91: sama5d27_som1_ek: remove not connected CAN0 Claudiu Beznea
2017-10-09 16:09 ` [PATCH 08/15] ARM: dts: at91: sama5d27_som1_ek: remove pull-up on SD/MMC lines Claudiu Beznea
2017-10-09 16:09 ` [PATCH 09/15] ARM: dts: at91: sama5d2_xplained: Add charger node of pmic Claudiu Beznea
2017-10-10 0:39 ` Yang, Wenyou
2017-10-10 10:09 ` m18063
2017-10-09 16:09 ` [PATCH 10/15] ARM: dts: at91: sama5d2_xplained: set PB_USER as wakeup source Claudiu Beznea
2017-10-09 16:09 ` [PATCH 11/15] ARM: dts: at91: sama5d2_xplained: add pinmuxing for pwm0 Claudiu Beznea
2017-10-09 16:09 ` [PATCH 12/15] ARM: dts: at91: sama5d2_xplained: remove pull-up on SD/MMC lines Claudiu Beznea
2017-10-09 16:09 ` [PATCH 13/15] ARM: dts: at91: at91sam9x25ek: add CAN1 interface Claudiu Beznea
2017-10-09 16:09 ` [PATCH 14/15] ARM: dts: at91: at91sam9x25ek: add pwm0 Claudiu Beznea
2017-10-09 16:09 ` [PATCH 15/15] ARM: dts: at91: at91sam9x5ek: use DMA for USART0 Claudiu Beznea
[not found] ` <1507565377-1545-1-git-send-email-claudiu.beznea-UWL1GkI3JZL3oGB3hsPCZA@public.gmane.org>
2017-10-10 9:30 ` [PATCH 00/14] at91 fixes and enhancements m18063
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).