RE: [PATCH v13 0/5] Add i.MX8MQ clock driver

2018-11-28 Thread Aisheng DONG
> -Original Message- > From: Stephen Boyd [mailto:sb...@kernel.org] [...] > > > > Changes since v12: > > * replaced the division in clk_pll_recalc_rate in clk-frac > >with do_div as suggested by Stephen > > > > Abel Vesa (2): > > clk: imx: Add imx composite clock > > clk: imx: Add

RE: [PATCH V6 0/9] clk: add imx7ulp clk support

2018-12-03 Thread Aisheng DONG
> -Original Message- > From: Stephen Boyd [mailto:sb...@kernel.org] > Sent: Tuesday, December 4, 2018 3:32 AM > To: Aisheng DONG ; linux-...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; > mturque...@baylibre.com; shawn...@kerne

RE: [PATCH V6 0/2] can: flexcan: add can self wakeup support

2018-11-23 Thread Aisheng DONG
> -Original Message- > From: Joakim Zhang > Sent: Friday, November 23, 2018 4:35 PM > To: linux-...@vger.kernel.org; m...@pengutronix.de; robh...@kernel.org > Cc: w...@grandegger.com; mark.rutl...@arm.com; devicet...@vger.kernel.org; > linux-kernel@vger.kernel.org; dl-linux-imx ; Joakim >

RE: [PATCH V3 1/1] can: flexcan: Add self wakeup support

2018-11-20 Thread Aisheng DONG
> -Original Message- > From: Joakim Zhang [...] > > If wakeup is enabled, enter stop mode, else enter disabled mode.Self wake can > only work on stop mode. > > Starting from IMX6, the flexcan stop mode control bits is SoC specific, move > it > out of IP driver and parse it from

RE: [PATCH V4 1/1] can: flexcan: add self wakeup support

2018-11-21 Thread Aisheng DONG
This mostly looks good to me. A few minor comments > -Original Message- > From: Joakim Zhang > Sent: Wednesday, November 21, 2018 8:32 PM > To: linux-...@vger.kernel.org; m...@pengutronix.de > Cc: w...@grandegger.com; linux-kernel@vger.kernel.org; dl-linux-imx > ; Ais

RE: [PATCH V4 1/1] can: flexcan: add self wakeup support

2018-11-21 Thread Aisheng DONG
> -Original Message- > From: Aisheng DONG > Sent: Wednesday, November 21, 2018 9:00 PM > To: Joakim Zhang ; linux-...@vger.kernel.org; > m...@pengutronix.de > Cc: w...@grandegger.com; linux-kernel@vger.kernel.org; dl-linux-imx > > Subject: RE: [PATCH V4 1/1] can:

RE: [PATCH V3 1/1] can: flexcan: Add self wakeup support

