Re: [PATCH v3 0/2] Add Qualcomm MSM8939 GCC binding and driver

2020-05-08 Thread Vincent Knecht
mpatible = "fixed-clock"; > #clock-cells = <0>; > clock-frequency = <1920>; > }; > > sleep_clk: sleep_clk { > compatible = "fixed-clock"; > #clock-cells = <0>; > clock-frequency = <32768>; > }; > }; > Thank you, works for me over v5.7-rc2 with an Alcatel Idol 3 (5.5"). Tested-by: Vincent Knecht

Re: [PATCH 1/5] interconnect: qcom: Consolidate interconnect RPM support

2020-10-03 Thread Vincent Knecht
Le mercredi 30 septembre 2020 à 16:16 +0800, Jun Nie a écrit : > Add RPM based interconnect driver implements the set and aggregate > functionalities that translates bandwidth requests into RPM messages. > These modules provide a common set of functionalities for all > Qualcomm RPM based interconne

[PATCH v6 1/2] dt-bindings: input/touchscreen: add bindings for msg2638

2021-03-05 Thread Vincent Knecht
This adds dts bindings for the mstar msg2638 touchscreen. Reviewed-by: Linus Walleij Signed-off-by: Vincent Knecht --- Changed in v6: - change touchscreen-size-x/y values in example section to reflect scaling removal in driver (Dmitry) - add Linus W. Reviewed-by Changed in v5: nothing Changed

[PATCH v6 2/2] Input: add MStar MSG2638 touchscreen driver

2021-03-05 Thread Vincent Knecht
rs/input/touchscreen/msg2638.c new file mode 100644 index ..8eb3f195d743 --- /dev/null +++ b/drivers/input/touchscreen/msg2638.c @@ -0,0 +1,354 @@ +// SPDX-License-Identifier: GPL-2.0-only +/* + * Driver for MStar msg2638 touchscreens + * + * Copyright (c) 2021 Vincent Knecht + *

Re: [PATCH v6 2/2] Input: add MStar MSG2638 touchscreen driver

2021-04-07 Thread Vincent Knecht
Le vendredi 05 mars 2021 à 16:38 +0100, Vincent Knecht a écrit : > Add support for the msg2638 touchscreen IC from MStar. > Firmware handling, wakeup gestures and other specialties are not supported. > This driver reuses zinitix.c structure, while the checksum and irq handler > functio

[PATCH v4 1/2] dt-bindings: input/touchscreen: add bindings for msg2638

2021-02-10 Thread Vincent Knecht
This adds dts bindings for the mstar msg2638 touchscreen. Signed-off-by: Vincent Knecht --- Changed in v4: - don't use wildcards in compatible strings (Rob H) - rename from msg26xx to msg2638 - rename example pinctrl-0 to &ts_int_reset_default for consistency Changed in v3: - added `to

[PATCH v4 2/2] Input: add MStar MSG2638 touchscreen driver

