Re: [PATCH] mm: slub: print_hex_dump() with DUMP_PREFIX_OFFSET

2019-09-21 Thread cl
On Sat, 21 Sep 2019, David Rientjes wrote: > I agree it looks nicer for poisoning, I'm not sure that every caller of > print_section() is the same, however. For example trace() seems better > off as DUMP_PREFIX_ADDRESS since it already specifies the address of the > object being allocated or free

[PATCH v3 3/4] arm64: dts: rockchip: add core dtsi file for PX30 SoCs

2018-08-01 Thread cl
From: Liang Chen This patch adds core dtsi file for Rockchip PX30 SoCs. Signed-off-by: Liang Chen --- arch/arm64/boot/dts/rockchip/px30.dtsi | 2043 1 file changed, 2043 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/px30.dtsi diff --git a/arch

[PATCH v3 4/4] arm64: dts: rockchip: add PX30 eavluation board devicetree

2018-08-01 Thread cl
From: Liang Chen This patch add px30-evb.dts for PX30 evaluation board. Tested on PX30 evb. Acked-by: Rob Herring Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/arm/rockchip.txt | 4 + arch/arm64/boot/dts/rockchip/Makefile | 1 + arch/arm64/boot/dts/rockchip/

[PATCH v3 2/4] dt-bindings: rockchip: grf: add grf and pmugrf description for px30

2018-08-01 Thread cl
From: Liang Chen This patch adds the compatible of GRF and PMUGRF for PX30 SoCs. Acked-by: Rob Herring Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/soc/rockchip/grf.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.

[PATCH v3 0/4] arm64: dts: rockchip: add basic dts file for PX30 SoCs

2018-08-01 Thread cl
From: Liang Chen Changes in v3: 1. backlight: remove properties ,, , as the driver will compute a default table. Changes in V2: 1. change the subject to format "dt-bindings: module: ..." for the documents. 2. use new property for backlight. 3. remove pinctrl of rk809, because the driver is not

[PATCH v3 1/4] dt-bindings: usb: dwc2: add description for px30

2018-08-01 Thread cl
From: Liang Chen This patch adds the compatible of dwc2 for PX30 SoCs. Acked-by: Rob Herring Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/usb/dwc2.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt b/Documentation/devicet

[PATCH v2 6/6] arm64: dts: rockchip: add PX30 eavluation board devicetree

2018-07-23 Thread cl
From: Liang Chen This patch add px30-evb.dts for PX30 evaluation board. Tested on PX30 evb. Acked-by: Rob Herring Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/arm/rockchip.txt | 4 + arch/arm64/boot/dts/rockchip/Makefile | 1 + arch/arm64/boot/dts/rockchip/

[PATCH v2 5/6] arm64: dts: rockchip: add core dtsi file for PX30 SoCs

2018-07-23 Thread cl
From: Liang Chen This patch adds core dtsi file for Rockchip PX30 SoCs. Signed-off-by: Liang Chen --- arch/arm64/boot/dts/rockchip/px30.dtsi | 2043 1 file changed, 2043 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/px30.dtsi diff --git a/arch

[PATCH v2 1/6] dt-bindings: usb: dwc2: add description for px30

2018-07-23 Thread cl
From: Liang Chen This patch adds the compatible of dwc2 for PX30 SoCs. Acked-by: Rob Herring Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/usb/dwc2.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt b/Documentation/devicet

[PATCH v2 4/6] dt-bindings: rockchip: grf: add grf and pmugrf description for px30

2018-07-23 Thread cl
From: Liang Chen This patch adds the compatible of GRF and PMUGRF for PX30 SoCs. Acked-by: Rob Herring Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/soc/rockchip/grf.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.

[PATCH v2 3/6] dt-bindings: sound: rockchip-i2s: add description for px30

2018-07-23 Thread cl
From: Liang Chen Add "rockchip,px30-i2s", "rockchip,rk3066-i2s" for i2s on px30 platform. Acked-by: Rob Herring Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/sound/rockchip-i2s.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/sound/ro

[PATCH v2 2/6] dt-bindings: mmc: rockchip-dw-mshc: add description for px30

