Hi, Guenter
Best Regards!
Anson Huang
> -Original Message-
> From: Guenter Roeck [mailto:groe...@gmail.com] On Behalf Of Guenter
> Roeck
> Sent: 2019年2月28日 22:58
> To: Anson Huang ; catalin.mari...@arm.com;
> will.dea...@arm.com; w...@linux-watchdog.org; shawn...@
Hi, Rob/Eduardo
Best Regards!
Anson Huang
> -Original Message-
> From: Rob Herring [mailto:r...@kernel.org]
> Sent: 2019年2月28日 22:49
> To: Anson Huang
> Cc: mark.rutl...@arm.com; shawn...@kernel.org;
> s.ha...@pengutronix.de; ker...@pengutronix.de; feste...@gmail.c
Freescale MMDC (Multi Mode DDR Controller) driver is supported
since i.MX6Q, but not yet documented, this patch adds binding
doc for MMDC module driver.
Signed-off-by: Anson Huang
---
Changes since V3:
- add i.MX6QP compatible name.
---
.../bindings/memory-controllers/fsl/mmdc.txt
i.MX7ULP has a MMDC module to control DDR, it reuses
i.MX6Q's MMDC module, add support for it.
Signed-off-by: Anson Huang
Reviewed-by: Fabio Estevam
---
No change since V3.
---
arch/arm/boot/dts/imx7ulp.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boo
Node name should be generic, so use "memory-controller"
instead of "mmdc" for MMDC node name, also remove "mmdc"
label for platforms with single MMDC node.
Signed-off-by: Anson Huang
Reviewed-by: Fabio Estevam
---
No changes since V3.
---
arch/arm/boot/dts/imx6qd
Since i.MX7ULP B0 chip, the SNVS module is moved into M4
domain and its clock is also moved into PCC0 which is
contorlled by M4, Linux kernel should NOT add it into
clock tree.
Signed-off-by: Anson Huang
---
drivers/clk/imx/clk-imx7ulp.c | 1 -
1 file changed, 1 deletion(-)
diff --git a
Since i.MX7ULP B0 chip, SNVS module is moved into M4
domain, so remove it from Linux clock table.
Signed-off-by: Anson Huang
---
include/dt-bindings/clock/imx7ulp-clock.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/dt-bindings/clock/imx7ulp-clock.h
b/include/dt-bindings/clock
-Firmware, using SMC call, CPU will trap into
ARM-Trusted-Firmware and then it will request system controller
to do watchdog operation via IPC.
Signed-off-by: Anson Huang
---
Changes since V3:
- add ARM64 dependency for this driver;
- change SPDX license to GPL-2.0 to match module license
Enable CONFIG_IMX_SC_WDT as module to support i.MX system
controller watchdog.
Signed-off-by: Anson Huang
---
no changes.
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 2d9c390..690f4ba
Hi, Shawn
Best Regards!
Anson Huang
> -Original Message-
> From: Shawn Guo [mailto:shawn...@kernel.org]
> Sent: 2019年2月28日 11:19
> To: Anson Huang
> Cc: robh...@kernel.org; mark.rutl...@arm.com; s.ha...@pengutronix.de;
> ker...@pengutronix.de; feste...@gmail.com; mturq
Hi, Guenter
Best Regards!
Anson Huang
> -Original Message-
> From: Guenter Roeck [mailto:groe...@gmail.com] On Behalf Of Guenter
> Roeck
> Sent: 2019年2月27日 6:39
> To: Anson Huang
> Cc: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org;
> s.ha..
Hi, Fabio
Best Regards!
Anson Huang
> -Original Message-
> From: Fabio Estevam [mailto:feste...@gmail.com]
> Sent: 2019年2月28日 9:57
> To: Anson Huang
> Cc: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org;
> s.ha...@pengutronix.de; ker...@pengutr
i.MX7ULP has a MMDC module to control DDR, it reuses
i.MX6Q's MMDC module, add support for it.
Signed-off-by: Anson Huang
---
Changes since V2:
- remove mmdc label.
---
arch/arm/boot/dts/imx7ulp.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boo
Freescale MMDC (Multi Mode DDR Controller) driver is supported
since i.MX6Q, but not yet documented, this patch adds binding
doc for MMDC module driver.
Signed-off-by: Anson Huang
---
No changes since V2.
---
.../bindings/memory-controllers/fsl/mmdc.txt | 31 ++
1 file
Node name should be generic, so use "memory-controller"
instead of "mmdc" for MMDC node name, also remove "mmdc"
label for platforms with single MMDC node.
Signed-off-by: Anson Huang
---
Changes since V2:
- remove "mmdc" label for single MMDC node.
Hi, Fabio
Best Regards!
Anson Huang
> -Original Message-
> From: Fabio Estevam [mailto:feste...@gmail.com]
> Sent: 2019年2月28日 9:32
> To: Anson Huang
> Cc: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org;
> s.ha...@pengutronix.de; ker...@pengutr
Hi, Fabio
Best Regards!
Anson Huang
> -Original Message-
> From: Fabio Estevam [mailto:feste...@gmail.com]
> Sent: 2019年2月28日 3:50
> To: Anson Huang
> Cc: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org;
> s.ha...@pengutronix.de; ker...@pengutr
Node name should be generic, so use "memory-controller"
instead of "mmdc" for MMDC node name.
Signed-off-by: Anson Huang
---
arch/arm/boot/dts/imx6qdl.dtsi | 4 ++--
arch/arm/boot/dts/imx6sl.dtsi | 2 +-
arch/arm/boot/dts/imx6sx.dtsi | 2 +-
arch/arm/boot/dts/imx6ul.d
Freescale MMDC (Multi Mode DDR Controller) driver is supported
since i.MX6Q, but not yet documented, this patch adds binding
doc for MMDC module driver.
Signed-off-by: Anson Huang
---
Changes since V1:
- use "memory-controller" as MMDC node name and update examples.
---
..
i.MX7ULP has a MMDC module to control DDR, it reuses
i.MX6Q's MMDC module, add support for it.
Signed-off-by: Anson Huang
---
Changes since V1:
- use "memory-controller" as MMDC node name to make it more generic.
---
arch/arm/boot/dts/imx7ulp.dtsi | 6 ++
1
Hi, Rob
Best Regards!
Anson Huang
> -Original Message-
> From: Rob Herring [mailto:r...@kernel.org]
> Sent: 2019年2月28日 7:55
> To: Anson Huang
> Cc: mark.rutl...@arm.com; shawn...@kernel.org;
> s.ha...@pengutronix.de; ker...@pengutronix.de; feste...@gmail.com;
> ca
Freescale MMDC (Multi Mode DDR Controller) driver is supported
since i.MX6Q, but not yet documented, this patch adds binding
doc for MMDC module driver.
Signed-off-by: Anson Huang
---
.../bindings/memory-controllers/fsl/mmdc.txt | 27 ++
1 file changed, 27 insertions
i.MX7ULP has a MMDC module to control DDR, it reuses
i.MX6Q's MMDC module, add support for it.
Signed-off-by: Anson Huang
---
arch/arm/boot/dts/imx7ulp.dtsi | 6 ++
1 file changed, 6 insertions(+)
diff --git a/arch/arm/boot/dts/imx7ulp.dtsi b/arch/arm/boot/dts/imx7ulp.dtsi
index fc
Best Regards!
Anson Huang
> -Original Message-
> From: Aisheng Dong
> Sent: 2019年2月26日 20:01
> To: Anson Huang ; Eduardo Valentin
>
> Cc: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org;
> s.ha...@pengutronix.de; ker...@pengutronix.de; feste...@gmai
unit) IPC to get each thermal sensor's temperature,
it supports multiple sensors which are passed from device tree,
please see the binding doc for details.
Signed-off-by: Anson Huang
---
No changes since V9.
---
drivers/thermal/Kconfig | 11
drivers/thermal/Makefile
This patch enables CONFIG_IMX_SC_THERMAL as module.
Signed-off-by: Anson Huang
---
No changes.
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 2d9c390..52d503e 100644
--- a/arch/arm64/configs
Add i.MX8QXP CPU thermal zone support.
Signed-off-by: Anson Huang
---
Changes since V9:
- change #thermal-sensor-cells value in to 1, since there are other
thermal sensors inside system controller, it is just because there
are still
some issue, so system controller
, this patch adds
binding doc for i.MX system controller thermal driver.
Signed-off-by: Anson Huang
---
Changes since V9:
- change #thermal-sensor-cells value in example to 1, since there are
other
thermal sensors inside system controller, it is just because there
are still
i.MX8MQ has clock gate for each GPIO bank, add clock info
to GPIO node for clock management.
Signed-off-by: Anson Huang
---
No changes.
---
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
b/arch/arm64
i.MX8MQ has clock gate for each GPIO bank, add them
into clock tree for GPIO driver to manage.
Signed-off-by: Anson Huang
---
No changes, just rebase to clk-next.
---
drivers/clk/imx/clk-imx8mq.c | 5 +
include/dt-bindings/clock/imx8mq-clock.h | 8 +++-
2 files changed, 12
IMX_SC_R_M4_1_SIM
IMX_SC_R_M4_1_WDOG
Signed-off-by: Anson Huang
Reviewed-by: Dong Aisheng
---
include/dt-bindings/firmware/imx/rsrc.h | 15 ---
1 file changed, 15 deletions(-)
diff --git a/include/dt-bindings/firmware/imx/rsrc.h
b/include/dt-bindings/firmware/imx/rsrc.h
index 4481f2d
Add new resources as below according to latest system
controller firmware for new features:
IMX_SC_R_PERF
IMX_SC_R_OCRAM
IMX_SC_R_DMA_5_CH0
IMX_SC_R_DMA_5_CH1
IMX_SC_R_DMA_5_CH2
IMX_SC_R_DMA_5_CH3
IMX_SC_R_ATTESTATION
Signed-off-by: Anson
Add i.MX8QXP CPU opp table to support cpufreq.
Signed-off-by: Anson Huang
Acked-by: Viresh Kumar
---
No changes since V6.
---
arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 30 ++
1 file changed, 30 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale
uency scaling.
This patch adds i.MX system controller CPU frequency scaling support,
it reuses cpufreq-dt driver and implement the CPU frequency scaling
inside SCU clock driver.
Signed-off-by: Anson Huang
---
Changes since V6:
- add return fail to clk_scu_atf_set_cpu_rate() when the resour
Hi, Stephen
Best Regards!
Anson Huang
> -Original Message-
> From: Stephen Boyd [mailto:sb...@kernel.org]
> Sent: 2019年2月26日 1:22
> To: devicet...@vger.kernel.org; feste...@gmail.com;
> ker...@pengutronix.de; linux-arm-ker...@lists.infradead.org; linux-
> c...@vger
Hi, Guenter
Best Regards!
Anson Huang
> -Original Message-
> From: Guenter Roeck [mailto:groe...@gmail.com] On Behalf Of Guenter
> Roeck
> Sent: 2019年2月24日 11:20
> To: Anson Huang ; Rob Herring
> Cc: mark.rutl...@arm.com; shawn...@kernel.org;
> s.ha..
Hi, Guenter
Best Regards!
Anson Huang
> -Original Message-
> From: Guenter Roeck [mailto:groe...@gmail.com] On Behalf Of Guenter
> Roeck
> Sent: 2019年2月24日 11:29
> To: Anson Huang ; robh...@kernel.org;
> mark.rutl...@arm.com; shawn...@kernel.org; s.ha...@pen
Add i.MX8QXP system controller watchdog support.
Signed-off-by: Anson Huang
---
Changes since V2:
- add fallback compatilbe "fsl,imx-sc-wdt" for other i.MX platforms
with system
controller watchdog available;
- this patch depends on my thermal patch seri
-Firmware, using SMC call, CPU will trap into
ARM-Trusted-Firmware and then it will request system controller
to do watchdog operation via IPC.
Signed-off-by: Anson Huang
---
Changes since V2:
- improve watchdog_init_timeout() operation and error check, setting it
via module parameter
Enable CONFIG_IMX_SC_WDT as module to support i.MX system
controller watchdog.
Signed-off-by: Anson Huang
---
No changes since V2.
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 52d503e
and imx8qxp.dtsi patch are based on my thermal patch series as
below:
https://patchwork.kernel.org/patch/10827673/
Anson Huang (4):
dt-bindings: fsl: scu: add watchdog binding
watchdog: imx_sc: Add i.MX system controller watchdog support
arm64: defconfig: add support for i.MX system
Add i.MX8QXP system controller watchdog binding.
Signed-off-by: Anson Huang
---
Changes since V2:
- add fallback compatible "fsl,imx-sc-wdt" to cover other i.MX
platforms with system controller
watchdog available.
- this patch depends on my thermal patch seri
Hi, Guenter/Rob
Best Regards!
Anson Huang
> -Original Message-
> From: Guenter Roeck [mailto:groe...@gmail.com] On Behalf Of Guenter
> Roeck
> Sent: 2019年2月24日 1:08
> To: Rob Herring ; Anson Huang
> Cc: mark.rutl...@arm.com; shawn...@kernel.org;
> s.ha..
Hi, Eduardo
Best Regards!
Anson Huang
> -Original Message-
> From: Eduardo Valentin [mailto:edubez...@gmail.com]
> Sent: 2019年2月24日 5:39
> To: Anson Huang
> Cc: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org;
> s.ha...@pengutronix.de; ker...@pen
Hi, Eduardo
Best Regards!
Anson Huang
> -Original Message-
> From: Eduardo Valentin [mailto:edubez...@gmail.com]
> Sent: 2019年2月24日 5:38
> To: Anson Huang
> Cc: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org;
> s.ha...@pengutronix.de; ker...@pen
unit) IPC to get each thermal sensor's temperature,
it supports multiple sensors which are passed from device tree,
please see the binding doc for details.
Signed-off-by: Anson Huang
---
Changes since V8:
- get thermal zones number from "imx,sensor-resource-id" element cou
This patch enables CONFIG_IMX_SC_THERMAL as module.
Signed-off-by: Anson Huang
---
No changes.
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 2d9c390..52d503e 100644
--- a/arch/arm64/configs
Add i.MX8QXP CPU thermal zone support.
Signed-off-by: Anson Huang
---
Changes since V8:
- remove "#cooling-cells" since it is already included in cpu-freq opp
table patch:
https://patchwork.kernel.org/patch/10825081/
---
arch/arm64/boot/dts/freescale/imx8qxp
, this patch adds
binding doc for i.MX system controller thermal driver.
Signed-off-by: Anson Huang
Reviewed-by: Rob Herring
---
Changes since V8:
- improve "imx,sensor-resource-id" description to cover single and
multiple thermal zones.
---
.../devicetree/bindings/arm/fre
Add new resources as below according to latest system
controller firmware for new features:
IMX_SC_R_PERF
IMX_SC_R_OCRAM
IMX_SC_R_DMA_5_CH0
IMX_SC_R_DMA_5_CH1
IMX_SC_R_DMA_5_CH2
IMX_SC_R_DMA_5_CH3
IMX_SC_R_ATTESTATION
Signed-off-by: Anson
i.MX8MQ has clock gate for each GPIO bank, add clock info
to GPIO node for clock management.
Signed-off-by: Anson Huang
---
No change since V1, just drop 1 patch from V1 patch series.
---
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch
i.MX8MQ has clock gate for each GPIO bank, add them
into clock tree for GPIO driver to manage.
Signed-off-by: Anson Huang
---
No change since V1, just drop 1 patch from V1 patch series.
---
drivers/clk/imx/clk-imx8mq.c | 5 +
include/dt-bindings/clock/imx8mq-clock.h | 8
IMX_SC_R_M4_1_SIM
IMX_SC_R_M4_1_WDOG
Signed-off-by: Anson Huang
---
Changes since V3:
- just remove those unused resource and no need to define UNUSED
resource.
--
include/dt-bindings/firmware/imx/rsrc.h | 15 ---
1 file changed, 15 deletions(-)
diff --git a/include/dt-bindings
ation")
Signed-off-by: Anson Huang
---
drivers/gpio/gpio-mxc.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/gpio/gpio-mxc.c b/drivers/gpio/gpio-mxc.c
index 2d1dfa1..e86e61d 100644
--- a/drivers/gpio/gpio-mxc.c
+++ b/drivers/gpio/gpio-mxc.c
@@ -438,8 +438,11
Best Regards!
Anson Huang
> -Original Message-
> From: Anson Huang
> Sent: 2019年2月23日 11:04
> To: Lucas Stach ; robh...@kernel.org;
> mark.rutl...@arm.com; shawn...@kernel.org; s.ha...@pengutronix.de;
> ker...@pengutronix.de; feste...@gmail.com; mturque...@
Hi, Lucas
Best Regards!
Anson Huang
> -Original Message-
> From: Lucas Stach [mailto:l.st...@pengutronix.de]
> Sent: 2019年2月22日 18:55
> To: Anson Huang ; robh...@kernel.org;
> mark.rutl...@arm.com; shawn...@kernel.org; s.ha...@pengutronix.de;
> ker...@pengutronix.de;
Hi, Stehpen
Best Regards!
Anson Huang
> -Original Message-
> From: Stephen Boyd [mailto:sb...@kernel.org]
> Sent: 2019年2月23日 3:08
> To: devicet...@vger.kernel.org; feste...@gmail.com;
> ker...@pengutronix.de; linux-arm-ker...@lists.infradead.org; linux-
> c...@vger
driver.
Signed-off-by: Anson Huang
---
drivers/clk/imx/clk-imx8mq.c | 33 +++--
1 file changed, 7 insertions(+), 26 deletions(-)
diff --git a/drivers/clk/imx/clk-imx8mq.c b/drivers/clk/imx/clk-imx8mq.c
index 26b57f4..2df1575 100644
--- a/drivers/clk/imx/clk-imx8mq.c
i.MX8MQ has clock gate for each GPIO bank, add clock info
to GPIO node for clock management.
Signed-off-by: Anson Huang
---
arch/arm64/boot/dts/freescale/imx8mq.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8mq.dtsi
b/arch/arm64/boot/dts
i.MX8MQ has clock gate for each GPIO bank, add them
into clock tree for GPIO driver to manage.
Signed-off-by: Anson Huang
---
drivers/clk/imx/clk-imx8mq.c | 5 +
include/dt-bindings/clock/imx8mq-clock.h | 8 +++-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a
Hi, Stephen
Best Regards!
Anson Huang
> -Original Message-
> From: Stephen Boyd [mailto:sb...@kernel.org]
> Sent: 2019年2月22日 4:48
> To: devicet...@vger.kernel.org; feste...@gmail.com;
> ker...@pengutronix.de; linux-arm-ker...@lists.infradead.org; linux-
> c...@vger
Add i.MX8QXP CPU opp table to support cpufreq.
Signed-off-by: Anson Huang
Acked-by: Viresh Kumar
---
No changes.
---
arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 30 ++
1 file changed, 30 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
b/arch
uency scaling.
This patch adds i.MX system controller CPU frequency scaling support,
it reuses cpufreq-dt driver and implement the CPU frequency scaling
inside SCU clock driver.
Signed-off-by: Anson Huang
---
No changes compared to last version, just redo patch based on clk-next to fix
patch conf
On i.MX8QXP, SCU uses MU1 general interrupt channel #3 to notify
user for IRQs of RTC alarm, thermal alarm and WDOG etc., mailbox
RX doorbell mode is used for this function, this patch adds
support for it.
Signed-off-by: Anson Huang
---
Changes since V3:
- rename "gi3"
Add scu general interrupt function support.
Signed-off-by: Anson Huang
Reviewed-by: Rob Herring
---
Changes since V3:
- make general MU interrupt channel as optional;
- rename "gi3" to "gip3" according to driver/dts change.
---
.../devicetree/bindings/arm/f
le to handle the interrupt.
Since there is no data transmission for SCU IRQ notification, so
doorbell mode is used for this MU channel, and SCU driver will
use notifier mechanism to broadcast to every module which registers
the SCU block notifier.
Signed-off-by: Anson Huang
---
Changes sin
irq event and notify
system controller RTC driver to handle the irq event.
Signed-off-by: Anson Huang
---
No changes since V3.
---
drivers/rtc/rtc-imx-sc.c | 112 +++
1 file changed, 112 insertions(+)
diff --git a/drivers/rtc/rtc-imx-sc.c b/drivers/rtc
Add i.MX8QXP CPU thermal zone support.
Signed-off-by: Anson Huang
---
Changes since V7:
- move the "imx,sensor-resource-id" to scu tsens node;
- correct #thermal-sensor-cells value to be 0 as there is ONLY one
thermal zone now;
- add cooling map for pa
This patch enables CONFIG_IMX_SC_THERMAL as module.
Signed-off-by: Anson Huang
---
No change.
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 2d9c390..52d503e 100644
--- a/arch/arm64/configs
unit) IPC to get each thermal sensor's temperature,
it supports multiple sensors which are passed from device tree,
please see the binding doc for details.
Signed-off-by: Anson Huang
---
Changes since V7:
- remove unused structure imx_sc_thermal_data to simply the driver;
- mov
, this patch adds
binding doc for i.MX system controller thermal driver.
Signed-off-by: Anson Huang
Reviewed-by: Rob Herring
---
Changes since V7:
- remove unused property "tsens-num";
- improve the compatible description;
- update examples according to lates
Add new resources as below according to latest system
controller firmware for new features:
IMX_SC_R_PERF
IMX_SC_R_OCRAM
IMX_SC_R_DMA_5_CH0
IMX_SC_R_DMA_5_CH1
IMX_SC_R_DMA_5_CH2
IMX_SC_R_DMA_5_CH3
IMX_SC_R_ATTESTATION
Signed-off-by: Anson
IMX_SC_R_M4_1_SIM
IMX_SC_R_M4_1_WDOG
Signed-off-by: Anson Huang
---
No changes since V2, just separate the patch to 2, 1 patch to remove resources
and the other is to add new
resources.
---
include/dt-bindings/firmware/imx/rsrc.h | 30 +++---
1 file changed, 15 insertions
IMX_SC_R_M4_1_WDOG
and also add below resources to support new features:
IMX_SC_R_PERF
IMX_SC_R_OCRAM
IMX_SC_R_DMA_5_CH0
IMX_SC_R_DMA_5_CH1
IMX_SC_R_DMA_5_CH2
IMX_SC_R_DMA_5_CH3
IMX_SC_R_ATTESTATION
Signed-off-by: Anson Huang
---
No changes since V1
Best Regards!
Anson Huang
> -Original Message-
> From: Aisheng Dong
> Sent: 2019年2月20日 15:45
> To: Anson Huang ; mark.rutl...@arm.com;
> shawn...@kernel.org; s.ha...@pengutronix.de; ker...@pengutronix.de;
> feste...@gmail.com; catalin.mari...@arm.com; will.dea...
Add i.MX8QXP CPU thermal zone support.
Signed-off-by: Anson Huang
---
Changes since V6:
- add fallback compatible string "fsl,imx-sc-thermal" according to i.MX
SC thermal driver
update.
---
arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 28 ++
This patch enables CONFIG_IMX_SC_THERMAL as module.
Signed-off-by: Anson Huang
---
No changes since V6.
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 2d9c390..52d503e 100644
--- a/arch/arm64
unit) IPC to get each thermal sensor's temperature,
it supports multiple sensors which are passed from device tree,
please see the binding doc for details.
Signed-off-by: Anson Huang
---
Changes since V6:
- use "fsl,imx-sc-thermal" compatible to make SC thermal driver mo
, this patch adds
binding doc for i.MX system controller thermal driver.
Signed-off-by: Anson Huang
Reviewed-by: Rob Herring
---
Changes since V6:
- put "imx,sensor-resource-id" property in thermal zone nodes.
---
.../devicetree/bindings/arm/freescale/fsl,scu
Best Regards!
Anson Huang
> -Original Message-
> From: Aisheng Dong
> Sent: 2019年2月20日 11:43
> To: Anson Huang ; robh...@kernel.org;
> mark.rutl...@arm.com; shawn...@kernel.org; s.ha...@pengutronix.de;
> ker...@pengutronix.de; feste...@gmail.com; ulf.hans...@lin
Best Regards!
Anson Huang
> -Original Message-
> From: Aisheng Dong
> Sent: 2019年2月20日 11:27
> To: Anson Huang ; robh...@kernel.org;
> mark.rutl...@arm.com; shawn...@kernel.org; s.ha...@pengutronix.de;
> ker...@pengutronix.de; feste...@gmail.com; catalin.mari...@a
Best Regards!
Anson Huang
> -Original Message-
> From: Aisheng Dong
> Sent: 2019年2月20日 11:29
> To: Anson Huang ; robh...@kernel.org;
> mark.rutl...@arm.com; shawn...@kernel.org; s.ha...@pengutronix.de;
> ker...@pengutronix.de; feste...@gmail.com; ulf.hans...@lin
Hi, Marco
Best Regards!
Anson Huang
> -Original Message-
> From: Marco Felsch [mailto:m.fel...@pengutronix.de]
> Sent: 2019年2月19日 22:48
> To: Anson Huang
> Cc: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org;
> s.ha...@pengutronix.de; ker...@pen
Hi, Marco
Best Regards!
Anson Huang
> -Original Message-
> From: Marco Felsch [mailto:m.fel...@pengutronix.de]
> Sent: 2019年2月19日 20:52
> To: Anson Huang
> Cc: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org;
> s.ha...@pengutronix.de; ker...@pen
Update i.MX SCU resource ID table according to latest
system controller firmware.
Signed-off-by: Anson Huang
---
include/dt-bindings/firmware/imx/rsrc.h | 39 +++--
1 file changed, 22 insertions(+), 17 deletions(-)
diff --git a/include/dt-bindings/firmware/imx
Ping...
Best Regards!
Anson Huang
> -Original Message-
> From: Anson Huang
> Sent: 2019年2月13日 13:36
> To: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org;
> s.ha...@pengutronix.de; ker...@pengutronix.de; feste...@gmail.com;
> catalin.mari...@arm.com; w
irq event and notify
system controller RTC driver to handle the irq event.
Signed-off-by: Anson Huang
---
Changes since V2:
- add .read_alarm callback to make sure RTC set alarm work, system
controller firmware does
NOT support read alarm, so simply return 0;
- add rtc
Hi, Alexandre
Best Regards!
Anson Huang
> -Original Message-
> From: Alexandre Belloni [mailto:alexandre.bell...@bootlin.com]
> Sent: 2019年2月19日 5:58
> To: Anson Huang
> Cc: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org;
> s.ha...@pengutronix.de; ker
On i.MX8QXP, SCU uses MU1 general interrupt channel #3 to notify
user for IRQs of RTC alarm, thermal alarm and WDOG etc., mailbox
RX doorbell mode is used for this function, this patch adds
support for it.
Signed-off-by: Anson Huang
---
No change since V2.
---
arch/arm64/boot/dts/freescale
Add scu general interrupt function support.
Signed-off-by: Anson Huang
Reviewed-by: Rob Herring
---
No change since V2.
---
.../devicetree/bindings/arm/freescale/fsl,scu.txt | 18 --
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/Documentation/devicetree
le to handle the interrupt.
Since there is no data transmission for SCU IRQ notification, so
doorbell mode is used for this MU channel, and SCU driver will
use notifier mechanism to broadcast to every module which registers
the SCU block notifier.
Signed-off-by: Anson Huang
---
No change sin
Hi, Rob
Best Regards!
Anson Huang
> -Original Message-
> From: Rob Herring [mailto:r...@kernel.org]
> Sent: 2019年1月11日 22:52
> To: Anson Huang
> Cc: daniel.lezc...@linaro.org; t...@linutronix.de; mark.rutl...@arm.com;
> linux-kernel@vger.kernel.org; devicet...@vger.ke
Add i.MX8QXP system controller watchdog support.
Signed-off-by: Anson Huang
---
Changes since V1:
- use watchdog instead of wdog.
---
arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 4
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx8qxp.dtsi
b/arch
-Firmware, using SMC call, CPU will trap into
ARM-Trusted-Firmware and then it will request system controller
to do watchdog operation via IPC.
Signed-off-by: Anson Huang
---
Changes since V1:
- use watchdog_active() instead of comparing watchdog status directly;
- use devm_kzalloc instead
Enable CONFIG_IMX_SC_WDT as module to support i.MX system
controller watchdog.
Signed-off-by: Anson Huang
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 2d9c390..690f4ba 100644
--- a/arch
and imx8qxp.dtsi patch are based on my thermal patch series as
below:
https://patchwork.kernel.org/patch/10800699/
Anson Huang (4):
dt-bindings: fsl: scu: add watchdog binding
watchdog: imx_sc: Add i.MX system controller watchdog support
arm64: defconfig: add support for i.MX system
Add i.MX8QXP system controller watchdog binding.
Signed-off-by: Anson Huang
---
Changes since V1:
- update dts node name to "watchdog";
---
Documentation/devicetree/bindings/arm/freescale/fsl,scu.txt | 10 ++
1 file changed, 10 insertions(+)
diff --git a/Doc
Hi, Guenter
Best Regards!
Anson Huang
> -Original Message-
> From: Guenter Roeck [mailto:groe...@gmail.com] On Behalf Of Guenter
> Roeck
> Sent: 2019年2月18日 13:16
> To: Anson Huang ; robh...@kernel.org;
> mark.rutl...@arm.com; shawn...@kernel.org; s.ha...@pen
/10800699/
Anson Huang (4):
dt-bindings: fsl: scu: add watchdog binding
watchdog: imx_sc: Add i.MX system controller watchdog support
arm64: defconfig: add support for i.MX system controller watchdog
arm64: dts: freescale: imx8qxp: add watchdog support
.../devicetree/bindings/arm/freescale/fsl
Enable CONFIG_IMX_SC_WDT as module to support i.MX system
controller watchdog.
Signed-off-by: Anson Huang
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 2d9c390..690f4ba 100644
--- a/arch
1401 - 1500 of 2097 matches
Mail list logo