[PATCH 2/2] drm/panel: Add support for E Ink VB3300-KCA

2021-04-19 Thread Alistair Francis
Add support for the 10.3" E Ink panel described at: https://www.eink.com/product.html?type=productdetail=7 Signed-off-by: Alistair Francis --- drivers/gpu/drm/panel/panel-simple.c | 29 1 file changed, 29 insertions(+) diff --git a/drivers/gpu/drm/panel/

[PATCH 1/2] dt-bindings: Add E Ink to vendor bindings

2021-04-19 Thread Alistair Francis
Add the E Ink Corporation to the vendor bindings. Signed-off-by: Alistair Francis --- 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

[PATCH v5 5/5] ARM: dts: imx7d: remarkable2: Enable silergy,sy7636a

2021-04-19 Thread Alistair Francis
Enable the silergy,sy7636a and silergy,sy7636a-regulator on the reMarkable2. Signed-off-by: Alistair Francis --- arch/arm/boot/dts/imx7d-remarkable2.dts | 61 + 1 file changed, 61 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-remarkable2.dts b/arch/arm/boot/dts

[PATCH v5 4/5] ARM: imx_v6_v7_defconfig: Enable silergy,sy7636a

2021-04-19 Thread Alistair Francis
Enable the silergy,sy7636a and silergy,sy7636a-regulator for the reMarkable2. Signed-off-by: Alistair Francis --- arch/arm/configs/imx_v6_v7_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index

[PATCH v5 3/5] regulator: sy7636a: Initial commit

2021-04-19 Thread Alistair Francis
Initial support for the Silergy SY7636A-regulator Power Management chip. Signed-off-by: Alistair Francis --- v5: - Simplify the implementation drivers/regulator/Kconfig | 6 ++ drivers/regulator/Makefile| 1 + drivers/regulator/sy7636a-regulator.c | 127

[PATCH v5 2/5] mfd: sy7636a: Initial commit

2021-04-19 Thread Alistair Francis
Initial support for the Silergy SY7636A Power Management chip. Signed-off-by: Alistair Francis --- v5: - Don't use regmap-irq drivers/mfd/Kconfig | 9 drivers/mfd/Makefile| 1 + drivers/mfd/sy7636a.c | 82 + include/linux/mfd

[PATCH v5 1/5] dt-bindings: mfd: Initial commit of silergy,sy7636a.yaml

2021-04-19 Thread Alistair Francis
Initial support for the Silergy SY7636A Power Management chip and regulator. Signed-off-by: Alistair Francis --- v5: - Improve the documentation .../bindings/mfd/silergy,sy7636a.yaml | 70 +++ 1 file changed, 70 insertions(+) create mode 100644 Documentation

[PATCH] ARM: imx7d-remarkable2.dts: Add WiFi support

2021-04-19 Thread Alistair Francis
Signed-off-by: Alistair Francis --- arch/arm/boot/dts/imx7d-remarkable2.dts | 91 + 1 file changed, 91 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-remarkable2.dts b/arch/arm/boot/dts/imx7d-remarkable2.dts index 8cbae656395c..c3dda2b92fe6 100644 --- a/arch/arm

[PATCH v5 9/9] ARM: dts: imx7d: remarkable2: add wacom digitizer device

2021-04-19 Thread Alistair Francis
Enable the wacom_i2c touchscreen for the reMarkable2. Signed-off-by: Alistair Francis --- arch/arm/boot/dts/imx7d-remarkable2.dts | 61 + 1 file changed, 61 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-remarkable2.dts b/arch/arm/boot/dts/imx7d-remarkable2.dts

[PATCH v5 8/9] ARM: imx_v6_v7_defconfig: Enable Wacom I2C

2021-04-19 Thread Alistair Francis
Enable the Wacom I2C in the imx defconfig as it is used by the reMarkable2 tablet. Signed-off-by: Alistair Francis --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index

[PATCH v5 5/9] Input: wacom_i2c - Add support for distance and tilt x/y

2021-04-19 Thread Alistair Francis
This is based on the out of tree rM2 driver. Signed-off-by: Alistair Francis --- v5: - Check the firmware version drivers/input/touchscreen/wacom_i2c.c | 34 +-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/wacom_i2c.c b

[PATCH v5 6/9] Input: wacom_i2c - Clean up the query device fields

2021-04-19 Thread Alistair Francis
Improve the query device fields to be more verbose. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 64 ++- 1 file changed, 44 insertions(+), 20 deletions(-) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen

[PATCH v5 7/9] Input: wacom_i2c - Add support for vdd regulator

2021-04-19 Thread Alistair Francis
Add support for a VDD regulator. This allows the kernel to prove the Wacom-I2C device on the rM2. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers

[PATCH v5 3/9] Input: wacom_i2c - Add device tree support to wacom_i2c

2021-04-19 Thread Alistair Francis
Allow the wacom-i2c device to be exposed via device tree. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c index 1afc6bde2891

[PATCH v5 4/9] Input: wacom_i2c - Add touchscren properties

2021-04-19 Thread Alistair Francis
Connect touchscreen properties to the wacom_i2c. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c index dd3fc54d3825

[PATCH v5 1/9] dt-bindings: Add Wacom to vendor bindings

2021-04-19 Thread Alistair Francis
Signed-off-by: Alistair Francis --- 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 index a8e1e8d2ef20..996f4de2fff5

[PATCH v5 2/9] dt-bindings: touchscreen: Initial commit of wacom,generic

2021-04-19 Thread Alistair Francis
Signed-off-by: Alistair Francis --- .../input/touchscreen/wacom,generic.yaml | 48 +++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/wacom,generic.yaml diff --git a/Documentation/devicetree/bindings/input

Re: [PATCH v4 04/10] Input: wacom_i2c - Add touchscren properties

2021-03-29 Thread Alistair Francis
On Mon, Mar 29, 2021 at 3:08 PM Dmitry Torokhov wrote: > > On Thu, Mar 25, 2021 at 09:52:24PM -0400, Alistair Francis wrote: > > Connect touchscreen properties to the wacom_i2c. > > > > Signed-off-by: Alistair Francis > > --- > > v4: > > - Add touchsc

[PATCH v4 4/5] ARM: imx_v6_v7_defconfig: Enable silergy,sy7636a

2021-03-25 Thread Alistair Francis
Enable the silergy,sy7636a and silergy,sy7636a-regulator for the reMarkable2. Signed-off-by: Alistair Francis --- v3: - Change patch title v2: - N/A arch/arm/configs/imx_v6_v7_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm

[PATCH v4 5/5] ARM: dts: imx7d: remarkable2: Enable silergy,sy7636a

2021-03-25 Thread Alistair Francis
Enable the silergy,sy7636a and silergy,sy7636a-regulator on the reMarkable2. Signed-off-by: Alistair Francis --- v3: - Change patch title v2: - N/A arch/arm/boot/dts/imx7d-remarkable2.dts | 61 + 1 file changed, 61 insertions(+) diff --git a/arch/arm/boot/dts/imx7d

[PATCH v4 3/5] regulator: sy7636a: Initial commit

2021-03-25 Thread Alistair Francis
Initial support for the Silergy SY7636A-regulator Power Management chip. Signed-off-by: Alistair Francis --- v3: - Move sysfs power from mfd to regulaator - Add ABI documentation v2: - N/A .../testing/sysfs-driver-sy7636a-regulator| 21 ++ drivers/regulator/Kconfig

[PATCH v4 1/5] dt-bindings: mfd: Initial commit of silergy,sy7636a.yaml

2021-03-25 Thread Alistair Francis
Initial support for the Silergy SY7636A Power Management chip and regulator. Signed-off-by: Alistair Francis --- v3: - No change v2: - N/A .../bindings/mfd/silergy,sy7636a.yaml | 63 +++ 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree

[PATCH v4 2/5] mfd: sy7636a: Initial commit

2021-03-25 Thread Alistair Francis
Initial support for the Silergy SY7636A Power Management chip. Signed-off-by: Alistair Francis --- v3: - Update copyright year - Move power parts to regulator - Change Kconfig depends to be tristate v2: - Address comments from review drivers/mfd/Kconfig | 10 + drivers/mfd

[PATCH v4 07/10] Input: wacom_i2c - Add support for reset control

2021-03-25 Thread Alistair Francis
From: Alistair Francis Signed-off-by: Alistair Francis --- v4: - Initial commit drivers/input/touchscreen/wacom_i2c.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c index 84c7ccb737bd

[PATCH v4 08/10] Input: wacom_i2c - Add support for vdd regulator

2021-03-25 Thread Alistair Francis
Add support for a VDD regulator. This allows the kernel to prove the Wacom-I2C device on the rM2. Signed-off-by: Alistair Francis --- v4: - Don't double allocate wac_i2c drivers/input/touchscreen/wacom_i2c.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/input

[PATCH v4 09/10] ARM: imx_v6_v7_defconfig: Enable Wacom I2C

2021-03-25 Thread Alistair Francis
Enable the Wacom I2C in the imx defconfig as it is used by the reMarkable2 tablet. Signed-off-by: Alistair Francis --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index

[PATCH v4 05/10] Input: wacom_i2c - Add support for distance and tilt x/y

2021-03-25 Thread Alistair Francis
This is based on the out of tree rM2 driver. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c

[PATCH v4 04/10] Input: wacom_i2c - Add touchscren properties