2018-07-23 Thread cl
From: Liang Chen Add "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc" for dwmmc on px30 platform. Acked-by: Rob Herring Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindi

[PATCH v2 0/6] arm64: dts: rockchip: add basic dts file for PX30 SoCs

2018-07-23 Thread cl
From: Liang Chen Changes in V2: 1. change the subject to format "dt-bindings: module: ..." for the documents. 2. use new property for backlight. 3. remove pinctrl of rk809, because the driver is not ready. Liang Chen (6): dt-bindings: usb: dwc2: add description for px30 dt-bindings: mmc: r

[PATCH v1 0/7] arm64: dts: rockchip: add basic dts file for PX30 SoCs

2018-07-17 Thread cl
From: Liang Chen Liang Chen (7): Documentation: usb: dwc2: add description for px30 Documentation: rockchip-dw-mshc: add description for px30 Documentation: spi-rockchip: add description for px30 Documentation: rockchip-i2s: add description for px30 Documentation: rockchip: grf: add grf

[PATCH v1 7/7] arm64: dts: rockchip: add PX30 eavluation board devicetree

2018-07-17 Thread cl
From: Liang Chen This patch add px30-evb.dts for PX30 evaluation board. Tested on PX30 evb. Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/arm/rockchip.txt | 4 + arch/arm64/boot/dts/rockchip/Makefile | 1 + arch/arm64/boot/dts/rockchip/px30-evb.dts |

[PATCH v1 6/7] arm64: dts: rockchip: add core dtsi file for PX30 SoCs

2018-07-17 Thread cl
From: Liang Chen This patch adds core dtsi file for Rockchip PX30 SoCs. Signed-off-by: Liang Chen --- arch/arm64/boot/dts/rockchip/px30.dtsi | 2044 1 file changed, 2044 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/px30.dtsi diff --git a/arch

[PATCH v1 5/7] Documentation: rockchip: grf: add grf and pmugrf description for px30

2018-07-17 Thread cl
From: Liang Chen This patch adds the compatible of GRF and PMUGRF for PX30 SoCs. Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/soc/rockchip/grf.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.txt b/Documentation/de

[PATCH v1 2/7] Documentation: rockchip-dw-mshc: add description for px30

2018-07-17 Thread cl
From: Liang Chen Add "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc" for dwmmc on px30 platform. Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/mmc/rockchip-dw-msh

[PATCH v1 4/7] Documentation: rockchip-i2s: add description for px30

2018-07-17 Thread cl
From: Liang Chen Add "rockchip,px30-i2s", "rockchip,rk3066-i2s" for i2s on px30 platform. Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/sound/rockchip-i2s.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/sound/rockchip-i2s.txt b/Docum

[PATCH v1 1/7] Documentation: usb: dwc2: add description for px30

2018-07-17 Thread cl
From: Liang Chen This patch adds the compatible of dwc2 for PX30 SoCs. Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/usb/dwc2.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/usb/dwc2.txt b/Documentation/devicetree/bindings/usb/dwc2.t

[PATCH v1 3/7] Documentation: spi-rockchip: add description for px30

2018-07-17 Thread cl
From: Liang Chen Add "rockchip,px30-spi", "rockchip,rk3066-spi" for spi on px30 platform. Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/spi/spi-rockchip.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/spi/spi-rockchip.txt b/Documenta

[PATCH v2 3/3] arm64: dts: rockchip: add cpu regulator for rk3328 evaluation board

2017-08-23 Thread cl
From: Liang Chen RK3328 Evaluation Board use rk805 pmic, and one of the DCDCs in rk805 is for cpu regulator, assign the cpu regulator, so the cpufreq can work fine. Signed-off-by: Liang Chen --- arch/arm64/boot/dts/rockchip/rk3328-evb.dts | 4 1 file changed, 4 insertions(+) diff --git a

[PATCH v1 0/3] Enable some devices for rk3328 evaluation board

