2019-05-14 13:31:03

by Angus Ainslie

[permalink] [raw]
Subject: [PATCH v12 0/4] Add support for the Purism Librem5 devkit

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 v11:

Added reviewed-by tags.
Fixed subject typo.

Changes since v10:

Moved MAINTAINERS entry to "ARM/FREESCALE IMX" section

Changes since v9:

Added a MAINTAINERS entry for arm64 imx devicetree files.

Changes since v8:

Fixed license comment.
Changed regulators to all lower case.
Changed clock frequency for NXP errata e7805.
Dropped blank line.

Changes since v7:

More regulators always on for USB.
Add vbus regulator.
Drop vbat regulator.
Replace legacy "gpio-key,wakeup" with "wakeup-source".
Add vbus-supply to get rid of warning
imx8mq-usb-phy 382f0040.usb-phy: 382f0040.usb-phy supply vbus not found,
using dummy regulator

Changes since v6:

Dropped unused regulators.
Fix regulator phandles case.
Dropped extra whitespace.

Changes since v5:

Added reviewed-by tags.
Moved USB port links to USB controller node.

Changes since v4:

Compiled against linux-next next-20190415.
Added imx8mq to the arm yaml file.
Re-arrange regulator nodes to drop undefined supplies.
Additional ordering for aesthetics.
Split some long lines.
Added lots of blank lines.
Moved pinctl muxes to where they are used.
Cleaned out reg defintions from regulator nodes.

Changes since v3:

Freshly sorted and pressed nodes.
Change the backlight to an interpolated scale.
Dropped i2c2.
Dropped devkit version number to match debian MR.

Changes since v2:

Fixed incorrect phy-supply for the fsl-fec.
Dropped unused 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 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-bindings: arm: fsl: Add the imx8mq boards

.../devicetree/bindings/arm/fsl.yaml | 7 +
.../devicetree/bindings/vendor-prefixes.txt | 1 +
MAINTAINERS | 1 +
arch/arm64/boot/dts/freescale/Makefile | 1 +
.../dts/freescale/imx8mq-librem5-devkit.dts | 821 ++++++++++++++++++
5 files changed, 831 insertions(+)
create mode 100644 arch/arm64/boot/dts/freescale/imx8mq-librem5-devkit.dts

--
2.17.1


2019-05-14 13:31:46

by Angus Ainslie

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

Add an explicit reference to imx* devicetrees

Signed-off-by: Angus Ainslie (Purism) <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
---
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 Team <[email protected]>
L: [email protected] (moderated for non-subscribers)
S: Maintained
T: git git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git
+F: arch/arm64/boot/dts/freescale/imx*
N: imx
N: mxs
X: drivers/media/i2c/
--
2.17.1

2019-05-14 13:46:05

by Angus Ainslie

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

Add an entry for Purism, SPC

Signed-off-by: Angus Ainslie (Purism) <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
---
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 e9034a6c003a..64bb1fa1a4d5 100644
--- a/Documentation/devicetree/bindings/vendor-prefixes.txt
+++ b/Documentation/devicetree/bindings/vendor-prefixes.txt
@@ -333,6 +333,7 @@ poslab Poslab Technology Co., Ltd.
powervr PowerVR (deprecated, use img)
probox2 PROBOX2 (by W2COMP Co., Ltd.)
pulsedlight PulsedLight, Inc
+purism Purism, SPC
qca Qualcomm Atheros, Inc.
qcom Qualcomm Technologies, Inc
qemu QEMU, a generic and open source machine emulator and virtualizer
--
2.17.1

2019-05-17 04:05:37

by Rob Herring

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

On Tue, May 14, 2019 at 8:28 AM Angus Ainslie (Purism) <[email protected]> wrote:
>
> Add an entry for Purism, SPC
>
> Signed-off-by: Angus Ainslie (Purism) <[email protected]>
> Reviewed-by: Rob Herring <[email protected]>
> ---
> Documentation/devicetree/bindings/vendor-prefixes.txt | 1 +
> 1 file changed, 1 insertion(+)

I've converted this file to json-schema as of v5.2-rc1. See commit
8122de54602e. Sorry, but you will have to rework this patch.


Rob

2019-05-22 08:33:17

by Shawn Guo

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

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) <[email protected]>
> Reviewed-by: Fabio Estevam <[email protected]>
> ---
> 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 Team <[email protected]>
> L: [email protected] (moderated for non-subscribers)
> S: Maintained
> T: git git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git
> +F: arch/arm64/boot/dts/freescale/imx*

This is partially reverting commit da8b7f0fb02b ("MAINTAINERS: add all
files matching "imx" and "mxs" to the IMX entry"). I'm not sure that we
want it.

Shawn

> N: imx
> N: mxs
> X: drivers/media/i2c/
> --
> 2.17.1
>

2019-05-22 13:47:38

by Angus Ainslie

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

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) <[email protected]>
>> Reviewed-by: Fabio Estevam <[email protected]>
>> ---
>> 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 Team <[email protected]>
>> L: [email protected] (moderated for
>> non-subscribers)
>> S: Maintained
>> T: git
>> git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git
>> +F: arch/arm64/boot/dts/freescale/imx*
>
> This is partially reverting commit da8b7f0fb02b ("MAINTAINERS: add all
> files matching "imx" and "mxs" to the IMX entry"). I'm not sure that
> we
> want it.
>

Ok, I can drop it from my patchset and it will get sorted out somewhere
else ?

Thanks
Angus

> Shawn
>
>> N: imx
>> N: mxs
>> X: drivers/media/i2c/
>> --
>> 2.17.1
>>