2021-03-25 Thread Alistair Francis
Connect touchscreen properties to the wacom_i2c. Signed-off-by: Alistair Francis --- v4: - Add touchscreen_report_pos() as well drivers/input/touchscreen/wacom_i2c.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen

[PATCH v4 03/10] Input: wacom_i2c - Add device tree support to wacom_i2c

2021-03-25 Thread Alistair Francis
Allow the wacom-i2c device to be exposed via device tree. Signed-off-by: Alistair Francis --- v4: - Avoid unused variable warning by not using of_match_ptr() drivers/input/touchscreen/wacom_i2c.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/input/touchscreen/wacom_i2c.c

[PATCH v4 06/10] Input: wacom_i2c - Clean up the query device fields

2021-03-25 Thread Alistair Francis
Improve the query device fields to be more verbose. Signed-off-by: Alistair Francis --- v4: - Remove the reset_control_reset() logic drivers/input/touchscreen/wacom_i2c.c | 64 ++- 1 file changed, 44 insertions(+), 20 deletions(-) diff --git a/drivers/input

[PATCH v4 01/10] dt-bindings: Add Wacom to vendor bindings

2021-03-25 Thread Alistair Francis
Signed-off-by: Alistair Francis --- 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 index a8e1e8d2ef20..996f4de2fff5

[PATCH v4 02/10] dt-bindings: touchscreen: Initial commit of wacom,generic

2021-03-25 Thread Alistair Francis
Signed-off-by: Alistair Francis --- .../input/touchscreen/wacom,generic.yaml | 48 +++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/wacom,generic.yaml diff --git a/Documentation/devicetree/bindings/input

Re: [PATCH 2/6] mfd: Initial commit of sy7636a

2021-03-25 Thread Alistair Francis
On Tue, Mar 23, 2021 at 5:35 AM Lee Jones wrote: > > On Sat, 20 Mar 2021, Alistair Francis wrote: > > > On Thu, Feb 4, 2021 at 5:31 AM Lee Jones wrote: > > > > > > On Sat, 16 Jan 2021, Alistair Francis wrote: > > > > > > > Initial

[PATCH v6 3/3] ARM: imx7d-remarkable2.dts: Initial device tree for reMarkable2

2021-03-22 Thread Alistair Francis
. Signed-off-by: Alistair Francis --- v6: - Remove unneeded disables (crypt and dma_apbh) - Remove uneeded enables (sdma) - Fixup memory entry - Remove unused reference arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx7d-remarkable2.dts | 146 2

[PATCH v6 1/3] dt-bindings: Add vendor prefix for reMarkable

2021-03-22 Thread Alistair Francis
reMarkable AS produces eInk tablets Signed-off-by: Alistair Francis --- 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 v6 2/3] dt-bindings: arm: fsl: Add the reMarkable 2 e-Ink tablet

2021-03-22 Thread Alistair Francis
Signed-off-by: Alistair Francis --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 297c87f45db8..d139440c86b6 100644 --- a/Documentation

[PATCH v3 2/2] mfd: sy7636a: Initial commit

2021-03-21 Thread Alistair Francis
Initial support for the Silergy SY7636A Power Management chip. Signed-off-by: Alistair Francis --- v3: - Address comments in V2 - Drop regulator patches drivers/mfd/Kconfig | 10 ++ drivers/mfd/Makefile| 1 + drivers/mfd/sy7636a.c | 246

[PATCH v3 1/2] dt-bindings: mfd: Initial commit of silergy,sy7636a.yaml

2021-03-21 Thread Alistair Francis
Initial support for the Silergy SY7636A Power Management chip and regulator. Signed-off-by: Alistair Francis --- .../bindings/mfd/silergy,sy7636a.yaml | 63 +++ 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/silergy

[PATCH v3 9/9] ARM: dts: imx7d: remarkable2: add wacom digitizer device

2021-03-21 Thread Alistair Francis
Enable the wacom_i2c touchscreen for the reMarkable2. Signed-off-by: Alistair Francis --- arch/arm/boot/dts/imx7d-remarkable2.dts | 52 + 1 file changed, 52 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-remarkable2.dts b/arch/arm/boot/dts/imx7d-remarkable2.dts

[PATCH v3 8/9] ARM: imx_v6_v7_defconfig: Enable Wacom I2C

2021-03-21 Thread Alistair Francis
Enable the Wacom I2C in the imx defconfig as it is used by the reMarkable2 tablet. Signed-off-by: Alistair Francis --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index

[PATCH v3 6/9] Input: wacom_i2c - Clean up the query device fields

2021-03-21 Thread Alistair Francis
Improve the query device fields to be more verbose. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 71 +++ 1 file changed, 51 insertions(+), 20 deletions(-) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen

[PATCH v3 7/9] Input: wacom_i2c - Add support for vdd regulator

2021-03-21 Thread Alistair Francis
Add support for a VDD regulator. This allows the kernel to prove the Wacom-I2C device on the rM2. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/input/touchscreen/wacom_i2c.c b

[PATCH v3 4/9] Input: wacom_i2c - Add touchscren properties

2021-03-21 Thread Alistair Francis
Connect touchscreen properties to the wacom_i2c. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c index fc0bf583d33b..9b2ed0463d09

[PATCH v3 5/9] Input: wacom_i2c - Add support for distance and tilt x/y

2021-03-21 Thread Alistair Francis
This is based on the out of tree rM2 driver. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c

[PATCH v3 2/9] dt-bindings: touchscreen: Initial commit of wacom,generic

2021-03-21 Thread Alistair Francis
Signed-off-by: Alistair Francis --- .../input/touchscreen/wacom,generic.yaml | 48 +++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/wacom,generic.yaml diff --git a/Documentation/devicetree/bindings/input

[PATCH v3 3/9] Input: wacom_i2c - Add device tree support to wacom_i2c

2021-03-21 Thread Alistair Francis
Allow the wacom-i2c device to be exposed via device tree. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c index 1afc6bde2891

[PATCH v3 1/9] dt-bindings: Add Wacom to vendor bindings

2021-03-21 Thread Alistair Francis
Signed-off-by: Alistair Francis --- 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 index a8e1e8d2ef20..996f4de2fff5

[PATCH v3 0/9] Add Wacom I2C support to rM2

2021-03-21 Thread Alistair Francis
From: Alistair Francis Add support to the reMarkable2 (rM2) for the Wacom I2C device. This is based on the reMarkable Linux fork and with this series I am able to probe the Wacom digitiser. Alistair Francis (9): dt-bindings: Add Wacom to vendor bindings dt-bindings: touchscreen: Initial

Re: [PATCH 2/6] mfd: Initial commit of sy7636a

2021-03-20 Thread Alistair Francis
On Thu, Feb 4, 2021 at 5:31 AM Lee Jones wrote: > > On Sat, 16 Jan 2021, Alistair Francis wrote: > > > Initial support for the Silergy SY7636A Power Management chip > > driver. > > Please remove "driver", as this is not support for the driver, it *is* > th

Re: [PATCH v5 3/3] ARM: imx7d-remarkable2.dts: Initial device tree for reMarkable2

2021-03-20 Thread Alistair Francis
> > On 21-03-15 22:27, Alistair Francis wrote: > > ... > > > + { > > + status = "disabled"; > > +}; > > Why do you disable the crypto subsystem? > > > +_apbh { > > + status = "disabled";

[PATCH v5 3/3] ARM: imx7d-remarkable2.dts: Initial device tree for reMarkable2

2021-03-15 Thread Alistair Francis
. Signed-off-by: Alistair Francis --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx7d-remarkable2.dts | 166 2 files changed, 167 insertions(+) create mode 100644 arch/arm/boot/dts/imx7d-remarkable2.dts diff --git a/arch/arm/boot/dts/Makefile b

[PATCH v5 1/3] dt-bindings: Add vendor prefix for reMarkable

2021-03-15 Thread Alistair Francis
reMarkable AS produces eInk tablets Signed-off-by: Alistair Francis --- 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 v5 2/3] dt-bindings: arm: fsl: Add the reMarkable 2 e-Ink tablet

2021-03-15 Thread Alistair Francis
Signed-off-by: Alistair Francis --- Documentation/devicetree/bindings/arm/fsl.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 297c87f45db8..d139440c86b6 100644 --- a/Documentation

[PATCH v4] ARM: imx7d-remarkable2.dts: Initial device tree for reMarkable2

2021-03-09 Thread Alistair Francis
. Signed-off-by: Alistair Francis --- .../devicetree/bindings/arm/fsl.yaml | 1 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/imx7d-remarkable2.dts | 166 ++ 4 files changed, 170

Re: [PATCH v3 1/3] ARM: imx7d-remarkable2.dts: Initial device tree for reMarkable2