2017-08-23 Thread cl
From: Liang Chen 1. enalbe sdio/sdmmc/emmc. 2. enable cpufreq. change in v2: 1. remove useless properties in mmc nodes. Liang Chen (3): arm64: dts: rockchip: add mmc nodes for rk3328 evaluation board cpufreq: rockchip: add support for rk3328 soc arm64: dts: rockchip: add cpu regulator fo

[PATCH v2 2/3] cpufreq: rockchip: add support for rk3328 soc

2017-08-23 Thread cl
From: Liang Chen Add compatible rockchip,rk3328 to the machines table to launch cpufreq-dt driver for rk3328 soc. Signed-off-by: Liang Chen --- drivers/cpufreq/cpufreq-dt-platdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufr

[PATCH v2 1/3] arm64: dts: rockchip: add mmc nodes for rk3328 evaluation board

2017-08-23 Thread cl
From: Liang Chen Rockchip's rk3328 evaluation board has 3 mmc controllers for sdio/sdmmc/emmc, let's enable them. Signed-off-by: Liang Chen --- arch/arm64/boot/dts/rockchip/rk3328-evb.dts | 66 + 1 file changed, 66 insertions(+) diff --git a/arch/arm64/boot/dts/roc

[PATCH v1 1/3] arm64: dts: rockchip: add mmc nodes for rk3328 evaluation board

2017-08-23 Thread cl
From: Liang Chen Rockchip's rk3328 evaluation board has 3 mmc controllers for sdio/sdmmc/emmc, let's enable them. Signed-off-by: Liang Chen --- arch/arm64/boot/dts/rockchip/rk3328-evb.dts | 74 + 1 file changed, 74 insertions(+) diff --git a/arch/arm64/boot/dts/roc

[PATCH v1 3/3] arm64: dts: rockchip: add cpu regulator for rk3328 evaluation board

2017-08-23 Thread cl
From: Liang Chen RK3328 Evaluation Board use rk805 pmic, and one of the DCDCs in rk805 is for cpu regulator, assign the cpu regulator, so the cpufreq can work fine. Signed-off-by: Liang Chen --- arch/arm64/boot/dts/rockchip/rk3328-evb.dts | 4 1 file changed, 4 insertions(+) diff --git a

[PATCH v1 2/3] cpufreq: rockchip: add support for rk3328 soc

2017-08-23 Thread cl
From: Liang Chen Add compatible rockchip,rk3328 to the machines table to launch cpufreq-dt driver for rk3328 soc. Signed-off-by: Liang Chen --- drivers/cpufreq/cpufreq-dt-platdev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/cpufreq-dt-platdev.c b/drivers/cpufreq/cpufr

[PATCH v1 0/3] Enable some devices for rk3328 evaluation board

2017-08-23 Thread cl
From: Liang Chen 1. enalbe sdio/sdmmc/emmc. 2. enable cpufreq. Liang Chen (3): arm64: dts: rockchip: add mmc nodes for rk3328 evaluation board cpufreq: rockchip: add support for rk3328 soc arm64: dts: rockchip: add cpu regulator for rk3328 evaluation board arch/arm64/boot/dts/rockchip/rk

[PATCH v4 6/6] dt-bindings: document rockchip rk3328-evb board

2017-03-27 Thread cl
From: Liang Chen Use "rockchip,rk3328-evb" compatible string for Rockchip RK3328 evaluation board. Signed-off-by: Liang Chen Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/rockchip.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/a

[PATCH v4 1/6] dt-bindings: iio: rockchip-saradc: add support for rk3328

2017-03-27 Thread cl
From: Liang Chen The rk3328 saradc is the same as rk3399. Signed-off-by: Liang Chen Reviewed-by: Heiko Stuebner Acked-by: Rob Herring --- Documentation/devicetree/bindings/iio/adc/rockchip-saradc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/iio/ad

[PATCH v4 0/6] initialize dtsi file and dts file for RK3328 SoCs

2017-03-27 Thread cl
From: Liang Chen Changes in v4: Remove some assigned-clocks as they should be inited in their respective device nodes. Changes in v3: Adjust some descriptions in dtsi. Changes in v2: Remove RK_FUNC_* in dtsi as it dose not help understand things better. Adjust the order of d

