Re: [PATCH v2 5/9] i2c: zx2967: don't open code to reject transfers when suspended

2018-12-25 Thread Jun Nie
Wolfram Sang 于2018年12月23日周日 上午4:26写道: > > This is handled by the I2C core meanwhile. > > Signed-off-by: Wolfram Sang > --- > drivers/i2c/busses/i2c-zx2967.c | 8 > 1 file changed, 8 deletions(-) > Reviewed-by: Jun Nie

Re: [PATCH 2/2] interconnect: qcom: msm8939: remove rpm-ids from non-RPM nodes

2021-02-03 Thread Jun Nie
'Benjamin Li' via square 于2021年2月4日周四 上午12:34写道: > > Changes corresponding to commit c497f9322af9 ("interconnect: qcom: msm8916: > Remove rpm-ids from non-RPM nodes") to remove this log spam on 8939: > > [1.901376] qcom_icc_rpm_smd_send slv 24 error -6 > [2.005977] qcom_icc_rpm_smd_send ma

Re: [PATCH v2 0/2] Clean up MSM8939 interconnect driver

2021-02-04 Thread Jun Nie
ds from non-RPM nodes > > drivers/interconnect/qcom/icc-rpm.c | 4 ++-- > drivers/interconnect/qcom/msm8939.c | 16 > 2 files changed, 10 insertions(+), 10 deletions(-) > > -- > 2.17.1 > For 2 patches: Reviewed-by: Jun Nie

[PATCH v2 0/5] Consolidate RPM interconnect and support to MSM8939

2020-12-03 Thread Jun Nie
This patch set split shared RPM based interconnect operation code and add support to MSM8939 interconnect. Changes vs V1: - Rebase to latest icc code. - Remove unnecessary comment and info. - Fix some format issues. Jun Nie (5): interconnect: qcom: Consolidate interconnect RPM support

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

2020-12-03 Thread Jun Nie
providers. Signed-off-by: Jun Nie --- drivers/interconnect/qcom/Makefile | 2 +- drivers/interconnect/qcom/icc-rpm.c | 191 ++ drivers/interconnect/qcom/icc-rpm.h | 73 + drivers/interconnect/qcom/msm8916.c | 241 ++-- 4 files changed, 275

[PATCH v2 2/5] interconnect: qcom: qcs404: use shared code

2020-12-03 Thread Jun Nie
Use shared code for aggregate functionalities and probe function to remove duplicated code. Signed-off-by: Jun Nie --- drivers/interconnect/qcom/qcs404.c | 242 + 1 file changed, 8 insertions(+), 234 deletions(-) diff --git a/drivers/interconnect/qcom/qcs404.c b

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

2020-12-03 Thread Jun Nie
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. Signed-off-by: Jun Nie --- drivers/interconnect/qcom/Kconfig | 9

[PATCH v2 3/5] dt-bindings: interconnect: single yaml file for RPM interconnect drivers

2020-12-03 Thread Jun Nie
MSM8916 and QCS404 bindings are almost identical, so combine them into one. This will make it easier to add interconnect bindings for more SoC with RPM. Signed-off-by: Jun Nie Reviewed-by: Rob Herring --- .../bindings/interconnect/qcom,qcs404.yaml| 77 --- .../{qcom,msm8916

[PATCH v2 4/5] dt-bindings: interconnect: Add Qualcomm MSM8939 DT bindings

2020-12-03 Thread Jun Nie
The Qualcomm MSM8939 platform has several bus fabrics that could be controlled and tuned dynamically according to the bandwidth demand. Signed-off-by: Jun Nie Reviewed-by: Rob Herring --- .../bindings/interconnect/qcom,rpm.yaml | 4 + .../dt-bindings/interconnect/qcom,msm8939.h | 105

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

2020-12-06 Thread Jun Nie
AngeloGioacchino Del Regno 于2020年12月5日周六 上午2:04写道: > > Il 04/12/20 08:53, Jun Nie ha scritto: > > Add RPM based interconnect driver implements the set and aggregate > > functionalities that translates bandwidth requests into RPM messages. > > These modules provide a commo

Re: [PATCH 0/5] Consolidate RPM interconnect and support to MSM8939

2020-11-29 Thread Jun Nie
Georgi Djakov 于2020年11月26日周四 下午8:20写道: > > On 9/30/20 11:16, Jun Nie wrote: > > This patch set split shared RPM based interconnect operation code and add > > support to MSM8939 interconnect. > > > > Hi Jun, > > Are you planning to refresh this patchset? Yes.

Re: [PATCH] serial: amba-pl011: mark vendor_zte as __maybe_unused

2016-01-20 Thread Jun Nie
2016-01-20 18:40 GMT+08:00 Arnd Bergmann : > The pl011 driver has gone back and forth on the definition of the > ZTE specific variation of the hardware definitions, but the > current state is that the vendor definition is left in place > yet unused: > > drivers/tty/serial/amba-pl011.c:190:27: warni

Re: [PATCH] ARM: zx_defconfig: remove CONFIG_MMC_DW_IDMAC

2016-01-04 Thread Jun Nie
-by: Jun Nie -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] ARM: zx: Fix return value check in zx296702_pd_probe()