2021-03-09 Thread Alistair Francis
On Wed, Mar 3, 2021 at 8:44 AM Shawn Guo wrote: > > On Wed, Feb 03, 2021 at 07:03:14PM -0800, Alistair Francis wrote: > > The reMarkable2 (https://remarkable.com) is an e-ink tablet based on > > the imx7d SoC. > > > > This commit is based on the DTS pr

[PATCH v3 1/3] ARM: imx7d-remarkable2.dts: Initial device tree for reMarkable2

2021-02-04 Thread Alistair Francis
be accessed without having to open up the device via the OTG pogo pins. Currently the kernel boots, but there is no support for the dispaly, WiFi or the power controller chips. Signed-off-by: Alistair Francis --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx7d-remarkable2.dts

[PATCH v3 2/3] ARM: dts: imx7d: remarkable2: Enable the power button

2021-02-04 Thread Alistair Francis
Signed-off-by: Alistair Francis --- arch/arm/boot/dts/imx7d-remarkable2.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-remarkable2.dts b/arch/arm/boot/dts/imx7d-remarkable2.dts index 0aae13f5eed6..0978e26f5db5 100644 --- a/arch/arm/boot/dts/imx7d-remarkable2

[PATCH v3 3/3] ARM: imx_v6_v7_defconfig: Regenerate

2021-02-04 Thread Alistair Francis
Run make imx_v6_v7_defconfig; make savedefconfig to regenerate the defconfig. Signed-off-by: Alistair Francis --- arch/arm/configs/imx_v6_v7_defconfig | 36 1 file changed, 10 insertions(+), 26 deletions(-) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch

Re: [PATCH v2 3/3] arch/arm/configs: Enable VMSPLIT_2G in imx_v6_v7_defconfig

2021-02-03 Thread Alistair Francis
On Tue, Feb 2, 2021 at 11:50 PM Arnd Bergmann wrote: > > On Wed, Feb 3, 2021 at 3:37 AM Alistair Francis wrote: > > > > On Thu, Jan 28, 2021 at 11:13 PM Shawn Guo wrote: > > > > > > On Sun, Jan 17, 2021 at 10:03:01AM -0800, Alistair Francis wrote: > > &

Re: [PATCH v2 3/3] arch/arm/configs: Enable VMSPLIT_2G in imx_v6_v7_defconfig

2021-02-02 Thread Alistair Francis
On Thu, Jan 28, 2021 at 11:13 PM Shawn Guo wrote: > > On Sun, Jan 17, 2021 at 10:03:01AM -0800, Alistair Francis wrote: > > The reMarkable2 requires VMSPLIT_2G, so lets set this in the > > imx_v6_v7_defconfig. > > Hmm, why is VMSPLIT_2G required by reMarkable2? I'm not

Re: [PATCH 4/6] regulator: Initial commit of sy7636a

2021-01-23 Thread Alistair Francis
On Fri, Jan 22, 2021 at 5:37 AM Mark Brown wrote: > > On Thu, Jan 21, 2021 at 10:24:10PM -0800, Alistair Francis wrote: > > On Mon, Jan 18, 2021 at 4:32 AM Mark Brown wrote: > > > On Sat, Jan 16, 2021 at 08:25:37PM -0800, Alistair Francis wrote: > > > > > +s

Re: [PATCH v2 6/6] arch/arm: reMarkable2: Enable wacom_i2c

2021-01-23 Thread Alistair Francis
On Fri, Jan 22, 2021 at 7:32 AM Marco Felsch wrote: > > Hi, > > thanks for the patch. > > On 21-01-20 22:56, Alistair Francis wrote: > > Enable the wacom_i2c touchscreen for the reMarkable2. > > > > Signed-off-by: Alistair Francis > > --- > &g

Re: [PATCH 4/6] regulator: Initial commit of sy7636a

2021-01-21 Thread Alistair Francis
On Mon, Jan 18, 2021 at 4:32 AM Mark Brown wrote: > > On Sat, Jan 16, 2021 at 08:25:37PM -0800, Alistair Francis wrote: > > > --- /dev/null > > +++ b/drivers/regulator/sy7636a-regulator.c > > @@ -0,0 +1,233 @@ > > +// SPDX-License-Identifier: GPL-2.0+ > >

Re: [PATCH 3/6] devicetree/bindings: Initial commit of silergy,sy7636a-regulator.yaml

2021-01-21 Thread Alistair Francis
On Mon, Jan 18, 2021 at 4:42 AM Mark Brown wrote: > > On Mon, Jan 18, 2021 at 12:35:19PM +, Mark Brown wrote: > > On Sat, Jan 16, 2021 at 08:25:36PM -0800, Alistair Francis wrote: > > > > +properties: > > > + compatible: > > > +enum: > &g

[PATCH v2 4/6] touchscreen/wacom_i2c: Clean up the query device fields

2021-01-21 Thread Alistair Francis
Improve the query device fields to be more verbose. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 73 +++ 1 file changed, 52 insertions(+), 21 deletions(-) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen

[PATCH v2 3/6] touchscreen/wacom_i2c: Add support for distance and tilt x/y

2021-01-21 Thread Alistair Francis
This is based on the out of tree rM2 driver. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 25 +++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c

[PATCH v2 1/6] devicetree/bindings: Initial commit of wacom,wacom-i2c

2021-01-20 Thread Alistair Francis
Signed-off-by: Alistair Francis --- .../input/touchscreen/wacom,wacom-i2c.yaml| 44 +++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + 2 files changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/wacom,wacom-i2c.yaml diff

[PATCH v2 2/6] input/touchscreen: Add device tree support to wacom_i2c

2021-01-20 Thread Alistair Francis
Allow the wacom-i2c device to be exposed via device tree. Signed-off-by: Alistair Francis --- .../input/touchscreen/wacom,wacom-i2c.yaml | 4 drivers/input/touchscreen/wacom_i2c.c| 16 2 files changed, 20 insertions(+) diff --git a/Documentation

[PATCH v2 0/6] Add Wacom I2C support to rM2

2021-01-20 Thread Alistair Francis
Add support to the reMarkable2 (rM2) for the Wacom I2C device. This is based on the reMarkable Linux fork and with this series I am able to probe the Wacom digitiser. Alistair Francis (6): devicetree/bindings: Initial commit of wacom,wacom-i2c input/touchscreen: Add device tree support

[PATCH v2 5/6] touchscreen/wacom_i2c: Add support for vdd regulator

2021-01-20 Thread Alistair Francis
Add support for a VDD regulator. This allows the kernel to prove the Wacom-I2C device on the rM2. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/input/touchscreen/wacom_i2c.c b

[PATCH v2 6/6] arch/arm: reMarkable2: Enable wacom_i2c

2021-01-20 Thread Alistair Francis
Enable the wacom_i2c touchscreen for the reMarkable2. Signed-off-by: Alistair Francis --- arch/arm/boot/dts/imx7d-remarkable2.dts | 41 + arch/arm/configs/imx_v6_v7_defconfig| 1 + 2 files changed, 42 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-remarkable2

Re: [PATCH 2/3] input/touchscreen: Add device tree support to wacom_i2c

2021-01-20 Thread Alistair Francis
On Tue, Jan 19, 2021 at 6:17 PM Dmitry Torokhov wrote: > > On Sat, Jan 16, 2021 at 08:24:27PM -0800, Alistair Francis wrote: > > Allow the wacom-i2c device to be exposed via device tree. > > The patch seems incomplete. I see we are reading and storing properties, > but

Re: [PATCH 1/3] devicetree/bindings: Initial commit of wacom,wacom-i2c

2021-01-19 Thread Alistair Francis
On Tue, Jan 19, 2021 at 6:15 PM Dmitry Torokhov wrote: > > Hi Alistair, > > On Sat, Jan 16, 2021 at 08:24:26PM -0800, Alistair Francis wrote: > > Signed-off-by: Alistair Francis > > --- > > .../input/touchscreen/wacom,wacom-i2c.yaml| 55 ++

Re: [PATCH 2/2] remarkable2_defconfig: Add initial support for the reMarkable2

2021-01-18 Thread Alistair Francis
On Sun, Jan 17, 2021 at 6:03 PM Olof Johansson wrote: > > Hi, > > On Sun, Jan 17, 2021 at 5:36 PM Alistair Francis wrote: > > > > On Sun, Jan 17, 2021 at 5:30 PM Olof Johansson wrote: > > > > > > Hi Alistair, > > > > > > On

[PATCH v2 3/3] arch/arm/configs: Enable VMSPLIT_2G in imx_v6_v7_defconfig

2021-01-18 Thread Alistair Francis
The reMarkable2 requires VMSPLIT_2G, so lets set this in the imx_v6_v7_defconfig. Signed-off-by: Alistair Francis --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index

[PATCH v2 1/3] imx7d-remarkable2.dts: Initial device tree for reMarkable2

2021-01-18 Thread Alistair Francis
be accessed without having to open up the device via the OTG pogo pins. Currently the kernel boots, but there is no support for the dispaly, WiFi or the power controller chips. Signed-off-by: Alistair Francis --- v2: - No change to this patch, use the existing defconfig arch/arm/boot/dts/Makefile

[PATCH v2 2/3] arch/arm/configs: Regenerate imx_v6_v7_defconfig

2021-01-18 Thread Alistair Francis
Run make imx_v6_v7_defconfig; make savedefconfig to regenerate the defconfig. Signed-off-by: Alistair Francis --- arch/arm/configs/imx_v6_v7_defconfig | 36 1 file changed, 10 insertions(+), 26 deletions(-) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch

Re: [PATCH 2/2] remarkable2_defconfig: Add initial support for the reMarkable2

2021-01-17 Thread Alistair Francis
On Sun, Jan 17, 2021 at 5:30 PM Olof Johansson wrote: > > Hi Alistair, > > On Sun, Jan 17, 2021 at 3:09 PM Alistair Francis > wrote: > > > > This defconfig is based on the one released by reMarkable with their > > 4.14 kernel. I have updated it to match the l

[PATCH 5/6] arch/arm: reMarkable2: Enable silergy,sy7636a

2021-01-17 Thread Alistair Francis
Enable the silergy,sy7636a and silergy,sy7636a-regulator on the reMarkable2. Signed-off-by: Alistair Francis --- arch/arm/boot/dts/imx7d-remarkable2.dts | 61 + arch/arm/configs/remarkable2_defconfig | 2 + 2 files changed, 63 insertions(+) diff --git a/arch/arm/boot

[PATCH 4/6] regulator: Initial commit of sy7636a

2021-01-17 Thread Alistair Francis
Initial support for the Silergy SY7636A-regulator Power Management chip driver. Signed-off-by: Alistair Francis --- drivers/regulator/Kconfig | 6 + drivers/regulator/Makefile| 1 + drivers/regulator/sy7636a-regulator.c | 233 ++ 3 files

[PATCH 3/6] devicetree/bindings: Initial commit of silergy,sy7636a-regulator.yaml

2021-01-17 Thread Alistair Francis
Initial support for the Silergy SY7636A-regulator Power Management chip driver. Signed-off-by: Alistair Francis --- .../bindings/regulator/silergy,sy7636a.yaml | 39 +++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/silergy

[PATCH 2/6] mfd: Initial commit of sy7636a

2021-01-17 Thread Alistair Francis
Initial support for the Silergy SY7636A Power Management chip driver. Signed-off-by: Alistair Francis --- drivers/mfd/Kconfig | 10 ++ drivers/mfd/Makefile| 2 + drivers/mfd/sy7636a.c | 252 include/linux/mfd/sy7636a.h | 50

[PATCH 6/6] arch/arm: reMarkable2: Enable lcdif

2021-01-17 Thread Alistair Francis
Connect the dispaly on the reMarkable2. Signed-off-by: Alistair Francis --- arch/arm/boot/dts/imx7d-remarkable2.dts | 70 + 1 file changed, 70 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-remarkable2.dts b/arch/arm/boot/dts/imx7d-remarkable2.dts index

[PATCH 1/6] devicetree/bindings: Initial commit of silergy,sy7636a.yaml

2021-01-17 Thread Alistair Francis
Initial support for the Silergy SY7636A Power Management chip driver. Signed-off-by: Alistair Francis --- .../bindings/mfd/silergy,sy7636a.yaml | 37 +++ 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/silergy,sy7636a.yaml diff

[PATCH 1/3] devicetree/bindings: Initial commit of wacom,wacom-i2c

2021-01-17 Thread Alistair Francis
Signed-off-by: Alistair Francis --- .../input/touchscreen/wacom,wacom-i2c.yaml| 55 +++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + 2 files changed, 57 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/wacom,wacom-i2c.yaml diff

[PATCH 2/3] input/touchscreen: Add device tree support to wacom_i2c

2021-01-17 Thread Alistair Francis
Allow the wacom-i2c device to be exposed via device tree. Signed-off-by: Alistair Francis --- drivers/input/touchscreen/wacom_i2c.c | 38 +++ 1 file changed, 38 insertions(+) diff --git a/drivers/input/touchscreen/wacom_i2c.c b/drivers/input/touchscreen/wacom_i2c.c

[PATCH 3/3] arch/arm: reMarkable2: Enable wacom_i2c

2021-01-17 Thread Alistair Francis
Enable the wacom_i2c touchscreen for the reMarkable2. Signed-off-by: Alistair Francis --- arch/arm/boot/dts/imx7d-remarkable2.dts | 41 + 1 file changed, 41 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-remarkable2.dts b/arch/arm/boot/dts/imx7d-remarkable2.dts

[PATCH 1/2] imx7d-remarkable2.dts: Initial device tree for reMarkable2

2021-01-17 Thread Alistair Francis
be accessed without having to open up the device via the OTG pogo pins. Currently the kernel boots, but there is no support for the dispaly, WiFi or the power controller chips. Signed-off-by: Alistair Francis --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/imx7d-remarkable2.dts

[PATCH 2/2] remarkable2_defconfig: Add initial support for the reMarkable2

2021-01-17 Thread Alistair Francis
This defconfig is based on the one released by reMarkable with their 4.14 kernel. I have updated it to match the latest kernels. Signed-off-by: Alistair Francis --- arch/arm/configs/remarkable2_defconfig | 358 + 1 file changed, 358 insertions(+) create mode 100644 arch

Re: [PATCH v3] RISC-V: Use SBI SRST extension when available

2020-11-30 Thread Alistair Francis
e in latest SBI v0.3-draft > specification at: https://github.com/riscv/riscv-sbi-doc. > > This patch extends Linux RISC-V SBI implementation to detect > and use SBI SRST extension. > > Signed-off-by: Anup Patel Acked-by: Alistair Francis Alistair > --- > Changes s

Re: [PATCH] riscv: Add SiFive drivers to rv32_defconfig

2020-07-16 Thread Alistair Francis
On Wed, 2020-07-15 at 21:39 -0700, Bin Meng wrote: > From: Bin Meng > > This adds SiFive drivers to rv32_defconfig, to keep in sync with the > 64-bit config. This is useful when testing 32-bit kernel with QEMU > 'sifive_u' 32-bit machine. > > Signed-off-by: Bin Meng

[PATCH v2] spi: sun6i: Add support for GPIO chip select lines

2020-05-10 Thread Alistair Francis
Set use_gpio_descriptors as true to support using generic GPIO lines for the chip select. Signed-off-by: Alistair Francis --- v2: - Use use_gpio_descriptors instead of spi_setup drivers/spi/spi-sun6i.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/spi/spi-sun6i.c b/drivers/spi

[PATCH] spi: sun6i: Add support for GPIO chip select lines

2020-05-05 Thread Alistair Francis
Add a setup function that can be used to support using generic GPIO lines for the chip select. Signed-off-by: Alistair Francis --- drivers/spi/spi-sun6i.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/spi/spi-sun6i.c b/drivers/spi/spi-sun6i.c index

Re: [PATCH v2 2/2] RISC-V: defconfig: Enable Goldfish RTC driver

2019-10-23 Thread Alistair Francis
On Tue, 2019-10-22 at 18:06 -0700, Paul Walmsley wrote: > On Tue, 22 Oct 2019, Alistair Francis wrote: > > > I think it makese sense for this to go into Linux first. > > > > The QEMU patches are going to be accepted, just some nit picking to > > do > >

Re: [PATCH v2 2/2] RISC-V: defconfig: Enable Goldfish RTC driver

2019-10-22 Thread Alistair Francis
almsley ; > > > a...@eecs.berkeley.edu; > > > Greg KH ; r...@google.com; Atish > > > Patra > > > ; Alistair Francis > > >; > > > Christoph Hellwig ; a...@brainfault.org; > > > linux- > > > ri...@lists.infradead.org; linux-ker

Re: [PATCH] arm64: dts: sun50i: sopine-baseboard: Expose serial1, serial2 and serial3

2019-10-16 Thread Alistair Francis
On Wed, Oct 16, 2019 at 7:54 AM Chen-Yu Tsai wrote: > > On Wed, Oct 16, 2019 at 10:49 PM Maxime Ripard wrote: > > > > Hi, > > > > On Sat, Oct 12, 2019 at 01:05:24PM -0700, Alistair Francis wrote: > > > Follow what the sun50i-a64-pine64.dts does an

[PATCH] arm64: dts: sun50i: sopine-baseboard: Expose serial1, serial2 and serial3

2019-10-12 Thread Alistair Francis
Follow what the sun50i-a64-pine64.dts does and expose all 5 serial connections. Signed-off-by: Alistair Francis --- .../allwinner/sun50i-a64-sopine-baseboard.dts | 25 +++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-sopine

Re: [PATCH v7 02/21] RISC-V: Add bitmap reprensenting ISA features common across CPUs

2019-09-23 Thread Alistair Francis
On Sat, 2019-09-21 at 03:01 -0700, Paul Walmsley wrote: > Hi Anup, > > Thanks for changing this to use a bitmap. A few comments below - > > On Wed, 4 Sep 2019, Anup Patel wrote: > > > This patch adds riscv_isa bitmap which represents Host ISA features > > common across all Host CPUs. The

Re: [PATCH v2] RISC-V: Fix FIXMAP area corruption on RV32 systems

2019-08-28 Thread Alistair Francis
ue to > express > FIXADDR_SIZE in-terms of __end_of_fixed_addresses because of cyclic > header dependency where asm/fixmap.h includes asm/pgtable.h and > __end_of_fixed_addresses is defined in asm/fixmap.h. We certainly > need > to move FIXADDR_TOP, FIXADDR_START, and FIXADDR_SIZE t

Re: [PATCH] RISC-V: Fix FIXMAP area corruption on RV32 systems

2019-08-26 Thread Alistair Francis
On Mon, 2019-08-26 at 14:17 -0700, Palmer Dabbelt wrote: > On Sun, 18 Aug 2019 21:49:01 PDT (-0700), a...@brainfault.org wrote: > > On Sun, Aug 18, 2019 at 11:49 PM Christoph Hellwig < > > h...@infradead.org> wrote: > > > > +#define FIXADDR_TOP (VMALLOC_START) > > > > > > Nit: no need for

  1   2   >