[PATCH v4 5/6] arm64: dts: rockchip: add dts file for RK3328

2017-03-27 Thread cl
From: Liang Chen This patch add rk3328-evb.dts for RK3328 evaluation board. Tested on RK3328 evb. Signed-off-by: Liang Chen --- arch/arm64/boot/dts/rockchip/Makefile | 1 + arch/arm64/boot/dts/rockchip/rk3328-evb.dts | 57 + 2 files changed, 58 insertions(+)

[PATCH v4 3/6] dt-bindings: soc: rockchip: grf: add support for rk3328

2017-03-27 Thread cl
From: Liang Chen Signed-off-by: Liang Chen Acked-by: Rob Herring --- Documentation/devicetree/bindings/soc/rockchip/grf.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.txt b/Documentation/devicetree/bindings/soc/rockchip/grf.txt index

[PATCH v4 4/6] arm64: dts: rockchip: add core dtsi file for RK3328 SoCs

2017-03-27 Thread cl
From: Liang Chen This patch adds core dtsi file for Rockchip RK3328 SoCs. Signed-off-by: Liang Chen --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 1275 ++ 1 file changed, 1275 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3328.dtsi diff --git a/

[PATCH v3 6/6] dt-bindings: document rockchip rk3328-evb board

2017-03-24 Thread cl
From: Liang Chen Use "rockchip,rk3328-evb" compatible string for Rockchip RK3328 evaluation board. Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/arm/rockchip.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/rockchip.txt b/Docu

[PATCH v3 5/6] arm64: dts: rockchip: add dts file for RK3328

2017-03-24 Thread cl
From: Liang Chen This patch add rk3328-evb.dts for RK3328 evaluation board. Tested on RK3328 evb. Signed-off-by: Liang Chen --- arch/arm64/boot/dts/rockchip/Makefile | 1 + arch/arm64/boot/dts/rockchip/rk3328-evb.dts | 57 + 2 files changed, 58 insertions(+)

[PATCH v3 4/6] arm64: dts: rockchip: add core dtsi file for RK3328 SoCs

2017-03-24 Thread cl
From: Liang Chen This patch adds core dtsi file for Rockchip RK3328 SoCs. Signed-off-by: Liang Chen --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 1286 ++ 1 file changed, 1286 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3328.dtsi diff --git a/

[PATCH v3 2/6] dt-bindings: i2c: rk3x: add support for rk3328

2017-03-24 Thread cl
From: Liang Chen The rk3328 i2c is the same as rk3399 Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/i2c/i2c-rk3x.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-rk3x.txt b/Documentation/devicetree/bindings/i2c/i2c-rk3x.txt in

[PATCH v3 3/6] dt-bindings: soc: rockchip: grf: add support for rk3328

2017-03-24 Thread cl
From: Liang Chen Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/soc/rockchip/grf.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.txt b/Documentation/devicetree/bindings/soc/rockchip/grf.txt index a0685c2..de8b983 10064

[PATCH v3 1/6] dt-bindings: iio: rockchip-saradc: add support for rk3328

2017-03-24 Thread cl
From: Liang Chen The rk3328 saradc is the same as rk3399. Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/iio/adc/rockchip-saradc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.txt b/Documentation/devicetree/bi

[PATCH v3 0/6] initialize dtsi file and dts file for RK3328 SoCs

2017-03-24 Thread cl
From: Liang Chen Changes in v3: Adjust some descriptions in dtsi. Changes in v2: Remove RK_FUNC_* in dtsi as it dose not help understand things better. Adjust the order of description in dt-bindings. v1: These patchs depend on pinctrl patchs as below: https://patchwork.kernel.org/p

[PATCH v2 3/6] dt-bindings: soc: rockchip: grf: add support for rk3328

2017-03-16 Thread cl
From: Liang Chen Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/soc/rockchip/grf.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.txt b/Documentation/devicetree/bindings/soc/rockchip/grf.txt index a0685c2..de8b983 10064