2016-02-08 Thread Jun Nie
; + return PTR_ERR(pcubase); } for (i = 0; i < ARRAY_SIZE(zx296702_pm_domains); ++i) Thanks for fixing this issue. Reviewed-by: Jun Nie

Re: [PATCH v2 1/2] soc: zte: pm_domains: Prepare for supporting ARMv8 2967 family

2016-12-06 Thread Jun Nie
2016-12-06 9:30 GMT+08:00 Baoyou Xie : > The ARMv8 2967 family (296718, 296716 etc) uses different value > for controlling the power domain on/off registers, Choose the > value depending on the compatible. > > Multiple domains are prepared for the family, they'are privated > by the drivers of board

Re: [PATCH v2 2/2] soc: zte: pm_domains: Add support for zx296718 board

2016-12-06 Thread Jun Nie
d_probe(struct platform_device *pdev) > +{ > + return zx_pd_probe(pdev, > + zx296718_pm_domains, > + ARRAY_SIZE(zx296718_pm_domains)); > +} > + > +static const struct of_device_id zx296718_pm_domain_matches[] = { > + { .compatible = "zte,zx296718-pcu", }, > + { }, > +}; > + > +static struct platform_driver zx296718_pd_driver = { > + .driver = { > + .name = "zx-powerdomain", > + .owner = THIS_MODULE, > + .of_match_table = zx296718_pm_domain_matches, > + }, > + .probe = zx296718_pd_probe, > +}; > + > +static int __init zx296718_pd_init(void) > +{ > + return platform_driver_register(&zx296718_pd_driver); > +} > +subsys_initcall(zx296718_pd_init); > -- > 2.7.4 > Reviewed-by: Jun Nie

Re: [PATCH v3 1/3] soc: zte: pm_domains: Prepare for supporting ARMv8 2967 family

2016-12-07 Thread Jun Nie
2016-12-07 14:13 GMT+08:00 Baoyou Xie : > The ARMv8 2967 family (296718, 296716 etc) uses different value > for controlling the power domain on/off registers, Choose the > value depending on the compatible. > > Multiple domains are prepared for the family, this patch prepares > the common functions

Re: [PATCH v1 3/3] watchdog: zx2967: add watchdog controller driver for ZTE's zx2967 family

2017-01-16 Thread Jun Nie
On 2017年01月16日 12:19, Baoyou Xie wrote: This patch adds watchdog controller driver for ZTE's zx2967 family. Signed-off-by: Baoyou Xie --- drivers/watchdog/Kconfig | 10 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/zx2967_wdt.c | 405 +

Re: [PATCH v1 3/3] thermal: zx2967: add thermal driver for ZTE's zx2967 family

2017-01-08 Thread Jun Nie
On 2017年01月07日 13:38, Baoyou Xie wrote: This patch adds thermal driver for ZTE's zx2967 family. Signed-off-by: Baoyou Xie --- drivers/thermal/Kconfig | 6 + drivers/thermal/Makefile | 1 + drivers/thermal/zx2967_thermal.c | 241 +++ 3 fi

Re: [PATCH v2] arm64: dts: zx: support cpu-freq for zx296718

2016-12-04 Thread Jun Nie
and uses operating-points-v2 to register operating points. >> > >> > So it can be used by cpufreq-dt driver. >> > >> > Signed-off-by: Baoyou Xie >> > --- >> > arch/arm64/boot/dts/zte/zx296718.dtsi | 39 ++ >> > + >> > 1 file changed, 39 insertions(+) Reviewed-by: Jun Nie > > Acked-by: Viresh Kumar > > -- > viresh

