ARM: dts: imx6ull: Add chargebyte Tarragon support
Subsystems (2)
v6 cover ARM: dts: imx6ull: Add chargebyte Tarragon support
This series adds the support for chargebyte Tarragon, which is an Electrical Vehicle Supply Equipment (EVSE) for AC charging stations (according to IEC 61851, ISO 15118).
The Tarragon board is based on an i.MX6ULL SoC and is available in 4 variants (Master, Slave, SlaveXT, Micro), which provide more or less peripherals.
Supported features:
* 512 MB DDR RAM
* eMMC
* Debug UART
* 100 Mbit Ethernet
* USB 2.0 Host interface
* Powerline communication (QCA700x)
* 2x RS485
* Digital in- and outputs (12 V)
* One-Wire master for external temp sensors
* 2x relay outputs
* 2x motor interfaces
The Tarragon hardware is bundled with a charging stack under the name Charge Control C:
https://chargebyte.com/products/charging-station-communication/charge-control-c
This series is rebased on top of:
https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git?h=for-next
Changes in V6:
- dropped already applied ARM patches from series
- add Krzysztof's and Rob's Reviewed-by
- no functional changes
Changes in V5:
- allow child nodes in DS2482 binding as noted by Krzysztof and Rob
Changes in V4:
- introduce dedicated dt-binding for Maxim I2C to 1-W bridges
- add Krzysztof's Acked-by
Changes in V3:
- dropped already applied iio patches
- renamed pinctrl_qca700x_mains_spi to pinctrl_ecspi4
- dropped Tarragon container nodes as suggested by Shawn
- sort the pinctrl groups alphabetically also suggested by Shawn
Changes in V2:
- after fixing technical problems send patches directly from chargebyte address and drop the related signed-off-by
- add Krzysztof's Acked-by
- improve commit messages (patch 3, 4, 5)
- make iis328dq fallback to lis331dl as suggested by Jonathan
- fix order of Tarragon entries in FSL schema
- improve Tarragon led node names and drop label as suggested by Krzysztof
- change Tarragon SVNS pinctrl settings after internal discussion with chargebyte hardware team
- drop broken-cd in Tarragon common DTSI which is not necessary for eMMC
- add no-sd and no-sdio for eMMC interface of Tarragon
Stefan Wahren (2):
dt-bindings: w1: Add DS2482/DS2484 I2C to 1-W bridges
w1: ds2482: add i2c id for DS2484
.../devicetree/bindings/w1/maxim,ds2482.yaml | 44 +++++++++++++++++++ drivers/w1/masters/ds2482.c | 1 + 2 files changed, 45 insertions(+) create mode 100644 Documentation/devicetree/bindings/w1/maxim,ds2482.yaml
Signature · 1 line
2.17.1
PATCH v6 1/2 dt-bindings: w1: Add DS2482/DS2484 I2C to 1-W bridges
This adds a dedicated devicetree binding for the Maxim DS2482/DS2484 I2C to 1-W bridges, which can be extended later for further features (e.g. sleep mode control GPIO). Since one wire is a bus, child nodes needs to be allowed here.
--- .../devicetree/bindings/w1/maxim,ds2482.yaml | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/w1/maxim,ds2482.yaml
Documentation/devicetree/bindings/w1/maxim,ds2482.yaml new file +44 -0
@@ -0,0 +1,44 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/w1/maxim,ds2482.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Maxim One wire bus master controller + +maintainers: + - Stefan Wahren <[email protected]> + +description: | + I2C to 1-wire bridges + + https://www.analog.com/media/en/technical-documentation/data-sheets/ds2482-100.pdf + https://www.analog.com/media/en/technical-documentation/data-sheets/DS2482-800.pdf + https://www.analog.com/media/en/technical-documentation/data-sheets/DS2484.pdf + +properties: + compatible: + enum: + - maxim,ds2482 + - maxim,ds2484 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: + type: object + +examples: + - | + i2c { + #address-cells = <1>; + #size-cells = <0>; + onewire@18 { + compatible = "maxim,ds2484"; + reg = <0x18>; + }; + };
Signature · 1 line
2.17.1
PATCH v6 2/2 w1: ds2482: add i2c id for DS2484
In reply to Stefan WahrenThe DS2484 is compatible to the DS2482-100, but also supports a pin-controlled power-saving sleep mode.
--- drivers/w1/masters/ds2482.c | 1 + 1 file changed, 1 insertion(+)
drivers/w1/masters/ds2482.c +1 -0
@@ -545,6 +545,7 @@ static void ds2482_remove(struct i2c_client *client)*/ static const struct i2c_device_id ds2482_id[] = { {"ds2482" ,0 }, + {"ds2484" ,0 }, { } };MODULE_DEVICE_TABLE (i2c, ds2482_id);
Signature · 1 line
2.17.1