[PATCH v2 4/6] arm64: dts: rockchip: add core dtsi file for RK3328 SoCs

2017-03-16 Thread cl
From: Liang Chen This patch adds core dtsi file for Rockchip RK3328 SoCs. Signed-off-by: Liang Chen --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 1362 ++ 1 file changed, 1362 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3328.dtsi diff --git a/

[PATCH v2 6/6] dt-bindings: document rockchip rk3328-evb board

2017-03-16 Thread cl
From: Liang Chen Use "rockchip,rk3328-evb" compatible string for Rockchip RK3328 evaluation board. Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/arm/rockchip.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/rockchip.txt b/Docu

[PATCH v2 5/6] arm64: dts: rockchip: add dts file for RK3328

2017-03-16 Thread cl
From: Liang Chen This patch add rk3328-evb.dts for RK3328 evaluation board. Tested on RK3328 evb. Signed-off-by: Liang Chen --- arch/arm64/boot/dts/rockchip/Makefile | 1 + arch/arm64/boot/dts/rockchip/rk3328-evb.dts | 57 + 2 files changed, 58 insertions(+)

[PATCH v2 2/6] dt-bindings: i2c: rk3x: add support for rk3328

2017-03-16 Thread cl
From: Liang Chen The rk3328 i2c is the same as rk3399 Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/i2c/i2c-rk3x.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-rk3x.txt b/Documentation/devicetree/bindings/i2c/i2c-rk3x.txt in

[PATCH v2 0/6] initialize dtsi file and dts file for RK3328 SoCs

2017-03-16 Thread cl
From: Liang Chen Changes in v2: Remove RK_FUNC_* in dtsi as it dose not help understand things better. Adjust the order of description in dt-bindings. These patchs depend on pinctrl patchs as below: https://patchwork.kernel.org/patch/9566427/ https://patchwork.kernel.org/patch/9566425/

[PATCH v2 1/6] dt-bindings: iio: rockchip-saradc: add support for rk3328

2017-03-16 Thread cl
From: Liang Chen The rk3328 saradc is the same as rk3399. Signed-off-by: Liang Chen --- Documentation/devicetree/bindings/iio/adc/rockchip-saradc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.txt b/Documentation/devicetree/bi

[PATCH v1 7/7] dt-bindings: document rockchip rk3328-evb board

2017-03-15 Thread cl
From: Chen Liang Use "rockchip,rk3328-evb" compatible string for Rockchip RK3328 evaluation board. Signed-off-by: Chen Liang --- Documentation/devicetree/bindings/arm/rockchip.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/rockchip.txt b/Docu

[PATCH v1 5/7] arm64: dts: rockchip: add core dtsi file for RK3328 SoCs

2017-03-15 Thread cl
From: Chen Liang This patch adds core dtsi file for Rockchip RK3328 SoCs. Signed-off-by: Chen Liang --- arch/arm64/boot/dts/rockchip/rk3328.dtsi | 1362 ++ 1 file changed, 1362 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3328.dtsi diff --git a/

[PATCH v1 6/7] arm64: dts: rockchip: add dts file for RK3328 evaluation board

2017-03-15 Thread cl
From: Chen Liang This patch add rk3328-evb.dts for RK3328 evaluation board. Tested on RK3328 evb. Signed-off-by: Chen Liang --- arch/arm64/boot/dts/rockchip/Makefile | 1 + arch/arm64/boot/dts/rockchip/rk3328-evb.dts | 57 + 2 files changed, 58 insertions(+)

[PATCH v1 4/7] dt-bindings: soc: rockchip: grf: add support for rk3328

2017-03-15 Thread cl
From: Chen Liang Signed-off-by: Chen Liang --- Documentation/devicetree/bindings/soc/rockchip/grf.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.txt b/Documentation/devicetree/bindings/soc/rockchip/grf.txt index a0685c2..db4da0b 10064

[PATCH v1 3/7] dt-bindings: i2c: rk3x: add support for rk3328