Re: [PATCH 1/2] soc: zte: pm_domains: Prepare for supporting ARMv8 2967 family

2016-12-04 Thread Jun Nie
2016-12-03 22:11 GMT+08:00 Baoyou Xie : > The ARMv8 2967 family (296718, 296716 etc) uses different value > for controlling the power domain on/off registers, Choose the > value depending on the compatible. > > Multiple domains are prepared for the family, it's privated by > the drivers of boards.

Re: [PATCH 2/2] soc: zte: pm_domains: Add support for zx296718 driver

2016-12-04 Thread Jun Nie
2016-12-03 22:11 GMT+08:00 Baoyou Xie : > This patch introduces the power domain driver of zx296718 > which belongs to zte's 2967 family. > > Signed-off-by: Baoyou Xie > --- > drivers/soc/zte/Makefile | 3 + > drivers/soc/zte/zx296718_pm_domains.c | 162 > +

Re: [PATCH] arm64: dts: add zx296718's topcrm node

2016-11-30 Thread Jun Nie
2016-11-30 15:33 GMT+08:00 Baoyou Xie : > Enable topcrm clock node for zx296718, which is used for > CPU's frequency change. Please follow general rule, such as arm64: dts: zx: brief title of your changes > > Furthermore, this patch adds the CPU clock phandle in CPU's node > and uses operating-po

Re: [PATCH v2] arm64: dts: zx: add zx296718's topcrm node

2016-11-30 Thread Jun Nie
2016-11-30 17:50 GMT+08:00 Baoyou Xie : > Enable topcrm clock node for zx296718, which is used for > CPU's frequency change. Please reference other device tree patches title to add a simple title with category information. Such as arm64: dts: uniphier: change MIO node to SD control node > > Furth

Re: [PATCH v6 3/3] i2c: zx2967: add i2c controller driver for ZTE's zx2967 family

2017-02-13 Thread Jun Nie
On 2017年02月09日 17:32, Baoyou Xie wrote: This patch adds i2c controller driver for ZTE's zx2967 family. Signed-off-by: Baoyou Xie Reviewed-by: Shawn Guo --- drivers/i2c/busses/Kconfig | 9 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-zx2967.c | 676 +

Re: [PATCH v7 3/3] i2c: zx2967: add i2c controller driver for ZTE's zx2967 family

2017-02-18 Thread Jun Nie
2017-02-16 14:00 GMT+08:00 Baoyou Xie : > This patch adds i2c controller driver for ZTE's zx2967 family. > > Signed-off-by: Baoyou Xie > Reviewed-by: Shawn Guo > Reviewed-by: Andy Shevchenko Reviewed-by: Jun Nie

Re: [PATCH v4 3/3] ASoC: zx-i2s: introduce pclk for zx2967 family

2017-02-09 Thread Jun Nie
lk to make it clear. Signed-off-by: Baoyou Xie --- Reviewed-by: Jun Nie

Re: [RFT PATCH 1/2] ASoC: zx: i2s: Fix devm_ioremap_resource return value check

2015-07-10 Thread Jun Nie
;); > - return -EIO; > + return PTR_ERR(zx_i2s->reg_base); > } > > writel_relaxed(0, zx_i2s->reg_base + ZX_I2S_FIFO_CTRL); > -- > 2.1.4 > Reviewed-by: Jun Nie -- To unsubscribe from this list: send the line "unsubscribe l

Re: [RFT PATCH 2/2] ASoC: zx: spdif: Fix devm_ioremap_resource return value check

2015-07-11 Thread Jun Nie
dev->dev, "ioremap failed!\n"); > - return -EIO; > + return PTR_ERR(zx_spdif->reg_base); > } > > zx_spdif_dev_init(zx_spdif->reg_base); > -- > 2.1.4 > Reviewed-by: Jun Nie -- To unsubscribe from this list: send the line "unsubscribe l

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

2020-10-06 Thread Jun Nie
> > obj-$(CONFIG_INTERCONNECT_QCOM_SMD_RPM) += icc-smd-rpm.o > > +obj-$(CONFIG_INTERCONNECT_QCOM_SMD_RPM) += icc-smd-rpm.o > > Duplicate ? > > Thanks for msm8939 work, please Cc: me on any related patch :-) > > OK, will CC you on next version. This issue should be a typo in vim. Thanks for reminde

