Re: [PATCH 0/4] RFC: USB C extcon patchset for the tps6598x

2020-09-22 Thread Angus Ainslie
Hi Heikki, On 2020-09-21 07:37, Heikki Krogerus wrote: On Mon, Sep 14, 2020 at 09:46:35AM -0700, Angus Ainslie wrote: We have a complex set of hardware components to manage our USB C data and power. For these to work together we decided to use extcon to communicate the system changes

Re: [PATCH 2/4] usb: typec: tps6589x: register as an extcon provider

2020-09-15 Thread Angus Ainslie
Hi, On 2020-09-14 18:19, Chanwoo Choi wrote: Hi, On 9/15/20 1:46 AM, Angus Ainslie wrote: The tps6598x type C chip can negotiate the VBUS sink/source status as well as the VBUS voltage and current. Notify the extcon consumers of these changes. Signed-off-by: Angus Ainslie --- drivers/usb

Re: [PATCH 1/4] extcon: Add USB VBUS properties

2020-09-15 Thread Angus Ainslie
Hi, On 2020-09-14 18:40, Chanwoo Choi wrote: Hi, On 9/15/20 1:46 AM, Angus Ainslie wrote: USB type C, USB BC1.2 and USB power delivery allow different voltages and currents for VBUS so we need these additional properties. Also USB type C allows separate device and power roles so add a VBUS

[PATCH 4/4] usb: typec: tps6598x: Add the power delivery irq

2020-09-14 Thread Angus Ainslie
Enable the PD irq and decode the contract. Signed-off-by: Angus Ainslie --- drivers/usb/typec/tps6598x.c | 386 --- 1 file changed, 360 insertions(+), 26 deletions(-) diff --git a/drivers/usb/typec/tps6598x.c b/drivers/usb/typec/tps6598x.c index d5aa58c9da0a

[PATCH 0/4] RFC: USB C extcon patchset for the tps6598x

2020-09-14 Thread Angus Ainslie
way to use extcon there will be follow on patches to the BQ25895 and dwc3 drivers. Strictly speaking only the first 3 patches are needed for extcon support, the forth patch decodes the power delivery contracts which makes use of the extcon system. Angus Ainslie (4): extcon: Add USB VBUS

[PATCH 2/4] usb: typec: tps6589x: register as an extcon provider

2020-09-14 Thread Angus Ainslie
The tps6598x type C chip can negotiate the VBUS sink/source status as well as the VBUS voltage and current. Notify the extcon consumers of these changes. Signed-off-by: Angus Ainslie --- drivers/usb/typec/tps6598x.c | 138 +++ 1 file changed, 138 insertions

[PATCH 3/4] usb: typec: tps6598x: Add the extcon USB chargers

2020-09-14 Thread Angus Ainslie
Notify extcon devcies that the charge current has changed Signed-off-by: Angus Ainslie --- drivers/usb/typec/tps6598x.c | 24 +++- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/drivers/usb/typec/tps6598x.c b/drivers/usb/typec/tps6598x.c index 3b06d43c810d

[PATCH 1/4] extcon: Add USB VBUS properties

2020-09-14 Thread Angus Ainslie
USB type C, USB BC1.2 and USB power delivery allow different voltages and currents for VBUS so we need these additional properties. Also USB type C allows separate device and power roles so add a VBUS SRC property. Signed-off-by: Angus Ainslie --- include/linux/extcon.h | 17

Re: [PATCH 2/2] dt-bindings: usb: ti,tps6598x: add dt binding doc

2020-05-11 Thread Angus Ainslie
Hi Rob, On 2020-05-11 08:26, Rob Herring wrote: On Wed, 6 May 2020 12:17:18 -0700, Angus Ainslie wrote: Document the tps6598x driver Signed-off-by: Angus Ainslie --- .../devicetree/bindings/usb/ti,tps6598x.yaml | 75 +++ 1 file changed, 75 insertions(+) create mode

Re: [PATCH v2 0/2] Add TI tps6598x DT binding and probe

2020-05-08 Thread Angus Ainslie
On 2020-05-08 07:47, Bryan O'Donoghue wrote: On 08/05/2020 15:22, Angus Ainslie wrote: Hi, On 2020-05-08 07:01, Heikki Krogerus wrote: Angus, is it OK if we use these patches instead the ones from you? Yeah these ones will work great for what we need. Sorry Bryan I didn't realize

Re: [PATCH v2 0/2] Add TI tps6598x DT binding and probe

