Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1559894 > unrolled thread
| Started by | Enric Balletbo i Serra <enric.balletbo@collabora.com> |
|---|---|
| First post | 2017-01-16 18:00 +0100 |
| Last post | 2017-01-20 19:40 +0100 |
| Articles | 8 — 3 participants |
Back to article view | Back to linux.kernel
[PATCH 0/6] ARM: dts: am335x-sl50: Update to new hardware Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2017-01-16 18:00 +0100
[PATCH 4/6] ARM: dts: am335x-sl50: Enable BQ32000 Real Time Clock. Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2017-01-16 18:00 +0100
[PATCH 2/6] ARM: dts: am335x-sl50: Enable UART1. Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2017-01-16 18:00 +0100
[PATCH 1/6] ARM: dts: am335x-sl50: Remove I2C1 node. Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2017-01-16 18:00 +0100
[PATCH 6/6] ARM: dts: am335x-sl50: Enable the Ambient Light Sensor. Enric Balletbo i Serra <enric.balletbo@collabora.com> - 2017-01-16 18:00 +0100
Re: [PATCH 0/6] ARM: dts: am335x-sl50: Update to new hardware Tony Lindgren <tony@atomide.com> - 2017-01-16 18:50 +0100
Re: [PATCH 0/6] ARM: dts: am335x-sl50: Update to new hardware Enric Balletbo Serra <eballetbo@gmail.com> - 2017-01-16 22:00 +0100
Re: [PATCH 0/6] ARM: dts: am335x-sl50: Update to new hardware Tony Lindgren <tony@atomide.com> - 2017-01-20 19:40 +0100
| From | Enric Balletbo i Serra <enric.balletbo@collabora.com> |
|---|---|
| Date | 2017-01-16 18:00 +0100 |
| Subject | [PATCH 0/6] ARM: dts: am335x-sl50: Update to new hardware |
| Message-ID | <t0iNr-34Q-3@gated-at.bofh.it> |
Hi Tony, The following patches updates the device tree file for the SL50 device, there are few v1 boards and IMHO doesn't make sense to maintain the device tree for these old devices, so mostly of the updates are related to changes done in the next hardware revision v2 (the one that will go out). Best regards, Enric Balletbo i Serra (6): ARM: dts: am335x-sl50: Remove I2C1 node. ARM: dts: am335x-sl50: Enable UART1. ARM: dts: am335x-sl50: Enable SPI0 interface and Flash Memory. ARM: dts: am335x-sl50: Enable BQ32000 Real Time Clock. ARM: dts: am335x-sl50: Enable the MCP23017 GPIO Expander. ARM: dts: am335x-sl50: Enable the Ambient Light Sensor. arch/arm/boot/dts/am335x-sl50.dts | 70 ++++++++++++++++++++++++++++++++------- 1 file changed, 58 insertions(+), 12 deletions(-) -- 2.9.3
[toc] | [next] | [standalone]
| From | Enric Balletbo i Serra <enric.balletbo@collabora.com> |
|---|---|
| Date | 2017-01-16 18:00 +0100 |
| Subject | [PATCH 4/6] ARM: dts: am335x-sl50: Enable BQ32000 Real Time Clock. |
| Message-ID | <t0iNr-34Q-17@gated-at.bofh.it> |
| In reply to | #1559894 |
Add support for the BQ32000 Real Time Clock connected to the I2C bus
and disable the AM335x Real Time Clock.
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
---
arch/arm/boot/dts/am335x-sl50.dts | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/arch/arm/boot/dts/am335x-sl50.dts b/arch/arm/boot/dts/am335x-sl50.dts
index 6f32078..fddef18 100644
--- a/arch/arm/boot/dts/am335x-sl50.dts
+++ b/arch/arm/boot/dts/am335x-sl50.dts
@@ -302,10 +302,18 @@
reg = <0x24>;
};
+ bq32000: rtc@68 {
+ compatible = "ti,bq32000";
+ trickle-resistor-ohms = <1120>;
+ reg = <0x68>;
+ };
+
eeprom: eeprom@50 {
compatible = "at,24c256";
reg = <0x50>;
};
+
+
};
&i2c2 {
@@ -327,6 +335,10 @@
};
};
+&rtc {
+ status = "disabled";
+};
+
&usb {
status = "okay";
};
--
2.9.3
[toc] | [prev] | [next] | [standalone]
| From | Enric Balletbo i Serra <enric.balletbo@collabora.com> |
|---|---|
| Date | 2017-01-16 18:00 +0100 |
| Subject | [PATCH 2/6] ARM: dts: am335x-sl50: Enable UART1. |
| Message-ID | <t0iNr-34Q-21@gated-at.bofh.it> |
| In reply to | #1559894 |
The UART1 is connected to the infrared (IR) receiver module, so enable it
to be able to comunicate with it.
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
---
arch/arm/boot/dts/am335x-sl50.dts | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/am335x-sl50.dts b/arch/arm/boot/dts/am335x-sl50.dts
index 34f4900..89ddf26 100644
--- a/arch/arm/boot/dts/am335x-sl50.dts
+++ b/arch/arm/boot/dts/am335x-sl50.dts
@@ -136,6 +136,13 @@
>;
};
+ uart1_pins: pinmux_uart1_pins {
+ pinctrl-single,pins = <
+ AM33XX_IOPAD(0x980, PIN_INPUT_PULLUP | MUX_MODE0) /* uart1_rxd.uart1_rxd */
+ AM33XX_IOPAD(0x984, PIN_OUTPUT_PULLDOWN | MUX_MODE0) /* uart1_txd.uart1_txd */
+ >;
+ };
+
uart4_pins: pinmux_uart4_pins {
pinctrl-single,pins = <
AM33XX_IOPAD(0x870, PIN_INPUT_PULLUP | MUX_MODE6) /* gpmc_wait0.uart4_rxd */
@@ -381,6 +388,12 @@
pinctrl-0 = <&uart0_pins>;
};
+&uart1 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&uart1_pins>;
+};
+
&uart4 {
status = "okay";
pinctrl-names = "default";
--
2.9.3
[toc] | [prev] | [next] | [standalone]
| From | Enric Balletbo i Serra <enric.balletbo@collabora.com> |
|---|---|
| Date | 2017-01-16 18:00 +0100 |
| Subject | [PATCH 1/6] ARM: dts: am335x-sl50: Remove I2C1 node. |
| Message-ID | <t0iNs-34Q-37@gated-at.bofh.it> |
| In reply to | #1559894 |
I2C1 is not used so remove it in order to avoid conflicts.
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
---
arch/arm/boot/dts/am335x-sl50.dts | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/arch/arm/boot/dts/am335x-sl50.dts b/arch/arm/boot/dts/am335x-sl50.dts
index b0dfa6f..34f4900 100644
--- a/arch/arm/boot/dts/am335x-sl50.dts
+++ b/arch/arm/boot/dts/am335x-sl50.dts
@@ -150,13 +150,6 @@
>;
};
- i2c1_pins: pinmux_i2c1_pins {
- pinctrl-single,pins = <
- AM33XX_IOPAD(0x980, PIN_INPUT_PULLUP | MUX_MODE3) /* uart1_rxd.i2c1_sda */
- AM33XX_IOPAD(0x984, PIN_INPUT_PULLUP | MUX_MODE3) /* uart1_txdi2c1_scl */
- >;
- };
-
i2c2_pins: pinmux_i2c2_pins {
pinctrl-single,pins = <
AM33XX_IOPAD(0x978, PIN_INPUT_PULLUP | MUX_MODE3) /* uart1_ctsn.i2c2_sda */
@@ -298,12 +291,6 @@
};
};
-&i2c1 {
- status = "okay";
- pinctrl-names = "default";
- pinctrl-0 = <&i2c1_pins>;
-};
-
&i2c2 {
status = "okay";
pinctrl-names = "default";
--
2.9.3
[toc] | [prev] | [next] | [standalone]
| From | Enric Balletbo i Serra <enric.balletbo@collabora.com> |
|---|---|
| Date | 2017-01-16 18:00 +0100 |
| Subject | [PATCH 6/6] ARM: dts: am335x-sl50: Enable the Ambient Light Sensor. |
| Message-ID | <t0iNs-34Q-31@gated-at.bofh.it> |
| In reply to | #1559894 |
Add support for the ISL29023 ALS connected via the I2C bus.
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
---
arch/arm/boot/dts/am335x-sl50.dts | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/am335x-sl50.dts b/arch/arm/boot/dts/am335x-sl50.dts
index 010c99e..c5d2589 100644
--- a/arch/arm/boot/dts/am335x-sl50.dts
+++ b/arch/arm/boot/dts/am335x-sl50.dts
@@ -337,6 +337,12 @@
DRVDD-supply = <&ldo4_reg>;
DVDD-supply = <&ldo3_reg>;
};
+
+ /* Ambient Light Sensor */
+ als: isl29023@44 {
+ compatible = "isil,isl29023";
+ reg = <0x44>;
+ };
};
&rtc {
--
2.9.3
[toc] | [prev] | [next] | [standalone]
| From | Tony Lindgren <tony@atomide.com> |
|---|---|
| Date | 2017-01-16 18:50 +0100 |
| Message-ID | <t0jzR-3Dn-27@gated-at.bofh.it> |
| In reply to | #1559894 |
* Enric Balletbo i Serra <enric.balletbo@collabora.com> [170116 08:58]: > Hi Tony, > > The following patches updates the device tree file for the SL50 device, there > are few v1 boards and IMHO doesn't make sense to maintain the device tree > for these old devices, so mostly of the updates are related to changes done in > the next hardware revision v2 (the one that will go out). This is only if the v1 boards are company internal and can be easily replaced. As long as that's the case I'm fine with that. Regards, Tony
[toc] | [prev] | [next] | [standalone]
| From | Enric Balletbo Serra <eballetbo@gmail.com> |
|---|---|
| Date | 2017-01-16 22:00 +0100 |
| Message-ID | <t0mxI-5SC-15@gated-at.bofh.it> |
| In reply to | #1559947 |
Hi Tony, 2017-01-16 18:41 GMT+01:00 Tony Lindgren <tony@atomide.com>: > * Enric Balletbo i Serra <enric.balletbo@collabora.com> [170116 08:58]: >> Hi Tony, >> >> The following patches updates the device tree file for the SL50 device, there >> are few v1 boards and IMHO doesn't make sense to maintain the device tree >> for these old devices, so mostly of the updates are related to changes done in >> the next hardware revision v2 (the one that will go out). > > This is only if the v1 boards are company internal and can be easily > replaced. As long as that's the case I'm fine with that. > Yes thats the case, I don't expect see v1 board outside. Regards, Enric > Regards, > > Tony > -- > To unsubscribe from this list: send the line "unsubscribe linux-omap" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html
[toc] | [prev] | [next] | [standalone]
| From | Tony Lindgren <tony@atomide.com> |
|---|---|
| Date | 2017-01-20 19:40 +0100 |
| Message-ID | <t1Mgq-2k8-27@gated-at.bofh.it> |
| In reply to | #1560054 |
* Enric Balletbo Serra <eballetbo@gmail.com> [170116 12:54]: > Hi Tony, > > 2017-01-16 18:41 GMT+01:00 Tony Lindgren <tony@atomide.com>: > > * Enric Balletbo i Serra <enric.balletbo@collabora.com> [170116 08:58]: > >> Hi Tony, > >> > >> The following patches updates the device tree file for the SL50 device, there > >> are few v1 boards and IMHO doesn't make sense to maintain the device tree > >> for these old devices, so mostly of the updates are related to changes done in > >> the next hardware revision v2 (the one that will go out). > > > > This is only if the v1 boards are company internal and can be easily > > replaced. As long as that's the case I'm fine with that. > > > > Yes thats the case, I don't expect see v1 board outside. OK applying all into omap-for-v4.11/dt thanks. Tony
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web