[PATCH v3 2/2] soc: qcom: rpmpd: Add MSM8939 power-domains

2020-09-30 Thread Jun Nie
Add the shared modemcx/cx/mx power-domains found on MSM8939. Signed-off-by: Jun Nie --- drivers/soc/qcom/rpmpd.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/drivers/soc/qcom/rpmpd.c b/drivers/soc/qcom/rpmpd.c index daeea119d48a..3887d57a5a15 100644 --- a

[PATCH v3 1/2] dt-bindings: power: rpmpd: Add MSM8939 RPM power domains

2020-09-30 Thread Jun Nie
MSM8939 has three RPM power domains: VDDCX and VDDMX and VDDMDCX. Add the device tree bindings to manage them through rpmpd. Signed-off-by: Jun Nie --- .../devicetree/bindings/power/qcom,rpmpd.yaml | 1 + include/dt-bindings/power/qcom-rpmpd.h | 10 ++ 2 files

[PATCH v3 0/2] Add MSM8939 RPM power domains

2020-09-30 Thread Jun Nie
Add MSM8939 RPM power domains and associated document. This is based on Stephan's patch set to reuse max state definition: https://lore.kernel.org/linux-arm-msm/20200916104135.25085-1-step...@gerhold.net/ Changes vs v2: - fix max power domain state value. - trim code layout. Jun Nie (2):

[PATCH 4/5] dt-bindings: interconnect: Add Qualcomm MSM8939 DT bindings

2020-09-30 Thread Jun Nie
The Qualcomm MSM8939 platform has several bus fabrics that could be controlled and tuned dynamically according to the bandwidth demand. Signed-off-by: Jun Nie --- .../bindings/interconnect/qcom,rpm.yaml | 4 + .../dt-bindings/interconnect/qcom,msm8939.h | 105 ++ 2

[PATCH 3/5] dt-bindings: interconnect: single yaml file for RPM interconnect drivers

2020-09-30 Thread Jun Nie
MSM8916 and QCS404 bindings are almost identical, so combine them into one. This will make it easier to add interconnect bindings for more SoC with RPM. Signed-off-by: Jun Nie --- .../bindings/interconnect/qcom,qcs404.yaml| 77 --- .../{qcom,msm8916.yaml => qcom,rpm.y

[PATCH 2/5] interconnect: qcom: qcs404: use shared code

2020-09-30 Thread Jun Nie
Use shared code for aggregate functionalities and probe function to remove duplicated code. Signed-off-by: Jun Nie --- drivers/interconnect/qcom/qcs404.c | 242 + 1 file changed, 8 insertions(+), 234 deletions(-) diff --git a/drivers/interconnect/qcom/qcs404.c b

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

2020-09-30 Thread Jun Nie
providers. Signed-off-by: Jun Nie --- drivers/interconnect/qcom/Makefile | 3 +- drivers/interconnect/qcom/icc-rpm.c | 194 ++ drivers/interconnect/qcom/icc-rpm.h | 73 + drivers/interconnect/qcom/msm8916.c | 241 ++-- 4 files changed, 279

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

2020-09-30 Thread Jun Nie
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. Signed-off-by: Jun Nie --- drivers/interconnect/qcom/Kconfig | 9

[PATCH 0/5] Consolidate RPM interconnect and support to MSM8939

2020-09-30 Thread Jun Nie
This patch set split shared RPM based interconnect operation code and add support to MSM8939 interconnect. Jun Nie (5): interconnect: qcom: Consolidate interconnect RPM support interconnect: qcom: qcs404: use shared code dt-bindings: interconnect: single yaml file for RPM interconnect

Re: [PATCH -next] ARM: zx: remove redundant dev_err call in zx296702_pd_probe()

2020-07-28 Thread Jun Nie
1 file changed, 1 deletion(-) > Reviewed-by: Jun Nie

Re: [PATCH] ARM: dts: zx: Align L2 cache-controller nodename with dtschema

2020-06-27 Thread Jun Nie
tof Kozlowski > --- > arch/arm/boot/dts/zx296702.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Reviewed-by: Jun Nie