2018-11-22 Thread Aisheng DONG
[...] > >> @@ > >> -1437,10 +1552,18 @@ static int __maybe_unused flexcan_suspend(struct > >> device *device) > >>int err = 0; > >> > >>if (netif_running(dev)) { > >> - err = flexcan_chip_disable(priv); > >> - if (err) > >> - return err; > >> -

RE: [PATCH V4 1/1] can: flexcan: add self wakeup support

2018-11-21 Thread Aisheng DONG
[...] > + > +static int __maybe_unused flexcan_noirq_suspend(struct device *device) > +{ > + struct net_device *dev = dev_get_drvdata(device); > + struct flexcan_priv *priv = netdev_priv(dev); > + > + if (netif_running(dev) && device_may_wakeup(device)) > +

RE: [PATCH V3 4/4] ARM64: dts: imx: add i.MX8QXP system controller RTC support

2018-11-28 Thread Aisheng DONG
[...] > Subject: [PATCH V3 4/4] ARM64: dts: imx: add i.MX8QXP system controller RTC > support > > Add i.MX8QXP system controller RTC support. > > Signed-off-by: Anson Huang > --- > arch/arm64/boot/dts/freescale/imx8qxp.dtsi | 4 > 1 file changed, 4 insertions(+) > > diff --git

RE: [PATCH V3 2/4] rtc: add i.MX system controller RTC support

2018-11-28 Thread Aisheng DONG
> -Original Message- > From: Anson Huang > Sent: Wednesday, November 28, 2018 5:57 PM [...] > Subject: [PATCH V3 2/4] rtc: add i.MX system controller RTC support > > i.MX8QXP is an ARMv8 SoC which has a Cortex-M4 system controller inside, > the system controller is in charge of

RE: [PATCH V3 1/4] dt-bindings: rtc: add binding doc for i.MX system controller RTC driver

2018-11-28 Thread Aisheng DONG
> diff --git a/Documentation/devicetree/bindings/rtc/rtc-imx-sc.txt > b/Documentation/devicetree/bindings/rtc/rtc-imx-sc.txt > new file mode 100644 > index 000..d6e2353 > --- /dev/null > +++ b/Documentation/devicetree/bindings/rtc/rtc-imx-sc.txt This should belong to scu binding doc. Regards

RE: [PATCH] imx: select SOC_BUS to fix firmware build

2021-01-17 Thread Aisheng Dong
> From: Randy Dunlap > Sent: Saturday, January 16, 2021 11:33 AM > Subject: [PATCH] imx: select SOC_BUS to fix firmware build Patch title probably is better to be: firmware: imx: x Otherwise: Reviewed-by: Dong Aisheng Regards Aisheng > > Fix build error in firmware/imx/ selecting

RE: [PATCH] opp: Don't always remove static OPPs in _of_add_opp_table_v1()

2020-10-14 Thread Aisheng Dong
e multiple calls for same OPP table in > _of_add_opp_table_v1()") > Reported-by: Aisheng Dong > Signed-off-by: Viresh Kumar Tested-by: Dong Aisheng Regards Aisheng > --- > drivers/opp/of.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/opp/of.c b/

RE: [PATCH V2 1/4] dt-bindings: fsl: add i.MX7ULP PMC

2020-09-16 Thread Aisheng Dong
> From: Peng Fan > Sent: Wednesday, September 16, 2020 10:49 AM > > Update fsl,imx7ulp-pm.yaml to include pmc > > Signed-off-by: Peng Fan > --- > .../devicetree/bindings/arm/freescale/fsl,imx7ulp-pm.yaml | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git >

RE: [PATCH V2 2/4] ARM: dts: imx7ulp: add pmc node

2020-09-16 Thread Aisheng Dong
> From: Peng Fan > Sent: Wednesday, September 16, 2020 10:49 AM > > Add i.MX7ULP pmc node for m4 and a7. > > Signed-off-by: Peng Fan > --- > arch/arm/boot/dts/imx7ulp.dtsi | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/arch/arm/boot/dts/imx7ulp.dtsi

RE: [PATCH V2 3/4] ARM: imx: imx7ulp: support HSRUN mode

2020-09-16 Thread Aisheng Dong
> From: Peng Fan > Sent: Wednesday, September 16, 2020 10:49 AM > > Configure PMPROT to let ARM core could run into HSRUN mode. > In LDO-enabled mode, HSRUN mode is not allowed, so add a check before > configure PMPROT. > > Signed-off-by: Peng Fan > --- > arch/arm/mach-imx/pm-imx7ulp.c | 15

RE: [PATCH V2 4/4] ARM: imx: cpuidle-imx7ulp: Stop mode disallowed when HSRUN

2020-09-16 Thread Aisheng Dong
> From: Peng Fan > Sent: Wednesday, September 16, 2020 10:49 AM > > When cpu runs in HSRUN mode, cpuidle is not allowed to run into Stop mode. > So add imx7ulp_get_mode to get thr cpu run mode, and use WAIT mode > instead, when cpu in HSRUN mode. > > Signed-off-by: Peng Fan > --- >

RE: Lockdep warning caused by "driver core: Fix sleeping in invalid context during device link deletion"

2020-08-24 Thread Aisheng Dong
> From: Saravana Kannan > Sent: Saturday, August 22, 2020 2:28 AM > > On Thu, Aug 20, 2020 at 8:50 PM Dong Aisheng > wrote: > > > > Hi ALL, > > > > We met the below WARNING during system suspend on an iMX6Q SDB board > > with the latest linus/master branch (v5.9-rc1+) and next-20200820. > >

RE: [PATCH 21/22] arm64: dts: imx8qxp: Remove i.MX7 compatible from USDHC

2020-08-24 Thread Aisheng Dong
> From: Krzysztof Kozlowski > Sent: Monday, August 24, 2020 12:16 AM > > The USDHC on i.MX 8QXP has its own compatible described in bindings and > used in the driver (with its own quirks). Remove additional fsl,imx7d-usdhc > compatible to fix dtbs_check warnings like: > >

RE: [PATCH v2 0/5] Add support of SECVIO from SNVS on iMX8q/x

2020-09-13 Thread Aisheng Dong
> From: Shawn Guo > Sent: Wednesday, August 19, 2020 9:23 PM > > On Tue, Aug 18, 2020 at 09:52:02AM +0200, Franck LENORMAND (OSS) wrote: > > Hello, > > > > Peng was able to do a firt pass of review on my patchset which led to > > this second version. I hope a maintainer will be able to take a

RE: [PATCH] ARM: imx7ulp: enable cpufreq

2020-09-11 Thread Aisheng Dong
> From: Peng Fan > Sent: Friday, September 11, 2020 11:32 AM > > > Enable cpufreq for i.MX7ULP when imx cpufreq dt driver enabled. > > Signed-off-by: Peng Fan Reviewed-by: Dong Aisheng Regards Aisheng

RE: [PATCH 1/4] dt-bindings: fsl: add i.MX7ULP PMC binding doc

2020-09-11 Thread Aisheng Dong
> From: Peng Fan > Sent: Friday, September 11, 2020 11:31 AM > > Add i.MX7ULP Power Management Controller binding doc > > Signed-off-by: Peng Fan > --- > .../bindings/arm/freescale/imx7ulp-pmc.yaml | 33 +++ > 1 file changed, 33 insertions(+) > create mode 100644 >

RE: [PATCH v3 06/14] dt-bindings: clock: imx8mp: Add hdmi blk_ctl clock IDs

2020-09-11 Thread Aisheng Dong
> From: Abel Vesa > Sent: Tuesday, September 8, 2020 6:25 PM > > These will be used by the imx8mp for blk_ctl driver. > > Signed-off-by: Abel Vesa > Acked-by: Rob Herring Reviewed-by: Dong Aisheng Regards Aisheng > --- > include/dt-bindings/clock/imx8mp-clock.h | 40 >

RE: [PATCH v3 03/14] dt-bindings: clock: imx8mp: Add ids for the audio shared gate

2020-09-11 Thread Aisheng Dong
> From: Abel Vesa > Sent: Tuesday, September 8, 2020 6:25 PM > > All these IDs are for one single HW gate (CCGR101) that is shared between > these > root clocks. > > Signed-off-by: Abel Vesa > Acked-by: Rob Herring Seems missed my tag. So: Reviewed-by: Dong Aisheng Regards Aisheng > ---

RE: [PATCH 1/4] dt-bindings: fsl: add i.MX7ULP PMC binding doc

2020-09-11 Thread Aisheng Dong
> From: Peng Fan > Sent: Friday, September 11, 2020 3:45 PM > > > Subject: RE: [PATCH 1/4] dt-bindings: fsl: add i.MX7ULP PMC binding > > doc > > > > > From: Peng Fan > > > Sent: Friday, September 11, 2020 11:31 AM > > > > > > Add i.MX7ULP Power Management Controller binding doc > > > > > >

RE: [PATCH RESEND] driver core: export device_is_bound() to fix build failure

2020-11-18 Thread Aisheng Dong
> From: Saravana Kannan > Sent: Thursday, November 19, 2020 6:22 AM > > On Wed, Nov 18, 2020 at 7:40 AM Aisheng Dong > wrote: > > > > > From: Greg Kroah-Hartman > > > Sent: Wednesday, November 18, 2020 6:46 PM > > > > > > On Wed, Nov 18,

RE: [PATCH RESEND] driver core: export device_is_bound() to fix build failure

2020-11-19 Thread Aisheng Dong
> From: Greg Kroah-Hartman > Sent: Thursday, November 19, 2020 9:10 PM > > On Thu, Nov 19, 2020 at 04:13:34AM +0000, Aisheng Dong wrote: > > > Long story short, either > > > > > > * Don't care about the power domain in your clock driver. > > &g

RE: [PATCH RESEND] driver core: export device_is_bound() to fix build failure

2020-11-19 Thread Aisheng Dong
> From: Greg Kroah-Hartman > Sent: Thursday, November 19, 2020 10:26 PM > > On Thu, Nov 19, 2020 at 02:09:42PM +0000, Aisheng Dong wrote: > > > From: Greg Kroah-Hartman > > > Sent: Thursday, November 19, 2020 9:10 PM > > > > > > On Thu, Nov

RE: [PATCH 1/3] driver core: simply go out if the same device_link is added again

2020-11-19 Thread Aisheng Dong
> From: Rafael J. Wysocki > Sent: Thursday, November 19, 2020 8:12 PM > > On Thu, Nov 19, 2020 at 12:18 PM Dong Aisheng > wrote: > > > > It's possible that the same device link may be added by parsing the > > function dependecy in DT. e.g. clock/gpio/regulators. > > Simply go out for this case.

RE: [PATCH] clk: imx: remove redundant assignment to pointer np

2020-10-29 Thread Aisheng Dong
> From: Colin King > Sent: Friday, October 30, 2020 6:40 AM > > Pointer np is being initialized with a value that is never read and it is > being > updated with a value later on. The initialization is redundant and can be > removed. > > Addresses-Coverity: ("Unused value") > Signed-off-by:

RE: [PATCH RESEND] driver core: export device_is_bound() to fix build failure

2020-11-18 Thread Aisheng Dong
Hi Greg, > From: Greg Kroah-Hartman > Sent: Monday, November 9, 2020 8:48 PM > > On Mon, Nov 09, 2020 at 12:26:55PM +0000, Aisheng Dong wrote: > > > From: Greg Kroah-Hartman > > > Sent: Monday, November 9, 2020 8:05 PM > > > > > > On Mon, Nov

RE: [PATCH RESEND] driver core: export device_is_bound() to fix build failure

2020-11-18 Thread Aisheng Dong
> From: Greg Kroah-Hartman > Sent: Wednesday, November 18, 2020 6:46 PM > > On Wed, Nov 18, 2020 at 10:23:42AM +0000, Aisheng Dong wrote: > > Hi Greg, > > > > > From: Greg Kroah-Hartman > > > Sent: Monday, November 9, 2020 8:48 PM > > > >

RE: [PATCH RESEND] driver core: export device_is_bound() to fix build failure

2020-11-09 Thread Aisheng Dong
Hi Greg, > From: Greg Kroah-Hartman > Sent: Monday, November 9, 2020 6:37 PM > Subject: Re: [PATCH RESEND] driver core: export device_is_bound() to fix build > failure > > On Mon, Nov 09, 2020 at 10:14:46AM +, Sudip Mukherjee wrote: > > Hi Greg, > > > > On Sun, Nov 8, 2020 at 8:23 AM Greg

RE: [PATCH RESEND] driver core: export device_is_bound() to fix build failure

2020-11-09 Thread Aisheng Dong
> From: Sudip Mukherjee > Sent: Monday, November 9, 2020 7:19 PM > > Hi Aisheng, > > On Mon, Nov 9, 2020 at 10:57 AM Aisheng Dong > wrote: > > > > Hi Greg, > > > > > From: Greg Kroah-Hartman > > > Sent: Monday, November 9, 2020 6:37

RE: [PATCH RESEND] driver core: export device_is_bound() to fix build failure

2020-11-09 Thread Aisheng Dong
> From: Greg Kroah-Hartman > Sent: Monday, November 9, 2020 7:41 PM > > On Mon, Nov 09, 2020 at 10:57:05AM +0000, Aisheng Dong wrote: > > Hi Greg, > > > > > From: Greg Kroah-Hartman > > > Sent: Monday, November 9, 2020 6:37 PM > > &

RE: [PATCH RESEND] driver core: export device_is_bound() to fix build failure

2020-11-09 Thread Aisheng Dong
> From: Greg Kroah-Hartman > Sent: Monday, November 9, 2020 8:05 PM > > On Mon, Nov 09, 2020 at 11:55:46AM +0000, Aisheng Dong wrote: > > > From: Greg Kroah-Hartman > > > Sent: Monday, November 9, 2020 7:41 PM > > > > > > On Mon, Nov 09, 2020 at

RE: [PATCH 1/2] pinctrl: imx: Support building SCU pinctrl driver as module

2020-09-07 Thread Aisheng Dong
> From: Anson Huang > Sent: Friday, July 17, 2020 5:53 PM > > Hi, Arnd > > > Subject: Re: [PATCH 1/2] pinctrl: imx: Support building SCU pinctrl > > driver as module > > > > On Fri, Jul 17, 2020 at 11:24 AM Anson Huang > > wrote: > > > > Subject: Re: [PATCH 1/2] pinctrl: imx: Support building

RE: [PATCH 1/2] pinctrl: imx: Support building SCU pinctrl driver as module

2020-09-07 Thread Aisheng Dong
> From: Anson Huang > Sent: Thursday, July 16, 2020 11:07 PM > Subject: [PATCH 1/2] pinctrl: imx: Support building SCU pinctrl driver as > module > > To support building i.MX SCU pinctrl driver as module, below things need to be > changed: > > - Export SCU related functions This line

RE: [PATCH 2/2] pinctrl: imx: Support building i.MX pinctrl driver as module

2020-09-07 Thread Aisheng Dong
> From: Anson Huang > Sent: Thursday, July 16, 2020 11:07 PM > Subject: [PATCH 2/2] pinctrl: imx: Support building i.MX pinctrl driver as > module > S/pinctrl driver/pinctrl core driver This also applies for Patch 1/2. > Change PINCTRL_IMX to tristate to support loadable module build. > >

RE: [PATCH V2 1/3] pinctrl: imx: Use function callbacks for SCU related functions

2020-09-07 Thread Aisheng Dong
> From: Anson Huang > Sent: Monday, September 7, 2020 8:33 PM > > Use function callbacks for SCU related functions in pinctrl-imx.c in order to > support the scenario of PINCTRL_IMX is built in while PINCTRL_IMX_SCU is built > as module, all drivers using SCU pinctrl driver need to initialize

RE: [PATCH V2 2/3] pinctrl: imx: Support building SCU pinctrl core driver as module

2020-09-07 Thread Aisheng Dong
> From: Anson Huang > Sent: Monday, September 7, 2020 8:33 PM > > Change PINCTR_IMX_SCU to tristate, remove unnecessary #ifdef and add > module author, description and license to support building SCU pinctrl core > driver as module. > > Signed-off-by: Anson Huang > --- > Changes since V1: >

RE: [PATCH V2 3/3] pinctrl: imx: Support building i.MX pinctrl core driver as module

2020-09-07 Thread Aisheng Dong
> From: Anson Huang > Sent: Monday, September 7, 2020 8:33 PM > > Change PINCTRL_IMX to tristate to support loadable module build. > > And i.MX common pinctrl driver should depend on CONFIG_OF to make sure no > build error when i.MX common pinctrl driver is enabled for different > architectures

RE: [PATCH V4 1/3] pinctrl: imx: Use function callbacks for SCU related functions

2020-09-08 Thread Aisheng Dong
> From: Anson Huang > Sent: Tuesday, September 8, 2020 4:12 PM > > Use function callbacks for SCU related functions in pinctrl-imx.c in order to > support the scenario of PINCTRL_IMX is built in while PINCTRL_IMX_SCU is built > as module, all drivers using SCU pinctrl driver need to initialize

RE: [PATCH V4 2/3] pinctrl: imx: Support building SCU pinctrl core driver as module

2020-09-08 Thread Aisheng Dong
> From: Anson Huang > Sent: Tuesday, September 8, 2020 4:12 PM > > Change PINCTR_IMX_SCU to tristate, add module author, description and > license to support building SCU pinctrl core driver as module. > > Signed-off-by: Anson Huang > --- > changes since V3: > - remove the prompt for

RE: [PATCH v3] dt-bindings: mailbox: fsl,mu: Add missing power-domains

2020-09-17 Thread Aisheng Dong
> From: Krzysztof Kozlowski > Sent: Friday, September 18, 2020 3:42 AM > > Add quite common property - power-domains - to fix dtbs_check warnings > like: > > arch/arm64/boot/dts/freescale/imx8qxp-mek.dt.yaml: > mailbox@5d28: 'power-domains' does not match any of the regexes: >

RE: [PATCH V3 1/4] gpio: mxc: Support module build

2020-10-13 Thread Aisheng Dong
Hi Shawn, > From: Anson Huang > Sent: Monday, October 12, 2020 7:36 PM > > Hi, Shawn > > > Subject: Re: [PATCH V3 1/4] gpio: mxc: Support module build > > > > On Thu, Sep 17, 2020 at 7:40 AM Anson Huang > > wrote: > > > > > Change config to tristate, add module device table, module author, >

RE: [PATCH 1/2] i2c: mxs: use devm_platform_ioremap_resource() to simplify code

2019-07-17 Thread Aisheng Dong
> From: anson.hu...@nxp.com > Sent: Wednesday, July 17, 2019 4:40 PM > > Use the new helper devm_platform_ioremap_resource() which wraps the > platform_get_resource() and devm_ioremap_resource() together, to simplify > the code. > > Signed-off-by: Anson Huang Reviewed-by: Dong Aisheng

RE: [PATCH 1/3] dt-bindings: Add Vendor prefix for Einfochips

2019-07-17 Thread Aisheng Dong
> From: Manivannan Sadhasivam > Sent: Wednesday, July 17, 2019 2:11 PM > > Add devicetree vendor prefix for Einfochips. > > > Signed-off-by: Manivannan Sadhasivam Reviewed-by: Dong Aisheng Regards Aisheng

RE: [PATCH] mmc: mxs: use devm_platform_ioremap_resource() to simplify code

2019-07-17 Thread Aisheng Dong
> From: anson.hu...@nxp.com > Sent: Wednesday, July 17, 2019 4:53 PM > > Use the new helper devm_platform_ioremap_resource() which wraps the > platform_get_resource() and devm_ioremap_resource() together, to simplify > the code. > > Signed-off-by: Anson Huang Reviewed-by: Dong Aisheng

RE: [PATCH 2/2] i2c: imx-lpi2c: use devm_platform_ioremap_resource() to simplify code

2019-07-17 Thread Aisheng Dong
> From: anson.hu...@nxp.com > Sent: Wednesday, July 17, 2019 4:40 PM > > Use the new helper devm_platform_ioremap_resource() which wraps the > platform_get_resource() and devm_ioremap_resource() together, to simplify > the code. > > Signed-off-by: Anson Huang Acked-by: Dong Aisheng Regards

RE: [PATCH 2/3] dt-bindings: arm: Document i.MX8QXP AI_ML board binding

2019-07-17 Thread Aisheng Dong
> From: Manivannan Sadhasivam > Sent: Wednesday, July 17, 2019 2:11 PM > > Document devicetree binding of i.MX8QXP AI_ML board from Einfochips. > > Signed-off-by: Manivannan Sadhasivam Reviewed-by: Dong Aisheng Regards Aisheng

RE: [PATCH 3/3] arm64: dts: freescale: Add support for i.MX8QXP AI_ML board

2019-07-17 Thread Aisheng Dong
> From: Manivannan Sadhasivam > Sent: Wednesday, July 17, 2019 2:11 PM > > Add support for i.MX8QXP AI_ML board from Einfochips. This board is one of > the Consumer Edition boards of the 96Boards family based on i.MX8QXP SoC > from NXP/Freescale. > > The initial support includes following

RE: [PATCH] rtc: snvs: fix possible race condition

2019-07-17 Thread Aisheng Dong
> From: anson.hu...@nxp.com > Sent: Tuesday, July 16, 2019 3:19 PM > > The RTC IRQ is requested before the struct rtc_device is allocated, this may > lead to a NULL pointer dereference in IRQ handler. > > To fix this issue, allocating the rtc_device struct before requesting the RTC > IRQ >

RE: [PATCH 1/3] firmware: imx: scu-pid: Rename mu PD range to mu_a

2019-07-17 Thread Aisheng Dong
> From: Daniel Baluta > Sent: Thursday, July 4, 2019 3:04 AM > Subject: [PATCH 1/3] firmware: imx: scu-pid: Rename mu PD range to mu_a s/pid/pd > > The Messaging Unit module enables two processors within the SoC to > communicate and coordinate by passing messages through the MU interface. > >

RE: [PATCH] clk: imx8: Add DSP related clocks

2019-07-17 Thread Aisheng Dong
> From: Daniel Baluta > Sent: Tuesday, July 2, 2019 11:20 PM > > i.MX8QXP contains Hifi4 DSP. There are four clocks associated with DSP: > * dsp_lpcg_core_clk > * dsp_lpcg_ipg_clk > * dsp_lpcg_adb_aclk > * ocram_lpcg_ipg_clk > > Signed-off-by: Daniel Baluta Reviewed-by: Dong Aisheng

RE: [PATCH] rtc: snvs: fix possible race condition

2019-07-17 Thread Aisheng Dong
> From: Anson Huang > Sent: Wednesday, July 17, 2019 9:58 PM> > Hi, Aisheng > > > > From: anson.hu...@nxp.com > > > Sent: Tuesday, July 16, 2019 3:19 PM > > > > > > The RTC IRQ is requested before the struct rtc_device is allocated, > > > this may lead to a NULL pointer dereference in IRQ

RE: [PATCH 3/3] arm64: dts: freescale: Add support for i.MX8QXP AI_ML board

2019-07-17 Thread Aisheng Dong
> > > +_lpuart1 { > > > + pinctrl-names = "default"; > > > + pinctrl-0 = <_lpuart1>; > > > + status = "okay"; > > > +}; > > > + > > > +/* Debug */ > > > +_lpuart2 { > > > + pinctrl-names = "default"; > > > + pinctrl-0 = <_lpuart2>; > > > + status = "okay"; > > > +}; > > > + > > > +/* PCI-E */ > >

RE: [PATCH 2/3] firmware: imx: scu-pd: Add mu_b side PD range

2019-07-17 Thread Aisheng Dong
> From: Daniel Baluta > Sent: Thursday, July 4, 2019 3:04 AM > Subject: [PATCH 2/3] firmware: imx: scu-pd: Add mu_b side PD range > > LSIO subsystem contains 14 MU instances. > > 5 MUs to communicate between AP <-> SCU > - side-A PD range managed by AP > - side-B PD range managed by SCU >

RE: [PATCH 3/3] firmware: imx: scu-pd: Add IRQSTR_DSP PD range

2019-07-17 Thread Aisheng Dong
> From: Daniel Baluta > Sent: Thursday, July 4, 2019 3:04 AM > > The DSP interrupt steer gathers interrupts from the system and can be used to > steer them to DSP. > > Signed-off-by: Daniel Baluta Reviewed-by: Dong Aisheng Regards Aisheng

RE: [PATCH] pwm: mxs: use devm_platform_ioremap_resource() to simplify code

2019-07-17 Thread Aisheng Dong
> From: anson.hu...@nxp.com > Sent: Thursday, July 18, 2019 9:32 AM > > Use the new helper devm_platform_ioremap_resource() which wraps the > platform_get_resource() and devm_ioremap_resource() together, to simplify > the code. > > Signed-off-by: Anson Huang Reviewed-by: Dong Aisheng

RE: [PATCH 1/2] ARM: dts: imx50: Add src node interrupt

2020-05-18 Thread Aisheng Dong
> From: Anson Huang > Sent: Monday, May 18, 2020 8:54 PM > > Interrupt is a required property according to SRC binding, add it for SRC > node. > > Signed-off-by: Anson Huang Reviewed-by: Dong Aisheng Regards Aisheng

RE: [PATCH 2/2] ARM: dts: imx5: make src node name generic

2020-05-18 Thread Aisheng Dong
> From: Anson Huang > Sent: Monday, May 18, 2020 8:54 PM > To: robh...@kernel.org; shawn...@kernel.org; s.ha...@pengutronix.de; > ker...@pengutronix.de; feste...@gmail.com; devicet...@vger.kernel.org; > linux-arm-ker...@lists.infradead.org; linux-kernel@vger.kernel.org > Cc: dl-linux-imx >

RE: [PATCH V2] dt-bindings: clock: Convert i.MX7D clock to json-schema

2020-05-18 Thread Aisheng Dong
> From: Anson Huang > Sent: Monday, May 18, 2020 10:53 PM > > Convert the i.MX7D clock binding to DT schema format using json-schema. > > Signed-off-by: Anson Huang > --- > Changes since V1: > - Update maintainer's e-mail address. > --- > .../devicetree/bindings/clock/imx7d-clock.txt

RE: [PATCH 1/3] dt-bindings: timer: Convert i.MX GPT to json-schema

2020-05-18 Thread Aisheng Dong
> From: Anson Huang > Sent: Monday, May 18, 2020 10:48 PM > > Convert the i.MX GPT binding to DT schema format using json-schema. > > Signed-off-by: Anson Huang > --- > .../devicetree/bindings/timer/fsl,imxgpt.txt | 45 - > .../devicetree/bindings/timer/fsl,imxgpt.yaml |

RE: [PATCH 2/3] dt-bindings: timer: Convert i.MX TPM to json-schema

2020-05-18 Thread Aisheng Dong
> From: Anson Huang > Sent: Monday, May 18, 2020 10:48 PM > > Convert the i.MX TPM binding to DT schema format using json-schema. > > Signed-off-by: Anson Huang > --- > .../devicetree/bindings/timer/nxp,tpm-timer.txt| 28 -- > .../devicetree/bindings/timer/nxp,tpm-timer.yaml |

RE: [PATCH 3/3] dt-bindings: timer: Convert i.MX SYSCTR to json-schema

2020-05-18 Thread Aisheng Dong
> From: Anson Huang > Sent: Monday, May 18, 2020 10:48 PM > > Convert the i.MX SYSCTR binding to DT schema format using json-schema. > > Signed-off-by: Anson Huang Reviewed-by: Dong Aisheng Regards Aisheng

RE: [PATCH] ARM: dts: imx: make src node name generic

2020-05-18 Thread Aisheng Dong
> From: Anson Huang > Sent: Monday, May 18, 2020 8:40 PM > > Node name should be generic, use "reset-controller" instead of "src" for > i.MX6/i.MX7 SoCs src nodes. > > Signed-off-by: Anson Huang Reviewed-by: Dong Aisheng Regards Aisheng > --- > arch/arm/boot/dts/imx6qdl.dtsi | 2 +- >

RE: [PATCH V2] dt-bindings: reset: Convert i.MX reset to json-schema

2020-05-18 Thread Aisheng Dong
> From: Anson Huang > Sent: Monday, May 18, 2020 6:04 PM > > Convert the i.MX reset binding to DT schema format using json-schema. > > Signed-off-by: Anson Huang > --- > Changes since V1: > - add the compatible strings per SoC; > - use "reset-controller" as node name instead of

RE: [PATCH V2 1/3] dt-bindings: timer: Convert i.MX GPT to json-schema

2020-05-18 Thread Aisheng Dong
> From: Anson Huang > Sent: Tuesday, May 19, 2020 11:56 AM > > Convert the i.MX GPT binding to DT schema format using json-schema. > > Signed-off-by: Anson Huang Reviewed-by: Dong Aisheng Regards Aisheng

RE: [PATCH 0/4] arm64: dts: imx8m: dtb aliases update

2020-05-20 Thread Aisheng Dong
> From: Peng Fan > Sent: Wednesday, May 20, 2020 10:03 AM > > Minor patchset to update device tree aliases > > Peng Fan (4): > arm64: dts: imx8mq: Add mmc aliases > arm64: dts: imx8mq: Add ethernet alias > arm64: dts: imx8mm: sort the aliases > arm64: dts: imx8mp: add i2c aliases For

RE: [PATCH 1/3] arm64: dts: imx8m: add mu node

2020-05-20 Thread Aisheng Dong
> From: Peng Fan > Sent: Wednesday, May 20, 2020 10:05 AM > > Add mu node to let A53 could communicate with M Core. > > Signed-off-by: Peng Fan > --- > arch/arm64/boot/dts/freescale/imx8mm.dtsi | 9 + > arch/arm64/boot/dts/freescale/imx8mn.dtsi | 9 + >

RE: [PATCH 2/3] clk: imx8mp: add mu root clk

2020-05-20 Thread Aisheng Dong
> From: Peng Fan > Sent: Wednesday, May 20, 2020 10:05 AM > > Add mu root clk for mu mailbox usage. > > Signed-off-by: Peng Fan Reviewed-by: Dong Aisheng Regards Aisheng

RE: [PATCH 3/3] arm64: dts: imx8mp: add mu node

2020-05-20 Thread Aisheng Dong
> From: Fabio Estevam > Sent: Wednesday, May 20, 2020 11:07 AM > > Hi Peng, > > On Wed, May 20, 2020 at 12:01 AM Peng Fan wrote: > > > Nothing specific in i.MX8MP for the mu part, so do we really need add > > "fsl,imx8mp-mu"? > > It is good practice to add a more specific option. > > Let's

RE: [PATCH V2] dt-bindings: thermal: Convert i.MX to json-schema

2020-05-20 Thread Aisheng Dong
> From: Anson Huang > Sent: Wednesday, May 20, 2020 2:03 PM > > Convert the i.MX thermal binding to DT schema format using json-schema > > Signed-off-by: Anson Huang > --- > Changes since V1: > - move tempmon node into its parent node anatop in example; > - improve "fsl,tempmon"

RE: [PATCH] ARM: dts: imx: Make tempmon node as child of anatop node

2020-05-20 Thread Aisheng Dong
> From: Anson Huang > Sent: Wednesday, May 20, 2020 2:30 PM > > i.MX6/7 SoCs' temperature sensor is inside anatop module from HW perspective, > so it should be a child node of anatop. > > Signed-off-by: Anson Huang Reviewed-by: Dong Aisheng BTW, I think you also need a binding doc for this

RE: [PATCH] ARM: dts: imx: Make tempmon node as child of anatop node

2020-05-20 Thread Aisheng Dong
> From: Anson Huang > Sent: Wednesday, May 20, 2020 3:47 PM > > > Subject: RE: [PATCH] ARM: dts: imx: Make tempmon node as child of > > anatop node > > > > > From: Anson Huang > > > Sent: Wednesday, May 20, 2020 2:30 PM > > > > > > i.MX6/7 SoCs' temperature sensor is inside anatop module from

RE: [PATCH] ARM: dts: imx: Make tempmon node as child of anatop node

2020-05-20 Thread Aisheng Dong
> From: Anson Huang > Sent: Wednesday, May 20, 2020 4:12 PM > > > Subject: RE: [PATCH] ARM: dts: imx: Make tempmon node as child of > > anatop node > > > > > From: Anson Huang > > > Sent: Wednesday, May 20, 2020 3:47 PM > > > > > > > Subject: RE: [PATCH] ARM: dts: imx: Make tempmon node as

RE: [PATCH V3] dt-bindings: thermal: Convert i.MX to json-schema

2020-05-20 Thread Aisheng Dong
> From: Anson Huang > Sent: Wednesday, May 20, 2020 4:17 PM > > Convert the i.MX thermal binding to DT schema format using json-schema > > Signed-off-by: Anson Huang > --- > Changes since V2: > - remove unnecessary property in compatible; > - add detail description for interrupts;

RE: [PATCH V2 1/3] dt-bindings: mailbox: imx-mu: support i.MX8M

2020-06-01 Thread Aisheng Dong
> From: Peng Fan > Sent: Monday, June 1, 2020 11:43 AM > > Add i.MX8MQ/M/N/P compatible string to support i.MX8M SoCs > > Signed-off-by: Peng Fan Reviewed-by: Dong Aisheng BTW, Anson, will you continue to help convert MU binding into json schemas? Regards Aisheng

RE: [PATCH V2 2/3] arm64: dts: imx8m: add mu node

2020-06-01 Thread Aisheng Dong
> From: Peng Fan > Sent: Monday, June 1, 2020 11:43 AM > > Add mu node to let A53 could communicate with M Core. > > Signed-off-by: Peng Fan > --- > arch/arm64/boot/dts/freescale/imx8mm.dtsi | 9 + > arch/arm64/boot/dts/freescale/imx8mn.dtsi | 9 + >

RE: [PATCH V3 2/3] arm64: dts: imx8m: add mu node

2020-06-01 Thread Aisheng Dong
> From: Peng Fan > Sent: Monday, June 1, 2020 4:20 PM > > Add mu node to let A53 could communicate with M Core. > > Signed-off-by: Peng Fan Reviewed-by: Dong Aisheng Regards Aisheng

RE: [PATCH] pinctrl: freescale: imx: Fix an error handling path in 'imx_pinctrl_probe()'

2020-06-01 Thread Aisheng Dong
> From: Christophe JAILLET > Sent: Sunday, May 31, 2020 4:50 AM > > 'pinctrl_unregister()' should not be called to undo > 'devm_pinctrl_register_and_init()', it is already handled by the framework. > > This simplifies the error handling paths of the probe function. > The 'imx_free_resources()'

RE: [PATCH 2/4] firmware: imx: add resource management api

2020-06-01 Thread Aisheng Dong
> From: Peng Fan > Sent: Monday, June 1, 2020 8:40 PM > > > > > From: Peng Fan > > > Sent: Friday, April 24, 2020 9:12 AM > > > > > > > > > From: Peng Fan > > > > > Sent: Thursday, April 23, 2020 6:57 PM > > > > > > > From: Peng Fan > > > > > > > Sent: Thursday, April 23, 2020 3:00 PM > > > >

RE: [PATCH 2/4] firmware: imx: add resource management api

2020-06-01 Thread Aisheng Dong
> From: Peng Fan > Sent: Thursday, April 23, 2020 3:00 PM > > Add resource management API, when we have multiple partition running > together, resources not owned to current partition should not be used. > > Reviewed-by: Leonard Crestez > Signed-off-by: Peng Fan > --- >

RE: [PATCH 2/4] firmware: imx: add resource management api

2020-06-02 Thread Aisheng Dong
> From: Peng Fan > Sent: Tuesday, June 2, 2020 1:24 PM > > > Subject: RE: [PATCH 2/4] firmware: imx: add resource management api > > > > > From: Peng Fan > > > Sent: Thursday, April 23, 2020 3:00 PM > > > > > > Add resource management API, when we have multiple partition running > > > together,

RE: [PATCH 2/4] firmware: imx: add resource management api

2020-06-02 Thread Aisheng Dong
> From: Peng Fan > Sent: Tuesday, June 2, 2020 12:51 PM > > > > > From: Peng Fan > > > Sent: Monday, June 1, 2020 8:40 PM > > > > > > > > > From: Peng Fan > > > > > Sent: Friday, April 24, 2020 9:12 AM > > > > > > > > > > > > > From: Peng Fan > > > > > > > Sent: Thursday, April 23, 2020 6:57

RE: [PATCH 2/4] firmware: imx: add resource management api

2020-06-02 Thread Aisheng Dong
> From: Peng Fan > Sent: Tuesday, June 2, 2020 3:48 PM > > > > > From: Peng Fan > > > Sent: Tuesday, June 2, 2020 12:51 PM > > > > > > > > > From: Peng Fan > > > > > Sent: Monday, June 1, 2020 8:40 PM > > > > > > > > > > > > > From: Peng Fan > > > > > > > Sent: Friday, April 24, 2020 9:12 AM >

RE: [PATCH V5 1/2] soc: imx: Add SCU SoC info driver support

2019-05-22 Thread Aisheng Dong
> From: Anson Huang > Sent: Wednesday, May 22, 2019 2:24 PM > > Add i.MX SCU SoC info driver to support i.MX8QXP SoC, introduce driver > dependency into Kconfig as CONFIG_IMX_SCU must be selected to support > i.MX SCU SoC driver, also need to use platform driver model to make sure > IMX_SCU

RE: [PATCH V5 2/2] arm64: defconfig: Add i.MX SCU SoC info driver

2019-05-22 Thread Aisheng Dong
> From: Anson Huang > Sent: Wednesday, May 22, 2019 2:24 PM > > This patch selects CONFIG_IMX_SCU_SOC by default to support i.MX system > controller unit SoC info driver. > > Signed-off-by: Anson Huang Reviewed-by: Dong Aisheng Regards Dong Aisheng

RE: [PATCH v2 2/3] firmware: imx: scu-pd: Add mu13 b side PD range

2019-07-18 Thread Aisheng Dong
> From: Daniel Baluta > Sent: Thursday, July 18, 2019 6:25 PM > > LSIO subsystem contains 14 MU instances. > > 5 MUs to communicate between AP <-> SCU > - side-A PD range managed by AP > - side-B PD range managed by SCU > > 9 MUs to communicate between all cores (AP/M4/DSP). > - side-A

RE: [PATCH v5 1/4] mailbox: imx: Fix Tx doorbell shutdown path

2019-08-04 Thread Aisheng Dong
> From: Richard Zhu > Sent: Monday, August 5, 2019 10:51 AM > > Tx doorbell is handled by txdb_tasklet and doesn't have an associated IRQ. > > Anyhow, imx_mu_shutdown ignores this and tries to free an IRQ that wasn't > requested for Tx DB resulting in the following warning: > > [1.967644]

RE: [PATCH v5 2/4] mailbox: imx: Clear the right interrupts at shutdown

2019-08-04 Thread Aisheng Dong
> From: Richard Zhu > Sent: Monday, August 5, 2019 10:51 AM > > Make sure to only clear enabled interrupts keeping count of the connection > type. > > Suggested-by: Oleksij Rempel > Signed-off-by: Daniel Baluta > Signed-off-by: Richard Zhu Keep original author if any. Otherwise:

RE: [PATCH v5 3/4] dt-bindings: mailbox: imx-mu: add imx7ulp MU support

2019-08-04 Thread Aisheng Dong
> From: Richard Zhu > Sent: Monday, August 5, 2019 10:52 AM > > There is a version 1.0 MU on imx7ulp, use "fsl,imx7ulp-mu" compatible to > support it. > > Signed-off-by: Richard Zhu Reviewed-by: Dong Aisheng Regards Aisheng

RE: [PATCH V3 1/5] thermal: qoriq: Add clock operations

2019-08-05 Thread Aisheng Dong
> From: Anson Huang > > Some platforms like i.MX8MQ has clock control for this module, need to add > clock operations to make sure the driver is working properly. > > Signed-off-by: Anson Huang > Reviewed-by: Guido Günther Reviewed-by: Dong Aisheng Regards Aisheng

RE: [PATCH V3 3/5] thermal: qoriq: Use devm_platform_ioremap_resource() instead of of_iomap()

2019-08-05 Thread Aisheng Dong
> From: anson.hu...@nxp.com > Sent: Tuesday, July 30, 2019 10:21 AM > > Use devm_platform_ioremap_resource() instead of of_iomap() to save the > iounmap() call in error handle path; > > Signed-off-by: Anson Huang Reviewed-by: Dong Aisheng Regards Aisheng

RE: [PATCH V3 2/5] thermal: qoriq: Fix error path of calling qoriq_tmu_register_tmu_zone fail

2019-08-05 Thread Aisheng Dong
> From: anson.hu...@nxp.com > Sent: Tuesday, July 30, 2019 10:21 AM > > When registering tmu zone failed, the error path should be err_tmu instead of > err_iomap, as iounmap() needs to be called. > > Signed-off-by: Anson Huang Reviewed-by: Dong Aisheng Regards Aisheng

RE: [PATCH V3 5/5] dt-bindings: thermal: qoriq: Add optional clocks property

2019-08-05 Thread Aisheng Dong
> From: anson.hu...@nxp.com > Sent: Tuesday, July 30, 2019 10:21 AM > > Some platforms like i.MX8M series SoCs have clock control for TMU, add > optional clocks property to the binding doc. > > Signed-off-by: Anson Huang > Reviewed-by: Rob Herring Reviewed-by: Dong Aisheng Regards Aisheng

RE: [PATCH V3 4/5] thermal: qoriq: Use __maybe_unused instead of #if CONFIG_PM_SLEEP

2019-08-05 Thread Aisheng Dong
> From: anson.hu...@nxp.com > Sent: Tuesday, July 30, 2019 10:21 AM > > Use __maybe_unused for power management related functions instead of #if > CONFIG_PM_SLEEP to simply the code. > > Signed-off-by: Anson Huang Reviewed-by: Dong Aisheng Regards Aisheng

RE: [PATCH 1/1] arm64: dts: imx8mp: add "fsl,imx6sx-fec" compatible string

2020-04-29 Thread Aisheng Dong
> From: Andy Duan > Sent: Wednesday, April 29, 2020 6:04 PM > > Add "fsl,imx6sx-fec" compatible string for fec node, then i.MX8MP EVK ethernet > function can work now. > > Signed-off-by: Fugang Duan Reviewed-by: Dong Aisheng Regards Aisheng > --- >

RE: [PATCH] clk: imx8mp: Set the correct parent for audio_root_clk

2020-04-30 Thread Aisheng Dong
> From: Abel Vesa > Sent: Thursday, April 30, 2020 6:11 PM > > On 20-04-28 08:15:51, Aisheng Dong wrote: > > > From: Abel Vesa > > > Sent: Monday, April 27, 2020 11:11 PM > > > > > > Instead of ipg_root, the parent needs to be ipg_audio_root. >

  1   2   3   4   >