2020-05-08 Thread Angus Ainslie
Hi, On 2020-05-08 07:01, Heikki Krogerus wrote: Hi, On Thu, May 07, 2020 at 10:47:31PM +0100, Bryan O'Donoghue wrote: V2: - Put myself down as sole schema maintainer as suggested - Andy - Fixed whitespace typo - Andy - Removed ifdef and of_match_ptr() - Andy V1: This simple series adds DT

[PATCH 1/2] usb: typec: tps6598x: add device tree hooks

2020-05-06 Thread Angus Ainslie
Add a compatible string for the devicetree. Signed-off-by: Angus Ainslie --- drivers/usb/typec/tps6598x.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/usb/typec/tps6598x.c b/drivers/usb/typec/tps6598x.c index f661d8722ee0..2e71a35cc9d8 100644 --- a/drivers/usb/typec

[PATCH 0/2] tps6598x: add device tree hooks and document

2020-05-06 Thread Angus Ainslie
Add device tree compatible string for tps6598x driver and create the dt binding doc for the driver Angus Ainslie (2): usb: typec: tps6598x: add device tree hooks dt-bindings: usb: ti,tps6598x: add dt binding doc .../devicetree/bindings/usb/ti,tps6598x.yaml | 75

[PATCH 2/2] dt-bindings: usb: ti,tps6598x: add dt binding doc

2020-05-06 Thread Angus Ainslie
Document the tps6598x driver Signed-off-by: Angus Ainslie --- .../devicetree/bindings/usb/ti,tps6598x.yaml | 75 +++ 1 file changed, 75 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/ti,tps6598x.yaml diff --git a/Documentation/devicetree/bindings/usb

Re: [PATCH v3] arm64: dts: imx8mq: Init rates and parents configs for clocks

2019-07-28 Thread Angus Ainslie
nit below Tested-by: Angus Ainslie (Purism) --- Changes since v2: - set rate for audio_pll1/audio_pll2 in the dtsi file and remove the setting from imx8mq-librem5-devkit.dts .../dts/freescale/imx8mq-librem5-devkit.dts | 5 - arch/arm64/boot/dts/freescale/imx8mq.dtsi

[PATCH] power: supply: bq25890_charger: Add the BQ25895 part

2019-07-05 Thread Angus Ainslie (Purism)
The BQ25895 is almost identical to the BQ25890. Signed-off-by: Angus Ainslie (Purism) --- drivers/power/supply/bq25890_charger.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/power/supply/bq25890_charger.c b/drivers/power/supply/bq25890_charger.c

Re: [PATCH v3] arm64: dts: imx8mq: Add sai3 and sai6 nodes

2019-07-03 Thread Angus Ainslie
Hi Daniel, On 2019-07-03 07:25, Daniel Baluta wrote: On Wed, Jul 3, 2019 at 4:12 PM Angus Ainslie wrote: Hi Daniel, On 2019-07-03 07:10, Daniel Baluta wrote: > On Wed, Jul 3, 2019 at 4:01 PM Angus Ainslie wrote: >> >> Hi Andra, >> >> I tried this out on

Re: [PATCH v3] arm64: dts: imx8mq: Add sai3 and sai6 nodes

2019-07-03 Thread Angus Ainslie
Hi Daniel, On 2019-07-03 07:10, Daniel Baluta wrote: On Wed, Jul 3, 2019 at 4:01 PM Angus Ainslie wrote: Hi Andra, I tried this out on linux-next and I'm not able to record or play sound. I also added the sai2 entry to test out our devkit and get a PCM timeout with that. Hi Angus

Re: [PATCH v3] arm64: dts: imx8mq: Add sai3 and sai6 nodes

2019-07-03 Thread Angus Ainslie
Hi Andra, I tried this out on linux-next and I'm not able to record or play sound. I also added the sai2 entry to test out our devkit and get a PCM timeout with that. On 2019-07-02 07:23, Andra Danciu wrote: SAI3 and SAI6 nodes are used to connect to an external codec. They have 1 Tx and 1

Re: [PATCH 2/2] arm64: dts: imx8mq-librem5: Enable MIPI D-PHY

2019-06-28 Thread Angus Ainslie
On 2019-06-25 02:27, Guido Günther wrote: This enables the Mixel MIPI D-PHY on the Librem 5 devkit Signed-off-by: Guido Günther Acked-by: Angus Ainslie (Purism) --- arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm64

Re: [PATCH 1/2] arm64: dts: imx8mq: Add MIPI D-PHY