2017-03-15 Thread cl
From: Chen Liang The rk3328 i2c is the same as rk3399 Signed-off-by: Chen Liang --- Documentation/devicetree/bindings/i2c/i2c-rk3x.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-rk3x.txt b/Documentation/devicetree/bindings/i2c/i2c-rk3x.txt in

[PATCH v1 0/7] initialize dtsi file and dts file for RK3328 SoCs

2017-03-15 Thread cl
From: Liang Chen These patchs depend on pinctrl patchs as below: https://patchwork.kernel.org/patch/9566427/ https://patchwork.kernel.org/patch/9566425/ https://patchwork.kernel.org/patch/9566431/ Chen Liang (7): include: dt-bindings: Add pin function index definition for rockchip pinctrl

[PATCH v1 2/7] dt-bindings: iio: rockchip-saradc: add support for rk3328

2017-03-15 Thread cl
From: Chen Liang The rk3328 saradc is the same as rk3399. Signed-off-by: Chen Liang --- Documentation/devicetree/bindings/iio/adc/rockchip-saradc.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/iio/adc/rockchip-saradc.txt b/Documentation/devicetree/bi

[PATCH v1 1/7] include: dt-bindings: Add pin function index definition for rockchip pinctrl

2017-03-15 Thread cl
From: Chen Liang The rk3328 soc need more pin function index for pinctrl. Signed-off-by: Chen Liang --- include/dt-bindings/pinctrl/rockchip.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/dt-bindings/pinctrl/rockchip.h b/include/dt-bindings/pinctrl/rockchip.h index aaec8ba..

[PATCH 2/2] HID: corsair: Add K40 support

2016-03-23 Thread =?UTF-8?q?Cl=C3=A9ment=20Vuchener?=
The Corsair K40 uses the same usage codes as the K90 for its special keys (although it has only 6 G-keys). Signed-off-by: Clément Vuchener --- drivers/hid/hid-core.c| 1 + drivers/hid/hid-corsair.c | 1 + drivers/hid/hid-ids.h | 1 + 3 files changed, 3 insertions(+) diff --git a/driver

[PATCH 1/2] HID: corsair: Remove all features using the USB protocol

2016-03-23 Thread =?UTF-8?q?Cl=C3=A9ment=20Vuchener?=
Remove every use of USB control requests since it can be more easily done in user space. This removes the dependency on USB and LED subsystems. The simplyfied driver now only remaps Corsair usage codes. Signed-off-by: Clément Vuchener --- Documentation/ABI/testing/sysfs-driver-hid-corsair | 1

[PATCH 0/2] hid: corsair: Driver simplification and new supported device

2016-03-23 Thread =?UTF-8?q?Cl=C3=A9ment=20Vuchener?=
I tried to add support for the K40 some time ago, but the vendor specific USB protocol became over-complicated because of a lot of small differences between the K90 and the K40. Also, since I wrote the first version of this driver, I learned that USB control transfers could be done from user-spa

[PATCH] HID: corsair: fix mapping of non-keyboard usages

2016-02-16 Thread =?UTF-8?q?Cl=C3=A9ment=20Vuchener?=
This fixes a bug where the Volume Up key was ignored because it uses the same usage code as G18. Special Corsair usage codes are in the keyboard page, other pages should be left to the generic driver. Signed-off-by: Clément Vuchener --- drivers/hid/hid-corsair.c | 3 +++ 1 file changed, 3 inse

[PATCH v3 1/1] Add Corsair Vengeance K90 driver

2015-09-17 Thread =?UTF-8?q?Cl=C3=A9ment=20Vuchener?=
This patch implements a HID driver for the Corsair Vengeance K90 keyboard. It fixes the behaviour of the keys using incorrect HID usage codes and exposes the macro playback mode and current profile to the user space through sysfs attributes. It also adds two LED class devices controlling the "re

[PATCH v3 0/1] Corsair Vengeance K90 driver

2015-09-17 Thread =?UTF-8?q?Cl=C3=A9ment=20Vuchener?=
I have split the special functions between backlight and macro functions. This should make it easier to test new devices. I think the macro functions will only be reused with the K95. While backlight is more common feature, though I have no idea it is done with other Corsair hardware. I have ch