2021-02-10 Thread Vincent Knecht
Add support for the msg2638 touchscreen IC from MStar. This driver reuses zinitix.c structure, while the checksum and irq handler functions are based on out-of-tree driver for Alcatel Idol 3 (4.7"). Signed-off-by: Vincent Knecht --- Changed in v4: - rename from msg26xx to msg2638, foll

Re: [PATCH v3 1/2] dt-bindings: input/touchscreen: add bindings for msg26xx

2021-02-10 Thread Vincent Knecht
Le mardi 09 février 2021 à 21:10 -0600, Jeff LaBundy a écrit : > Hi Vincent, > > On Tue, Feb 09, 2021 at 07:58:33PM +0100, Vincent Knecht wrote: > > Le mardi 09 février 2021 à 10:13 -0600, Rob Herring a écrit : > > > On Thu, Jan 21, 2021 at 06:43:47PM +0100, Vincent Kn

Re: [PATCH v4 2/2] Input: add MStar MSG2638 touchscreen driver

2021-02-22 Thread Vincent Knecht
Le samedi 20 février 2021 à 15:23 -0800, Dmitry Torokhov a écrit : > Hi Vincent, Hi Dmitry, thank you for the review ! > On Wed, Feb 10, 2021 at 06:33:52PM +0100, Vincent Knecht wrote: > > + > > +   for (i = 0; i < MAX_SUPPORTED_FINGER_NUM; i++) { > > +  

Re: [PATCH v3 1/2] dt-bindings: input/touchscreen: add bindings for msg26xx

2021-02-09 Thread Vincent Knecht
Le mardi 09 février 2021 à 10:13 -0600, Rob Herring a écrit : > On Thu, Jan 21, 2021 at 06:43:47PM +0100, Vincent Knecht wrote: > > This adds dts bindings for the mstar msg26xx touchscreen. > > > > Signed-off-by: Vincent Knecht > > --- > > Changed in v3: >

[PATCH v2 3/4] arm64: dts: qcom: Disable MDSS by default for 8916/8016 devices

2021-01-30 Thread Vincent Knecht
Disable MDSS (Mobile Display Subsystem) by default in msm8916.dtsi and only explicitly enable it in devices' DT which actually use it. This leads to faster boot and cleaner logs for other devices, which also won't have to explicitly disable MDSS to use framebuffer. Signed-off-by: Vinc

[PATCH v2 1/4] dt-bindings: vendor-prefixes: add Alcatel

2021-01-30 Thread Vincent Knecht
Document vendor prefix for Alcatel Signed-off-by: Vincent Knecht --- 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 v2 0/4] Alcatel Idol 3 (4.7") smartphone support

2021-01-30 Thread Vincent Knecht
mailoo.org/T/ Vincent Knecht (4): dt-bindings: vendor-prefixes: add Alcatel arm64: dts: qcom: Add device tree for Alcatel Idol 3 (4.7") arm64: dts: qcom: Disable MDSS by default for 8916/8016 devices arm64: dts: qcom: msm8916-alcatel-idol347: Add framebuffer support .../devicetree/

[PATCH v2 4/4] arm64: dts: qcom: msm8916-alcatel-idol347: Add framebuffer support

2021-01-30 Thread Vincent Knecht
Add simple-framebuffer support and related reserved-memory block. Signed-off-by: Vincent Knecht --- .../boot/dts/qcom/msm8916-alcatel-idol347.dts | 31 +++ 1 file changed, 31 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dts b/arch/arm64/boot/dts

[PATCH v2 2/4] arm64: dts: qcom: Add device tree for Alcatel Idol 3 (4.7")

2021-01-30 Thread Vincent Knecht
The Alcatel Idol 3 (4.7") is a smartphone based on MSM8916. Add a device tree with support for USB, eMMC, SD-Card, WiFi, BT, power/volume buttons, vibrator and the following sensors: magnetometer, accelerometer, gyroscope, ambient light+proximity Signed-off-by: Vincent Knecht --- arch/

[PATCH 2/2] Input: add MStar msg26xx touchscreen driver

2021-01-20 Thread Vincent Knecht
Add support for the msg26xx touchscreen IC from MStar. This driver reuses zinitix.c structure, while the checksum and irq handler functions are based on out-of-tree driver for Alcatel Idol 3 (4.7"). Signed-off-by: Vincent Knecht --- drivers/input/touchscreen/Kconfig | 12 + drivers/

[PATCH 1/2] dt-bindings: input/touchscreen: add bindings for msg26xx

2021-01-20 Thread Vincent Knecht
This adds dts bindings for the mstar msg26xx touchscreen. Signed-off-by: Vincent Knecht --- .../input/touchscreen/mstar,msg26xx.yaml | 66 +++ 1 file changed, 66 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/mstar,msg26xx.yaml diff

Re: [PATCH 2/2] Input: add MStar msg26xx touchscreen driver

2021-01-21 Thread Vincent Knecht
Hi Dmitry! Le mercredi 20 janvier 2021 à 23:03 -0800, Dmitry Torokhov a écrit : > Hi Vincent, > > On Wed, Jan 20, 2021 at 07:01:08PM +0100, Vincent Knecht wrote: > > +struct packet { > > +   u8  y_high : 4; > > +   u8  x_high : 4; > > This will

[PATCH v2 1/2] dt-bindings: input/touchscreen: add bindings for msg26xx

2021-01-21 Thread Vincent Knecht
This adds dts bindings for the mstar msg26xx touchscreen. Signed-off-by: Vincent Knecht --- Changed in v2: - changed M-Star to MStar in title line - changed reset gpio to active-low in example section --- .../input/touchscreen/mstar,msg26xx.yaml | 66 +++ 1 file changed, 66

[PATCH v2 2/2] Input: add MStar msg26xx touchscreen driver

2021-01-21 Thread Vincent Knecht
Add support for the msg26xx touchscreen IC from MStar. This driver reuses zinitix.c structure, while the checksum and irq handler functions are based on out-of-tree driver for Alcatel Idol 3 (4.7"). Signed-off-by: Vincent Knecht --- Changed in v2: - don't use bitfields in packet

[PATCH v3 2/2] Input: add MStar msg26xx touchscreen driver

2021-01-21 Thread Vincent Knecht
Add support for the msg26xx touchscreen IC from MStar. This driver reuses zinitix.c structure, while the checksum and irq handler functions are based on out-of-tree driver for Alcatel Idol 3 (4.7"). Signed-off-by: Vincent Knecht --- Changed in v3: - no change Changed in v2: - don't use

[PATCH v3 1/2] dt-bindings: input/touchscreen: add bindings for msg26xx

2021-01-21 Thread Vincent Knecht
This adds dts bindings for the mstar msg26xx touchscreen. Signed-off-by: Vincent Knecht --- Changed in v3: - added `touchscreen-size-x: true` and `touchscreen-size-y: true` properties Changed in v2: - changed M-Star to MStar in title line - changed reset gpio to active-low in example section

[PATCH] arm64: dts: msm8916: Fix reserved and rfsa nodes unit address

2021-01-23 Thread Vincent Knecht
Fix `reserved` and `rfsa` unit address according to their reg address Fixes: 7258e10e6a0b ("ARM: dts: msm8916: Update reserved-memory") Signed-off-by: Vincent Knecht --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/

[PATCH v5 1/2] dt-bindings: input/touchscreen: add bindings for msg2638

2021-02-16 Thread Vincent Knecht
This adds dts bindings for the mstar msg2638 touchscreen. Signed-off-by: Vincent Knecht --- Changed in v5: nothing Changed in v4: - don't use wildcards in compatible strings (Rob H) - rename from msg26xx to msg2638 - rename example pinctrl-0 to &ts_int_reset_default for consistency Chan

[PATCH v5 2/2] Input: add MStar MSG2638 touchscreen driver

2021-02-16 Thread Vincent Knecht
Add support for the msg2638 touchscreen IC from MStar. This driver reuses zinitix.c structure, while the checksum and irq handler functions are based on out-of-tree driver for Alcatel Idol 3 (4.7"). Signed-off-by: Vincent Knecht --- Changed in v5: - use gpiod_set_value_cansleep() (Step

Re: [PATCH v2 5/5] interconnect: qcom: Add MSM8939 interconnect provider driver

2021-01-02 Thread Vincent Knecht
Le vendredi 04 décembre 2020 à 15:53 +0800, Jun Nie a écrit : > Add driver for the Qualcomm interconnect buses found in MSM8939 based > platforms. The topology consists of four NoCs that are controlled by > a remote processor that collects the aggregated bandwidth for each > master-slave pairs. >

[PATCH v3 4/4] dt-bindings: soc: qcom: Document MSM8936 SMD RPM

2020-06-12 Thread Vincent Knecht
Acked-by: Rob Herring Signed-off-by: Vincent Knecht --- Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt b/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt

[PATCH v3 2/4] dt-bindings: clock: rpmcc: Document MSM8936 compatible

2020-06-12 Thread Vincent Knecht
Acked-by: Rob Herring Signed-off-by: Vincent Knecht --- Documentation/devicetree/bindings/clock/qcom,rpmcc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt b/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt index 90a1349bc713

[PATCH v3 3/4] drivers: soc: Add MSM8936 SMD RPM compatible

2020-06-12 Thread Vincent Knecht
From: Konrad Dybcio Signed-off-by: Konrad Dybcio --- drivers/soc/qcom/smd-rpm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/qcom/smd-rpm.c b/drivers/soc/qcom/smd-rpm.c index 005dd30c58fa..8f290c67cb47 100644 --- a/drivers/soc/qcom/smd-rpm.c +++ b/drivers/soc/qcom/smd-rpm.c @

[PATCH v3 1/4] clk: qcom: smd: Add support for MSM8936 rpm clocks

2020-06-12 Thread Vincent Knecht
Add missing definition of rpm clk for msm8936 soc (also used by msm8939) Signed-off-by: Vincent Knecht --- drivers/clk/qcom/clk-smd-rpm.c | 50 ++ include/dt-bindings/clock/qcom,rpmcc.h | 2 ++ 2 files changed, 52 insertions(+) diff --git a/drivers/clk/qcom/clk

[PATCH v4 4/4] dt-bindings: soc: qcom: Document MSM8936 SMD RPM

2020-06-13 Thread Vincent Knecht
Acked-by: Rob Herring Signed-off-by: Vincent Knecht --- Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt b/Documentation/devicetree/bindings/soc/qcom/qcom,smd-rpm.txt

[PATCH v4 1/4] clk: qcom: smd: Add support for MSM8936 rpm clocks

2020-06-13 Thread Vincent Knecht
Add missing definition of rpm clk for msm8936 soc (also used by msm8939) Signed-off-by: Vincent Knecht --- drivers/clk/qcom/clk-smd-rpm.c | 50 ++ include/dt-bindings/clock/qcom,rpmcc.h | 2 ++ 2 files changed, 52 insertions(+) diff --git a/drivers/clk/qcom/clk

[PATCH v4 3/4] drivers: soc: Add MSM8936 SMD RPM compatible

2020-06-13 Thread Vincent Knecht
From: Konrad Dybcio Signed-off-by: Konrad Dybcio Signed-off-by: Vincent Knecht --- drivers/soc/qcom/smd-rpm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/soc/qcom/smd-rpm.c b/drivers/soc/qcom/smd-rpm.c index 005dd30c58fa..8f290c67cb47 100644 --- a/drivers/soc/qcom/smd-rpm.c

[PATCH v4 2/4] dt-bindings: clock: rpmcc: Document MSM8936 compatible

2020-06-13 Thread Vincent Knecht
Acked-by: Rob Herring Signed-off-by: Vincent Knecht --- Documentation/devicetree/bindings/clock/qcom,rpmcc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt b/Documentation/devicetree/bindings/clock/qcom,rpmcc.txt index 90a1349bc713

[PATCH v4 0/4] Add SMD RPM support for MSM8936

2020-06-13 Thread Vincent Knecht
compatible Vincent Knecht (3): clk: qcom: smd: Add support for MSM8936 rpm clocks dt-bindings: clock: rpmcc: Document MSM8936 compatible dt-bindings: soc: qcom: Document MSM8936 SMD RPM .../devicetree/bindings/clock/qcom,rpmcc.txt | 1 + .../bindings/soc/qcom/qcom,smd-rpm.txt| 1