2019-06-28 Thread Angus Ainslie
On 2019-06-25 02:27, Guido Günther wrote: Add a node for the Mixel MIPI D-PHY, "disabled" by default. Signed-off-by: Guido Günther Acked-by: Angus Ainslie (Purism) --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/

[PATCH] arm64: dts: fsl: librem5: enable the SNVS power key

2019-06-20 Thread Angus Ainslie (Purism)
Enable the snvs power key. Signed-off-by: Angus Ainslie (Purism) --- arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts

[PATCH] arm64: dts: fsl: librem5: Limit the USB to 5V

2019-06-20 Thread Angus Ainslie (Purism)
The charge controller can handle 14V but the PTC on the devkit can only handle 6V so limit the negotiated voltage to 5V. Signed-off-by: Angus Ainslie (Purism) --- arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch

Re: [PATCH v16 0/3] Add support for the Purism Librem5 devkit

2019-06-18 Thread Angus Ainslie
On 2019-06-18 07:20, Shawn Guo wrote: On Mon, Jun 17, 2019 at 07:52:12AM -0600, Angus Ainslie (Purism) wrote: Angus Ainslie (Purism) (3): arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit dt-bindings: Add an entry for Purism SPC dt-bindings: arm: fsl: Add the imx8mq

[PATCH v16 2/3] dt-bindings: Add an entry for Purism SPC

2019-06-17 Thread Angus Ainslie (Purism)
Add an entry for Purism, SPC Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree

[PATCH v16 0/3] Add support for the Purism Librem5 devkit

2019-06-17 Thread Angus Ainslie (Purism)
since v1: Dropped config file. Updated the board compatible label. Changed node names to follow naming conventions. Added a more complete regulator hierachy. Removed unused nodes. Removed unknown devices. Fixed comment style. Dropped undocumented properties. Angus Ainslie (Purism) (3): arm64: d

[PATCH v16 3/3] dt-bindings: arm: fsl: Add the imx8mq boards

2019-06-17 Thread Angus Ainslie (Purism)
Add an entry for imx8mq based boards Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings

[PATCH v16 1/3] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit

2019-06-17 Thread Angus Ainslie (Purism)
- gyro - magnetometer - touchscreen - pwm - backlight - haptic motor Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Fabio Estevam --- arch/arm64/boot/dts/freescale/Makefile| 1 + .../dts/freescale/imx8mq-librem5-devkit.dts | 806 ++ 2 files changed, 807 insertions

Re: [PATCH v15 0/3] Add support for the Purism Librem5 devkit

2019-06-12 Thread Angus Ainslie
Hi Pavel, On 2019-06-10 07:52, Pavel Machek wrote: On Wed 2019-06-05 06:48:05, Angus Ainslie wrote: On 2019-06-05 03:03, Shawn Guo wrote: >On Tue, May 28, 2019 at 05:57:44AM -0700, Angus Ainslie (Purism) wrote: >>The Librem5 devkit is based on the imx8mq from NXP. This is

Re: [PATCH v15 0/3] Add support for the Purism Librem5 devkit

2019-06-05 Thread Angus Ainslie
On 2019-06-05 03:03, Shawn Guo wrote: On Tue, May 28, 2019 at 05:57:44AM -0700, Angus Ainslie (Purism) wrote: The Librem5 devkit is based on the imx8mq from NXP. This is a default devicetree to boot the board to a command prompt. Changes since v14: Add regulator-always-on for the SNVS

[PATCH v2] arm64: dts: fsl: imx8mq: add the snvs power key node

2019-05-28 Thread Angus Ainslie (Purism)
Add a node for the snvs power key, "disabled" by default. Signed-off-by: Angus Ainslie (Purism) --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/i

Re: [PATCH] arm64: dts: fsl: imx8mq: enable the svns power key

2019-05-28 Thread Angus Ainslie
Hi Lucas, On 2019-05-28 05:51, Lucas Stach wrote: Hi Angus, Am Dienstag, den 28.05.2019, 05:44 -0700 schrieb Angus Ainslie (Purism): Add the snvs power key. > Signed-off-by: Angus Ainslie (Purism) ---  arch/arm64/boot/dts/freescale/imx8mq.dtsi | 9 +  1 file changed, 9 inserti

[PATCH v15 2/3] dt-bindings: Add an entry for Purism SPC

2019-05-28 Thread Angus Ainslie (Purism)
Add an entry for Purism, SPC Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree

[PATCH v15 3/3] dt-bindings: arm: fsl: Add the imx8mq boards

2019-05-28 Thread Angus Ainslie (Purism)
Add an entry for imx8mq based boards Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings

[PATCH v15 1/3] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit

2019-05-28 Thread Angus Ainslie (Purism)
- gyro - magnetometer - touchscreen - pwm - backlight - haptic motor Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Fabio Estevam --- arch/arm64/boot/dts/freescale/Makefile| 1 + .../dts/freescale/imx8mq-librem5-devkit.dts | 806 ++ 2 files changed, 807 insertions

[PATCH v15 0/3] Add support for the Purism Librem5 devkit

2019-05-28 Thread Angus Ainslie (Purism)
. Changed node names to follow naming conventions. Added a more complete regulator hierachy. Removed unused nodes. Removed unknown devices. Fixed comment style. Dropped undocumented properties. Angus Ainslie (Purism) (3): arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit dt-binding

[PATCH] arm64: dts: fsl: imx8mq: enable the svns power key

2019-05-28 Thread Angus Ainslie (Purism)
Add the snvs power key. Signed-off-by: Angus Ainslie (Purism) --- arch/arm64/boot/dts/freescale/imx8mq.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq.dtsi index 45d10d8efd14..5f93fd9662ae 100644

Re: [PATCH v13 2/4] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit

2019-05-24 Thread Angus Ainslie
Hi Pavel, On 2019-05-24 15:00, Angus Ainslie wrote: Hi Pavel, On 2019-05-23 12:19, Pavel Machek wrote: Hi! - LEDs - gyro - magnetometer + leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pin

Re: [PATCH v13 2/4] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit

2019-05-24 Thread Angus Ainslie
Hi Pavel, On 2019-05-23 12:19, Pavel Machek wrote: Hi! - LEDs - gyro - magnetometer + leds { + compatible = "gpio-leds"; + pinctrl-names = "default"; + pinctrl-0 = <_gpio_leds>; + + led1 { + label = "LED

[PATCH v14 3/3] dt-bindings: arm: fsl: Add the imx8mq boards

2019-05-24 Thread Angus Ainslie
From: "Angus Ainslie (Purism)" Add an entry for imx8mq based boards Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/f

[PATCH v14 1/3] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit

2019-05-24 Thread Angus Ainslie
From: "Angus Ainslie (Purism)" This is for the development kit board for the Librem 5. The current level of support yields a working console and is able to boot userspace from the network or eMMC. Additional subsystems that are active : - Both USB ports - SD card socket - WiFi us

[PATCH v14 2/3] dt-bindings: Add an entry for Purism SPC

2019-05-24 Thread Angus Ainslie
From: "Angus Ainslie (Purism)" Add an entry for Purism, SPC Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-pre

[PATCH v14 0/3] Add support for the Purism Librem5 devkit

2019-05-24 Thread Angus Ainslie
Removed unknown devices. Fixed comment style. Dropped undocumented properties. Angus Ainslie (Purism) (3): arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit dt-bindings: Add an entry for Purism SPC dt-bindings: arm: fsl: Add the imx8mq boards .../devicetree/bindin

Re: [PATCH v13 2/4] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit

2019-05-23 Thread Angus Ainslie
Hi Pavel, On 2019-05-23 12:19, Pavel Machek wrote: Hi! This is for the development kit board for the Librem 5. The current level of support yields a working console and is able to boot userspace from the network or eMMC. Additional subsystems that are active : - haptic motor Haptic

Re: [PATCH v12 1/4] MAINTAINERS: add an entry for for arm64 imx devicetrees

2019-05-22 Thread Angus Ainslie
Hi Shawn On 2019-05-22 01:30, Shawn Guo wrote: On Tue, May 14, 2019 at 06:28:19AM -0700, Angus Ainslie (Purism) wrote: Add an explicit reference to imx* devicetrees Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Fabio Estevam --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff

[PATCH 1/2] power: supply: bq25890: Add support for setting bq25890 and bq25896's VINDPM

2019-05-20 Thread Angus Ainslie (Purism)
From: Eric Kuzmenko The bq25890 has low voltage protection on VIN. Allow the register to be set from the device tree. Signed-off-by: Eric Kuzmenko Signed-off-by: Angus Ainslie (Purism) --- drivers/power/supply/bq25890_charger.c | 13 - 1 file changed, 12 insertions(+), 1 deletion

[PATCH 2/2] dt-bindings: power: supply: Add documentation for the VINDPM properties

2019-05-20 Thread Angus Ainslie (Purism)
Add documentation on how to control VINDPM from the devicetree. Signed-off-by: Angus Ainslie (Purism) --- .../devicetree/bindings/power/supply/bq25890.txt | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/power/supply/bq25890.txt b

[PATCH 0/2] Allow VINDPM to be set in the device tree

2019-05-20 Thread Angus Ainslie (Purism)
The BQ25890 can control the input voltage limit so allow it to be set. Angus Ainslie (Purism) (1): dt-bindings: power: supply: Add documentation for the VINDPM properties Eric Kuzmenko (1): power: supply: bq25890: Add support for setting bq25890 and bq25896's VINDPM .../devicetree

[PATCH v13 1/4] MAINTAINERS: add an entry for for arm64 imx devicetrees

2019-05-20 Thread Angus Ainslie (Purism)
Add an explicit reference to imx* devicetrees Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Fabio Estevam --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index a2cd3690b6b1..019c945d308d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1630,6

[PATCH v13 2/4] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit

2019-05-20 Thread Angus Ainslie (Purism)
- gyro - magnetometer - touchscreen - pwm - backlight - haptic motor Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Fabio Estevam --- arch/arm64/boot/dts/freescale/Makefile| 1 + .../dts/freescale/imx8mq-librem5-devkit.dts | 810 ++ 2 files changed, 811 insertions

[PATCH v13 3/4] dt-bindings: Add an entry for Purism SPC

2019-05-20 Thread Angus Ainslie (Purism)
Add an entry for Purism, SPC Signed-off-by: Angus Ainslie (Purism) --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml

[PATCH v13 4/4] dt-bindings: arm: fsl: Add the imx8mq boards

2019-05-20 Thread Angus Ainslie (Purism)
Add an entry for imx8mq based boards Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings

[PATCH v13 0/4] Add support for the Purism Librem5 devkit

2019-05-20 Thread Angus Ainslie (Purism)
ed node names to follow naming conventions. Added a more complete regulator hierachy. Removed unused nodes. Removed unknown devices. Fixed comment style. Dropped undocumented properties. Angus Ainslie (Purism) (4): MAINTAINERS: add an entry for for arm64 imx devicetrees arm64: dts: f

[PATCH v12 3/4] dt-bindings: Add an entry for Purism SPC

2019-05-14 Thread Angus Ainslie (Purism)
Add an entry for Purism, SPC Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings

[PATCH v12 2/4] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit

2019-05-14 Thread Angus Ainslie (Purism)
- gyro - magnetometer - touchscreen - pwm - backlight - haptic motor Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Fabio Estevam --- arch/arm64/boot/dts/freescale/Makefile| 1 + .../dts/freescale/imx8mq-librem5-devkit.dts | 821 ++ 2 files changed, 822 insertions

[PATCH v12 4/4] dt-bindings: arm: fsl: Add the imx8mq boards

2019-05-14 Thread Angus Ainslie (Purism)
Add an entry for imx8mq based boards Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings

[PATCH v12 0/4] Add support for the Purism Librem5 devkit

2019-05-14 Thread Angus Ainslie (Purism)
unused nodes. Removed unknown devices. Fixed comment style. Dropped undocumented properties. Angus Ainslie (Purism) (4): MAINTAINERS: add an entry for for arm64 imx devicetrees arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit dt-bindings: Add an entry for Purism SPC dt-bind

[PATCH v12 1/4] MAINTAINERS: add an entry for for arm64 imx devicetrees

2019-05-14 Thread Angus Ainslie (Purism)
Add an explicit reference to imx* devicetrees Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Fabio Estevam --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7707c28628b9..9fc30f82ab81 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1624,6

[PATCH v11 1/4] MAINTAINERS: add an entry for for arm63 imx devicetrees

2019-05-13 Thread Angus Ainslie (Purism)
Add an explicit reference to imx* devicetrees Signed-off-by: Angus Ainslie (Purism) --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7707c28628b9..9fc30f82ab81 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1624,6 +1624,7 @@ R:NXP Linux

[PATCH v11 4/4] dt-bindings: arm: fsl: Add the imx8mq boards

2019-05-13 Thread Angus Ainslie (Purism)
Add an entry for imx8mq based boards Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings

[PATCH v11 3/4] dt-bindings: Add an entry for Purism SPC

2019-05-13 Thread Angus Ainslie (Purism)
Add an entry for Purism, SPC Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings

[PATCH v11 2/4] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit

2019-05-13 Thread Angus Ainslie (Purism)
- gyro - magnetometer - touchscreen - pwm - backlight - haptic motor Signed-off-by: Angus Ainslie (Purism) --- arch/arm64/boot/dts/freescale/Makefile| 1 + .../dts/freescale/imx8mq-librem5-devkit.dts | 821 ++ 2 files changed, 822 insertions(+) create mode 100644 arch

[PATCH v11 0/4] Add support for the Purism Librem5 devkit

2019-05-13 Thread Angus Ainslie (Purism)
used regulator property. Fixup Makefile for linux-next. Changes since v1: Dropped config file. Updated the board compatible label. Changed node names to follow naming conventions. Added a more complete regulator hierachy. Removed unused nodes. Removed unknown devices. Fixed comment style. Dropped u

Re: [PATCH v10 1/4] MAINTAINERS: add an entry for for arm64 imx devicetrees

2019-05-13 Thread Angus Ainslie
On 2019-05-13 11:01, Fabio Estevam wrote: On Mon, May 13, 2019 at 2:41 PM Angus Ainslie (Purism) wrote: Add an explicit reference to imx* devicetrees Signed-off-by: Angus Ainslie (Purism) --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index

[PATCH v10 3/4] dt-bindings: Add an entry for Purism SPC

2019-05-13 Thread Angus Ainslie (Purism)
Add an entry for Purism, SPC Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings

[PATCH v10 1/4] MAINTAINERS: add an entry for for arm64 imx devicetrees

2019-05-13 Thread Angus Ainslie (Purism)
Add an explicit reference to imx* devicetrees Signed-off-by: Angus Ainslie (Purism) --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7707c28628b9..0871a21a5bbb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1648,6 +1648,7 @@ T:git git

[PATCH v10 0/4] Add support for the Purism Librem5 devkit

2019-05-13 Thread Angus Ainslie (Purism)
config file. Updated the board compatible label. Changed node names to follow naming conventions. Added a more complete regulator hierachy. Removed unused nodes. Removed unknown devices. Fixed comment style. Dropped undocumented properties. Angus Ainslie (Purism) (4): MAINTAINERS: add an ent

[PATCH v10 2/4] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit

2019-05-13 Thread Angus Ainslie (Purism)
- gyro - magnetometer - touchscreen - pwm - backlight - haptic motor Signed-off-by: Angus Ainslie (Purism) --- arch/arm64/boot/dts/freescale/Makefile| 1 + .../dts/freescale/imx8mq-librem5-devkit.dts | 821 ++ 2 files changed, 822 insertions(+) create mode 100644 arch

[PATCH v10 4/4] dt-bindings: arm: fsl: Add the imx8mq boards

2019-05-13 Thread Angus Ainslie (Purism)
Add an entry for imx8mq based boards Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings

Re: [PATCH v9 1/3] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit

2019-05-13 Thread Angus Ainslie
Hi Joe, On 2019-05-13 08:11, Joe Perches wrote: On Mon, 2019-05-13 at 07:55 -0700, Angus Ainslie (Purism) wrote: This is for the development kit board for the Librem 5. The current level of support yields a working console and is able to boot userspace from the network or eMMC. [] diff --git

[PATCH v9 0/3] Add support for the Purism Librem5 devkit

2019-05-13 Thread Angus Ainslie (Purism)
w naming conventions. Added a more complete regulator hierachy. Removed unused nodes. Removed unknown devices. Fixed comment style. Dropped undocumented properties. Angus Ainslie (Purism) (3): arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit dt-bindings: Add an entry for Purism SP

[PATCH v9 2/3] dt-bindings: Add an entry for Purism SPC

2019-05-13 Thread Angus Ainslie (Purism)
Add an entry for Purism, SPC Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings

[PATCH v9 1/3] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit

2019-05-13 Thread Angus Ainslie (Purism)
- gyro - magnetometer - touchscreen - pwm - backlight - haptic motor Signed-off-by: Angus Ainslie (Purism) --- arch/arm64/boot/dts/freescale/Makefile| 1 + .../dts/freescale/imx8mq-librem5-devkit.dts | 821 ++ 2 files changed, 822 insertions(+) create mode 100644 arch

[PATCH v9 3/3] dt-bindings: arm: fsl: Add the imx8mq boards

2019-05-13 Thread Angus Ainslie (Purism)
Add an entry for imx8mq based boards Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings

Re: [PATCH v8 1/3] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit

2019-05-11 Thread Angus Ainslie
Hi Fabio, On 2019-05-11 08:34, Fabio Estevam wrote: Hi Angus, This looks good. Only minor issues: On Wed, May 1, 2019 at 7:57 PM Angus Ainslie (Purism) wrote: +++ b/arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts @@ -0,0 +1,823 @@ +/* SPDX-License-Identifier: GPL-2.0+ This should

[PATCH 0/1] usb: typec: tcpci: read the VBUS_VOLTAGE register

2019-05-07 Thread Angus Ainslie (Purism)
I don't have a setup that I can test this code right now. I did test the tcpci_get_vbus_voltage and on my setup it is always 0. I don't currently have setup that I can adjust the vbus voltage to trigger the fault. Angus Ainslie (Purism) (1): usb: typec: tcpci: add functions to read the VBUS

[PATCH v8 1/3] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit

2019-05-01 Thread Angus Ainslie (Purism)
- gyro - magnetometer - touchscreen - pwm - backlight - haptic motor Signed-off-by: Angus Ainslie (Purism) --- arch/arm64/boot/dts/freescale/Makefile| 1 + .../dts/freescale/imx8mq-librem5-devkit.dts | 823 ++ 2 files changed, 824 insertions(+) create mode 100644 arch

[PATCH v8 3/3] dt-bindings: arm: fsl: Add the imx8mq boards

2019-05-01 Thread Angus Ainslie (Purism)
Add an entry for imx8mq based boards Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings

[PATCH v8 2/3] dt-bindings: Add an entry for Purism SPC

2019-05-01 Thread Angus Ainslie (Purism)
Add an entry for Purism, SPC Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings

[PATCH v8 0/3] Add support for the Purism Librem5 devkit

2019-05-01 Thread Angus Ainslie (Purism)
ator property. Fixup Makefile for linux-next. Changes since v1: Dropped config file. Updated the board compatible label. Changed node names to follow naming conventions. Added a more complete regulator hierachy. Removed unused nodes. Removed unknown devices. Fixed comment style. Dropped undocumente

[PATCH v7 1/3] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit

2019-04-24 Thread Angus Ainslie (Purism)
- magnetometer - touchscreen - pwm - backlight - haptic motor Signed-off-by: Angus Ainslie (Purism) --- arch/arm64/boot/dts/freescale/Makefile| 1 + .../dts/freescale/imx8mq-librem5-devkit.dts | 812 ++ 2 files changed, 813 insertions(+) create mode 100644 arch/arm64

[PATCH v7 3/3] dt-bindings: arm: fsl: Add the imx8mq boards

2019-04-24 Thread Angus Ainslie (Purism)
Add an entry for imx8mq based boards Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings

[PATCH v7 2/3] dt-bindings: Add an entry for Purism SPC

2019-04-24 Thread Angus Ainslie (Purism)
Add an entry for Purism, SPC Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings

[PATCH v7 0/3] Add support for the Purism Librem5 devkit

2019-04-24 Thread Angus Ainslie (Purism)
properties. Angus Ainslie (Purism) (3): arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit dt-bindings: Add an entry for Purism SPC dt-bindings: arm: fsl: Add the imx8mq boards .../devicetree/bindings/arm/fsl.yaml | 7 + .../devicetree/bindings/vendor-prefixes.txt

[PATCH v6 3/3] dt-bindings: arm: fsl: Add the imx8mq boards

2019-04-22 Thread Angus Ainslie (Purism)
Add an entry for imx8mq based boards Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings

[PATCH v6 1/3] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit

2019-04-22 Thread Angus Ainslie (Purism)
- magnetometer - touchscreen - pwm - backlight - haptic motor Signed-off-by: Angus Ainslie (Purism) --- arch/arm64/boot/dts/freescale/Makefile| 1 + .../dts/freescale/imx8mq-librem5-devkit.dts | 832 ++ 2 files changed, 833 insertions(+) create mode 100644 arch/arm64

[PATCH v6 0/3] The Librem5 devkit is based on the imx8mq from NXP. This is a default

2019-04-22 Thread Angus Ainslie (Purism)
nodes. Removed unknown devices. Fixed comment style. Dropped undocumented properties. Angus Ainslie (Purism) (3): arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit dt-bindings: Add an entry for Purism SPC dt-bindings: arm: fsl: Add the imx8mq boards .../devicetree/bindings

[PATCH v6 2/3] dt-bindings: Add an entry for Purism SPC

2019-04-22 Thread Angus Ainslie (Purism)
Add an entry for Purism, SPC Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings

Re: [PATCH v5 1/3] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit

2019-04-18 Thread Angus Ainslie
Hi Rob, On 2019-04-18 08:13, Rob Herring wrote: On Wed, Apr 17, 2019 at 09:55:12AM -0700, Angus Ainslie (Purism) wrote: This is the development kit board for the Librem 5. The current level of support yields a working console and is able to boot userspace from the Network or eMMC

[PATCH v5 1/3] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit

2019-04-17 Thread Angus Ainslie (Purism)
- magnetometer - touchscreen - pwm - backlight - haptic motor Signed-off-by: Angus Ainslie (Purism) --- arch/arm64/boot/dts/freescale/Makefile| 1 + .../dts/freescale/imx8mq-librem5-devkit.dts | 833 ++ 2 files changed, 834 insertions(+) create mode 100644 arch/arm64

[PATCH v5 3/3] dt-bindings: arm: fsl: Add the imx8mq boards

2019-04-17 Thread Angus Ainslie (Purism)
Add an entry for imx8mq based boards Signed-off-by: Angus Ainslie (Purism) --- Documentation/devicetree/bindings/arm/fsl.yaml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index

[PATCH v5 2/3] dt-bindings: Add an entry for Purism SPC

2019-04-17 Thread Angus Ainslie (Purism)
Add an entry for Purism, SPC Signed-off-by: Angus Ainslie (Purism) --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index

[PATCH v5 0/3] Add support for the Purism Librem5 devkit

2019-04-17 Thread Angus Ainslie (Purism)
regulator hierachy. Removed unused nodes. Removed unknown devices. Fixed comment style. Dropped undocumented properties. Angus Ainslie (Purism) (3): arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit dt-bindings: Add an entry for Purism SPC dt-bindings: arm: fsl: Add the imx8mq

Re: [PATCH v4 1/2] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit

2019-04-16 Thread Angus Ainslie
Hi Marco, On 2019-04-16 15:20, Marco Felsch wrote: Hi Angus, On 19-04-16 11:02, Angus Ainslie wrote: Hi Marco, On 2019-04-16 00:54, Marco Felsch wrote: > Hi Agnus, > Just a nitpick but could you spell my name correctly :) Sorry it was to early that morning and I haven't had my

Re: [PATCH v4 1/2] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit

2019-04-16 Thread Angus Ainslie
Hi Marco, On 2019-04-16 00:54, Marco Felsch wrote: Hi Agnus, Just a nitpick but could you spell my name correctly :) On 19-04-15 16:53, Angus Ainslie (Purism) wrote: This is the development kit board for the Librem 5. The current level of support yields a working console and is able

Re: [PATCH v4 0/2] Add support for the Purism Librem5 devkit

2019-04-16 Thread Angus Ainslie
On 2019-04-16 00:58, Marco Felsch wrote: Hi Agnus, On 19-04-15 16:53, Angus Ainslie (Purism) wrote: The Librem5 devkit is based on the imx8mq from NXP. This is a default devicetree to boot the board to a command prompt. You should also provide a patch which adds the devicetree to the yaml

[PATCH v4 0/2] Add support for the Purism Librem5 devkit

2019-04-15 Thread Angus Ainslie (Purism)
nodes. Removed unknown devices. Fixed comment style. Dropped undocumented properties. Angus Ainslie (Purism) (2): arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit dt-bindings: Add an entry for Purism SPC .../devicetree/bindings/vendor-prefixes.txt | 1 + arch/arm64/boot

[PATCH v4 2/2] dt-bindings: Add an entry for Purism SPC

2019-04-15 Thread Angus Ainslie (Purism)
Add an entry for Purism, SPC Signed-off-by: Angus Ainslie (Purism) --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index

[PATCH v4 1/2] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit

2019-04-15 Thread Angus Ainslie (Purism)
- magnetometer - touchscreen - pwm - backlight - haptic motor Signed-off-by: Angus Ainslie (Purism) --- arch/arm64/boot/dts/freescale/Makefile| 1 + .../dts/freescale/imx8mq-librem5-devkit.dts | 822 ++ 2 files changed, 823 insertions(+) create mode 100644 arch/arm64

[PATCH v3 2/2] dt-bindings: Add an entry for Purism SPC

2019-04-15 Thread Angus Ainslie (Purism)
Add an entry for Purism, SPC Signed-off-by: Angus Ainslie (Purism) --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index

  1   2   3   >