Re: [PATCH v3 4/4] media: i2c: ov2659: Use clk_{prepare_enable,disable_unprepare}() to set xvclk on/off

2021-04-20 Thread dillon min
On Tue, Apr 20, 2021 at 2:52 PM Krzysztof Kozlowski wrote: > > On Tue, 20 Apr 2021 at 08:46, dillon min wrote: > > > > Hi All, > > > > Just a gentle ping, hope some expert could take a look, thanks. > > Don't ping people after 5 days. It's not

Re: [PATCH v3 4/4] media: i2c: ov2659: Use clk_{prepare_enable,disable_unprepare}() to set xvclk on/off

2021-04-19 Thread dillon min
Hi All, Just a gentle ping, hope some expert could take a look, thanks. Best regards. Dillon On Thu, Apr 15, 2021 at 12:06 PM wrote: > > From: dillon min > > On some platform(imx6q), xvclk might not switch on in advance, > also for power save purpose, xvclk should not be alway

Re: [PATCH v3 3/4] arm: dts: imx: Add i.mx6q DaSheng COM-9XX SBC board support

2021-04-19 Thread dillon min
Hi, Just a gentle ping, hope some expert could take a look, thanks. Best regards. Dillon On Thu, Apr 15, 2021 at 12:05 PM wrote: > > From: dillon min > > The DaSheng Com-9xx is and ARM based signle board computer (SBC) > featuring: > - i.MX6Q > - 2GiB LPDDR3 DRAM &g

Re: [PATCH v3] serial: stm32: optimize spin lock usage

2021-04-17 Thread dillon min
Hi Johan, On Fri, Apr 16, 2021 at 10:10 PM Johan Hovold wrote: > > On Fri, Apr 16, 2021 at 06:10:41PM +0800, dillon.min...@gmail.com wrote: > > From: dillon min > > > > This patch aims to fix two potential bug: > > - no lock to prot

Re: [PATCH v2] serial: stm32: optimize spin lock usage

2021-04-16 Thread dillon min
Hi Johan, On Fri, Apr 16, 2021 at 4:35 PM Johan Hovold wrote: > > On Tue, Apr 13, 2021 at 07:44:39AM +0800, dillon min wrote: > > Hi Johan, Erwan > > > > It seems still a bit of a problem in the current version, not deadlock > > but access register at the same

Re: [PATCH v2 4/4] dt-bindings: add dasheng vendor prefix

2021-04-14 Thread dillon min
On Wed, Apr 14, 2021 at 9:01 PM Krzysztof Kozlowski wrote: > > On 14/04/2021 08:51, dillon.min...@gmail.com wrote: > > From: dillon min > > > > Add vendor prefix for DaSheng, Inc. > > > > Signed-off-by: dillon min > > --- > > v2: new add &

Re: [PATCH v2 1/4] dt-bindings: arm: imx: Add i.mx6q DaSheng COM-9XX SBC board dts support

2021-04-14 Thread dillon min
On Wed, Apr 14, 2021 at 9:00 PM Krzysztof Kozlowski wrote: > > On 14/04/2021 08:51, dillon.min...@gmail.com wrote: > > From: dillon min > > > > The DaSheng Com-9xx is and ARM based signle board computer (SBC) > > featuring: > > - i.MX6Q > > - 2GiB LPDDR3

Re: [PATCH v1 1/3] dt-bindings: arm: imx: Add i.mx6q DaSheng COM-9XX SBC board dts support

2021-04-13 Thread dillon min
On Wed, Apr 14, 2021 at 2:22 PM Krzysztof Kozlowski wrote: > > On 14/04/2021 08:13, dillon.min...@gmail.com wrote: > > From: dillon min > > > > The DaSheng Com-9xx is and ARM based signle board computer (SBC) > > featuring: > > - i.MX6Q > > - 2GiB LPDDR3

Re: [PATCH v2] serial: stm32: optimize spin lock usage

2021-04-12 Thread dillon min
ock, flags); For current stm32 soc, it shouldn't happen. just a reminder for future. Thanks. Dillon On Mon, Apr 12, 2021 at 10:04 PM dillon min wrote: > > Hi Johan, > > Yes, there is no deadlock. my fault. > I forget the local_irq_save() plus spin_lock() is spin_lock_irqsave(

Re: [PATCH v2] serial: stm32: optimize spin lock usage

2021-04-12 Thread dillon min
+0800, dillon.min...@gmail.com wrote: > > From: dillon min > > > > To avoid potential deadlock in spin_lock usage, use spin_lock_irqsave, > > spin_trylock_irqsave(), spin_unlock_irqrestore() in process context. > > This doesn't make much sense as console_write can be

Re: [Linux-stm32] [PATCH] serial: stm32: optimize spin lock usage

2021-04-12 Thread dillon min
gt; > Best Regards, Erwan. > > On 4/12/21 10:54 AM, dillon min wrote: >> Hi Greg, >> >> On Mon, Apr 12, 2021 at 4:25 PM Greg KH >> wrote: >>> >>> On Mon, Apr 12, 2021 at 02:50:20PM +0800, dillon min wrote: >>>> Hi Greg, >>>> >

Re: [PATCH] serial: stm32: optimize spin lock usage

2021-04-12 Thread dillon min
Hi Greg, On Mon, Apr 12, 2021 at 4:25 PM Greg KH wrote: > > On Mon, Apr 12, 2021 at 02:50:20PM +0800, dillon min wrote: > > Hi Greg, > > > > Thanks for the quick response, please ignore the last private mail. > > > > On Mon, Apr 12, 2021 at 1:52 PM Greg K

Re: [PATCH] serial: stm32: optimize spin lock usage

2021-04-12 Thread dillon min
Hi lkp, Thanks for the reminder. I just noticed this from greg's mail. still waiting for his response about the proper solution for this patch. After that i will update version 2 for it. Your test is really efficient, thanks. Best regards, Dillon. On Mon, Apr 12, 2021 at 3:25 PM kernel test ro

Re: [PATCH] serial: stm32: optimize spin lock usage

2021-04-11 Thread dillon min
Hi Greg, Thanks for the quick response, please ignore the last private mail. On Mon, Apr 12, 2021 at 1:52 PM Greg KH wrote: > > On Mon, Apr 12, 2021 at 12:34:21PM +0800, dillon.min...@gmail.com wrote: > > From: dillon min > > > > To avoid potential deadlock in spin_l

Re: [PATCH v9 0/6] ARM: STM32: add art-pi(stm32h750xbh6) board support

2021-04-01 Thread dillon min
On Thu, Apr 1, 2021 at 4:00 PM Alexandre TORGUE wrote: > > Hi Dillon > > On 3/31/21 10:28 AM, dillon.min...@gmail.com wrote: > > From: dillon min > > > > This patchset intend to add art-pi board support, this board developed > > by rt-thread(https://www.rt-t

Re: [PATCH v8 4/6] ARM: dts: stm32: add support for art-pi board based on stm32h750xbh6

2021-03-31 Thread dillon min
On Wed, Mar 31, 2021 at 3:18 PM Alexandre TORGUE wrote: > > Hi Dillon > > On 3/31/21 12:43 AM, dillon min wrote: > > Hi Alexandre, > > > > Thanks for the quick response. > > > > On Wed, Mar 31, 2021 at 12:50 AM Alexandre TORGUE > > wrote: >

Re: [PATCH v8 3/6] ARM: dts: stm32: introduce stm32h7-pinctrl.dtsi to support stm32h750

2021-03-30 Thread dillon min
On Wed, Mar 31, 2021 at 12:44 AM Alexandre TORGUE wrote: > > > > On 3/30/21 10:58 AM, dillon.min...@gmail.com wrote: > > From: dillon min > > > > This patch is intend to add support stm32h750 value line, > > just add stm32h7-pinctrl.dtsi for extending, with

Re: [PATCH v8 4/6] ARM: dts: stm32: add support for art-pi board based on stm32h750xbh6

2021-03-30 Thread dillon min
Hi Alexandre, Thanks for the quick response. On Wed, Mar 31, 2021 at 12:50 AM Alexandre TORGUE wrote: > > > > On 3/30/21 10:58 AM, dillon.min...@gmail.com wrote: > > From: dillon min > > > > This patchset has following changes: > > > > - introduce stm3

Re: [PATCH v7 3/6] ARM: dts: stm32: introduce stm32h7-pinctrl.dtsi to support stm32h750

2021-03-30 Thread dillon min
Hi Alexandre, Thanks for the quick response. On Tue, Mar 30, 2021 at 3:22 PM Alexandre TORGUE wrote: > > Hi Dillon > > On 3/30/21 4:28 AM, dillon.min...@gmail.com wrote: > > From: dillon min > > > > This patch is intend to add support stm32h750 value line, > &g

Re: [PATCH v2 8/8] pinctrl: stm32: Add STM32H750 MCU pinctrl support

2021-03-29 Thread dillon min
On Mon, Mar 29, 2021 at 4:00 PM Alexandre TORGUE wrote: > > Hi Dillon > > On 3/12/21 7:24 AM, dillon.min...@gmail.com wrote: > > From: dillon min > > > > This patch adds STM32H750 pinctrl and GPIO support > > since stm32h750 has the same pin alternate functio

Re: [PATCH v5 9/9] dt-bindings: serial: stm32: Use 'type: object' instead of false for 'additionalProperties'

2021-03-25 Thread dillon min
Hi Valentin On Thu, Mar 25, 2021 at 7:12 PM Valentin CARON - foss wrote: > > Hi Dillon, > > It's okay for me. > > Regards, > > Valentin Thanks for your test, and quick reply. > > On 3/25/21 7:19 AM, dillon.min...@gmail.com wrote: > > From: dillon

Re: [PATCH v3 9/9] dt-bindings: serial: stm32: add phandle 'bluetooth' to fix dtbs_check warrning

2021-03-24 Thread dillon min
Hi Rob, Thanks for the suggestion. On Thu, Mar 25, 2021 at 1:45 AM Rob Herring wrote: > > On Fri, Mar 19, 2021 at 07:13:27PM +0800, dillon min wrote: > > Hi Alexandre, > > > > Thanks for the reply. > > > > On Fri, Mar 19, 2021 at 4:38 PM Alexandre TORG

Re: [Linux-stm32] [PATCH v4 9/9] dt-bindings: serial: stm32: Use 'unevaluatedProperties' instead of 'additionalProperties'

2021-03-22 Thread dillon min
Hi Valentin, Thanks for feedback. On Mon, Mar 22, 2021 at 7:05 PM Valentin CARON - foss wrote: > > Hi Dillon, > > It works for me. > > On 3/20/21 2:56 AM, dillon.min...@gmail.com wrote: > > From: dillon min > > > > To use additional properties 'bluetoot

Re: [PATCH v3 9/9] dt-bindings: serial: stm32: add phandle 'bluetooth' to fix dtbs_check warrning

2021-03-19 Thread dillon min
Hi Alexandre, Thanks for the reply. On Fri, Mar 19, 2021 at 4:38 PM Alexandre TORGUE wrote: > > Hi Dillon > > On 3/19/21 5:28 AM, dillon min wrote: > > No changes, Just loop lkp in. > > > > > > Hi lkp, > > > > Sorry for the late reply, thanks for

Re: [PATCH v3 9/9] dt-bindings: serial: stm32: add phandle 'bluetooth' to fix dtbs_check warrning

2021-03-18 Thread dillon min
No changes, Just loop lkp in. Hi lkp, Sorry for the late reply, thanks for your report. This patch is to fix the build warning message. Thanks. Regards On Mon, Mar 15, 2021 at 5:45 PM wrote: > > From: dillon min > > when run make dtbs_check with 'bluetoothi brcm,bcm43438-

Re: [PATCH v3 6/9] ARM: dts: stm32: add support for art-pi board based on stm32h750xbh6

2021-03-18 Thread dillon min
No changes, Just loop lkp in. Hi lkp, Sorry for the late reply, thanks for your report. This patch is to fix the build warning message. Thanks. On Mon, Mar 15, 2021 at 5:45 PM wrote: > > From: dillon min > > This patchset has following changes: > > - introduce stm32h7

Re: [PATCH v3 3/9] dt-bindings: pinctrl: stm32: Add stm32h750 pinctrl

2021-03-15 Thread dillon min
On Tue, Mar 16, 2021 at 12:26 AM Rob Herring wrote: > > On Mon, 15 Mar 2021 17:43:50 +0800, dillon.min...@gmail.com wrote: > > From: dillon min > > > > This patch intend to add pinctrl configuration support for > > stm32h750 value line > > > > The data

Re: [PATCH v3 2/9] dt-bindings: arm: stm32: Add compatible strings for ART-PI board

2021-03-15 Thread dillon min
On Tue, Mar 16, 2021 at 12:26 AM Rob Herring wrote: > > On Mon, 15 Mar 2021 17:43:49 +0800, dillon.min...@gmail.com wrote: > > From: dillon min > > > > Art-pi based on stm32h750xbh6, with following resources: > > > > -8MiB QSPI flash > > -16MiB SPI flash

Re: [PATCH v4 4/4] i2c: stm32f4: Fix stmpe811 get xyz data timeout issue

2021-03-15 Thread dillon min
Hi All, Just a gentle ping. Regards. On Tue, Jun 9, 2020 at 9:27 PM wrote: > > From: dillon min > > as stm32f429's internal flash is 2Mbytes and compiled kernel > image bigger than 2Mbytes, so we have to load kernel image > to sdram on stm32f429-disco board which

Re: [PATCH 5/8] ARM: dts: stm32: introduce stm32h7-pinctrl.dtsi to support stm32h75x

2021-03-11 Thread dillon min
Hi Alexandre On Thu, Mar 11, 2021 at 9:30 PM Alexandre TORGUE wrote: > > Hi Dillon > > On 3/11/21 1:23 PM, dillon min wrote: > > Hi Alexandre > > > > On Thu, Mar 11, 2021 at 6:40 PM Alexandre TORGUE > > wrote: > >> > >> Hi Dillon >

Re: [Linux-stm32] [PATCH 5/8] ARM: dts: stm32: introduce stm32h7-pinctrl.dtsi to support stm32h75x

2021-03-11 Thread dillon min
Hi Ahmad, Thanks for discussing. On Thu, Mar 11, 2021 at 8:55 PM Ahmad Fatoum wrote: > > Hello Dillon, > > On 11.03.21 13:23, dillon min wrote: > > For stm32h7's new board support , I guess following the stm32f7/stm32f4's > > style > > is a r

Re: [PATCH 8/8] ARM: stm32: add initial support for stm32h750

2021-03-11 Thread dillon min
Hi Alexandre On Thu, Mar 11, 2021 at 6:43 PM Alexandre TORGUE wrote: > > Hi Dillon > > On 3/3/21 9:05 AM, dillon.min...@gmail.com wrote: > > From: dillon min > > > > No empty commit message please Okay, thanks for remind. > > > Signed-off-by: dillon min

Re: [PATCH 7/8] ARM: dts: stm32: add support for art-pi board based on stm32h750xbh6

2021-03-11 Thread dillon min
Hi Alexandre On Thu, Mar 11, 2021 at 6:42 PM Alexandre TORGUE wrote: > > > > On 3/3/21 9:05 AM, dillon.min...@gmail.com wrote: > > From: dillon min > > > > This patchset has following changes: > > > > - add stm32h750i-art-pi.dtb > > - add dts bi

Re: [PATCH 5/8] ARM: dts: stm32: introduce stm32h7-pinctrl.dtsi to support stm32h75x

2021-03-11 Thread dillon min
Hi Alexandre On Thu, Mar 11, 2021 at 6:40 PM Alexandre TORGUE wrote: > > Hi Dillon > > On 3/3/21 9:05 AM, dillon.min...@gmail.com wrote: > > From: dillon min > > > > To support stm32h750 and stm32h743, we need a base stm32h7-pinctrl.dtsi > > as stm32h743 &

Re: [PATCH 0/8] ARM: STM32: add art-pi(stm32h750xbh6) board support

2021-03-11 Thread dillon min
Hi Alexandre, Thanks for quickly responding. On Thu, Mar 11, 2021 at 6:26 PM Alexandre TORGUE wrote: > > Hi Dillon > > > -Original Message- > > From: dillon min > > Sent: mercredi 10 mars 2021 12:48 > > To: Rob Herring ; Maxime Coquelin > >

Re: [PATCH 0/8] ARM: STM32: add art-pi(stm32h750xbh6) board support

2021-03-10 Thread dillon min
for the device tree part , still waiting review. just a gentle ping. if Mr Alexandre torgue can take a look, would be great. thanks, On Wed, Mar 3, 2021 at 4:05 PM wrote: > > From: dillon min > > This patchset intend to add art-pi board support, this board developed > by

Re: [PATCH v6 6/9] clk: stm32: Fix ltdc's clock turn off by clk_disable_unused() after kernel startup

2021-03-10 Thread dillon min
still need more expert to review, so just a gentle ping for this patch On Wed, May 27, 2020 at 4:35 PM Stephen Boyd wrote: > > Quoting dillon.min...@gmail.com (2020-05-27 00:27:30) > > From: dillon min > > > > stm32's clk driver register two ltdc gate clk to clk cor

Re: [PATCH v6 5/9] clk: stm32: Fix stm32f429's ltdc driver hang in set clock rate

2021-03-10 Thread dillon min
still need more expert to review, so just a gentle ping for this patch On Wed, May 27, 2020 at 4:35 PM Stephen Boyd wrote: > > Quoting dillon.min...@gmail.com (2020-05-27 00:27:29) > > From: dillon min > > > > This is due to misuse \u2018PLL_VCO_SAI' and'PLL_

Re: [PATCH] ARM: dts: imx6ull: fix ubi mount failed on MYS-6ULX-IOT board

2021-03-09 Thread dillon min
Hi Sascha, Thanks for reviewing. On Tue, Mar 9, 2021 at 8:18 PM Sascha Hauer wrote: > > On Tue, Mar 09, 2021 at 02:15:19PM +0800, dillon.min...@gmail.com wrote: > > From: dillon min > > > > This patch intend to fix ubi filesystem mount failed on MYS-6ULX-IO

Re: [PATCH 1/8] ARM: ARMv7-M: Fix register restore corrupt after svc call

2021-03-03 Thread dillon min
On Wed, Mar 3, 2021 at 10:19 PM Vladimir Murzin wrote: > > On 3/3/21 1:35 PM, dillon min wrote: > > Hi Vladimir, > > > > Thanks for the review. > > > > On Wed, Mar 3, 2021 at 5:52 PM Vladimir Murzin > > wrote: > >> > >> On 3/3/21 8:

Re: [PATCH 1/8] ARM: ARMv7-M: Fix register restore corrupt after svc call

2021-03-03 Thread dillon min
Hi Vladimir, Thanks for the review. On Wed, Mar 3, 2021 at 5:52 PM Vladimir Murzin wrote: > > On 3/3/21 8:05 AM, dillon.min...@gmail.com wrote: > > From: dillon min > > > > For some case, kernel not boot by u-boot(single thread), > > but by rtos , as most rtos u

Re: [PATCH: 1/2] gpio: tc35894: fix up tc35894 interrupt configuration

2020-09-03 Thread dillon min
Hi Bartosz, Thanks for reviewing. On Tue, Sep 1, 2020 at 11:46 PM Bartosz Golaszewski wrote: > > On Mon, Aug 31, 2020 at 9:14 AM wrote: > > > > From: dillon min > > > > The offset of regmap is incorrect, j * 8 is move to the > > wrong register. > > &

Re: [PATCH v5 0/8] Enable ili9341 and l3gd20 on stm32f429-disco

2020-07-21 Thread dillon min
Hi, Alexandre, On Tue, Jul 21, 2020 at 7:54 PM Alexandre Torgue wrote: > > > > On 7/21/20 12:39 PM, dillon min wrote: > > Hi Alexandre, > > > > On Tue, Jul 21, 2020 at 5:19 PM Alexandre Torgue > > wrote: > >> > >> Hi Dillon >

Re: [PATCH v5 0/8] Enable ili9341 and l3gd20 on stm32f429-disco

2020-07-21 Thread dillon min
Hi Alexandre, On Tue, Jul 21, 2020 at 5:19 PM Alexandre Torgue wrote: > > Hi Dillon > > On 5/25/20 5:40 AM, dillon.min...@gmail.com wrote: > > From: dillon min > > > > V5's update based on Mark Brown's suggestion, use 'SPI_MASTER_MUST_RX' &

Re: [PATCH v4] Fix dcan driver probe failed on am437x platform

2020-07-14 Thread dillon min
Hi Stephen, Thanks for your patience, step by step help on my patch reviewing. Dillon, On Tue, Jul 14, 2020 at 2:45 PM Stephen Rothwell wrote: > > Hi Dillon, > > > Hi Stephen, > > > > This changes correct commit messages based on your reviewing. > > make Fixes tags to oneline. > > make all comm

Re: [PATCH v2] Since am437x have the same clock structure with am335x [1][2], reuse the code from Tony Lindgren's patch [3] to fix dcan probe failed on am437x platform.

2020-07-13 Thread dillon min
Hi Stephen, On Tue, Jul 14, 2020 at 1:37 PM Stephen Rothwell wrote: > > Hi Dillon, > > On Tue, 14 Jul 2020 13:21:07 +0800 dillon min wrote: > > > > Thanks, how about the below commit message. > > > > Subject: [PATCH v4] Fix dcan driver probe failed on am437x

Re: [PATCH v2] Since am437x have the same clock structure with am335x [1][2], reuse the code from Tony Lindgren's patch [3] to fix dcan probe failed on am437x platform.

2020-07-13 Thread dillon min
On Tue, Jul 14, 2020 at 11:54 AM Stephen Rothwell wrote: > > Hi Dillon, > > On Tue, 14 Jul 2020 11:43:31 +0800 dillon min wrote: > > > > On Tue, Jul 14, 2020 at 11:38 AM Stephen Rothwell > > wrote: > > > > > > On Tue, 14 Jul 2

Re: [PATCH v2] Since am437x have the same clock structure with am335x [1][2], reuse the code from Tony Lindgren's patch [3] to fix dcan probe failed on am437x platform.

2020-07-13 Thread dillon min
On Tue, Jul 14, 2020 at 11:38 AM Stephen Rothwell wrote: > > Hi, > > On Tue, 14 Jul 2020 11:23:18 +0800 dillon.min...@gmail.com wrote: > > > > From: dillon min > > > > Fixes: 1a5cd7c23cc5 ("bus: ti-sysc: Enable all clocks directly during init

Re: [PATCH v5 6/8] drm/panel: Add ilitek ili9341 panel driver

2020-06-30 Thread dillon min
e are any new information about this topic, please feel free to let me know. hope i can make some progress on it. thanks, Dillon, best regards On Tue, May 26, 2020 at 6:38 PM Noralf Trønnes wrote: > > > > Den 26.05.2020 11.08, skrev dillon min: > > Hi Andy, > > > &g

Re: [PATCH v4 0/4] Enable stmpe811 touch screen on stm32f429-disco board

2020-06-15 Thread dillon min
On Mon, Jun 15, 2020 at 5:08 PM Alexandre Torgue wrote: > > Hi Dillon > > On 6/9/20 3:26 PM, dillon.min...@gmail.com wrote: > > From: dillon min > > > > This patchset is intend to enable stmpe811 touch screen on stm32f429-disco > > board with three dts and

Re: [PATCH v6 2/9] ARM: dts: stm32: Add pin map for ltdc & spi5 on stm32f429-disco board

2020-06-15 Thread dillon min
On Mon, Jun 15, 2020 at 5:45 PM Alexandre Torgue wrote: > > Hi Dillon > > On 5/27/20 9:27 AM, dillon.min...@gmail.com wrote: > > From: dillon min > > > > This patch adds the pin configuration for ltdc and spi5 controller > > on stm32f429-disco boar

Re: [PATCH 2/2] arm-nommu: Add use_reserved_mem() to check if device support reserved memory

2020-06-11 Thread dillon min
by and that might speed up > getting fix mainline. > sorry for the late response. Yes, it's working Thanks Christoph index 8f4bbdaf965e..3e0ecf0b5fb3 100644 --- a/kernel/dma/direct.c +++ b/kernel/dma/direct.c @@ -427,7 +427,6 @@ int dma_direct_get_sgtable(struct device *dev, st

Re: [PATCH 2/2] arm-nommu: Add use_reserved_mem() to check if device support reserved memory

2020-06-09 Thread dillon min
Hi Vladimir, I tested your changes, it's working fine on stm32f429-disco(armv7m, without cache) board. you can submit a separate patch for dma-direct support on non-mmu platform, i will drop mine. thanks. best regards. Dillon, On Wed, Jun 10, 2020 at 1:34 AM Christoph Hellwig wrote: > > On Tue

Re: [PATCH 1/2] ARM: dts: stm32: Setup 4M bytes reserved memory for mmap

2020-06-09 Thread dillon min
Hi Christoph Hellwig, This is the patchset. for your reference. thanks, On Mon, Jun 8, 2020 at 4:30 PM wrote: > > From: dillon min > > To mmap a framebuffer or v4l2 buffer from kernel to userspace on > no-mmu platform, we need rely on 'arm_nommu_dma_ops' from > arc

Re: [PATCH 0/2] Use 'arm_nommu_dma_ops' to handle dma memroy if device offer consistent dma memory region

2020-06-09 Thread dillon min
Hi Christoph Hellwig, This is the patchset. for your reference. thanks, On Mon, Jun 8, 2020 at 4:30 PM wrote: > > From: dillon min > > when do mmap on /dev/fb0, we will get -6 error on cortex-m3/m4 or armv7m > platform without cache support, this is caused by following reason

Re: [PATCH 2/2] arm-nommu: Add use_reserved_mem() to check if device support reserved memory

2020-06-09 Thread dillon min
de, I need your input to get the design goal about dma-direct mapping, thanks. On Tue, Jun 9, 2020 at 10:07 PM Vladimir Murzin wrote: > > On 6/8/20 9:30 AM, dillon.min...@gmail.com wrote: > > From: dillon min > > > > Currently, we use dma direct to request coherent memo

[REPORT: armv7m/stm32] mmap -6 error on armv7m no-mmu platform

2020-06-03 Thread dillon min
Hi, Christoph Hellwig, folks, i just writing a driver for stm32f4's dma2d controller(/dev/video0 v4l2-m2m device), got following mmap -6 error (No such device or address) at user space. working environment is: hardware: stm32f469-disco board, ARM Cortex-M4 up to 180MHz with FPU, ArmV7M, no d-cach

Re: [PATCH v6 8/9] spi: stm32: Add 'SPI_SIMPLEX_RX', 'SPI_3WIRE_RX' support for stm32f4

2020-05-27 Thread dillon min
On Wed, May 27, 2020 at 5:51 PM Mark Brown wrote: > > On Wed, May 27, 2020 at 03:27:32PM +0800, dillon.min...@gmail.com wrote: > > From: dillon min > > > > in l3gd20 driver startup, there is a setup failed error return from > > stm32 spi driver > > Please d

Re: [PATCH v5 5/8] clk: stm32: Fix stm32f429's ltdc driver hang in set clock rate, fix duplicated ltdc clock register to 'clk_core' case ltdc's clock turn off by clk_disable_unused()

2020-05-26 Thread dillon min
Hi Stephen, Thanks for reviewing. On Wed, May 27, 2020 at 9:44 AM Stephen Boyd wrote: > > Quoting dillon.min...@gmail.com (2020-05-24 20:45:45) > > From: dillon min > > > > ltdc set clock rate crashed > >'post_div_data[]''s pll_num is PLL_I2S, P

Re: [PATCH v5 6/8] drm/panel: Add ilitek ili9341 panel driver

2020-05-26 Thread dillon min
Hi Andy, Thanks for input. On Tue, May 26, 2020 at 3:46 PM Andy Shevchenko wrote: > > On Mon, May 25, 2020 at 6:46 AM wrote: > > > > From: dillon min > > > > This driver combine tiny/ili9341.c mipi_dbi_interface driver > > with mipi_dpi_interf

Re: [PATCH v4 3/8] spi: stm32: Add 'SPI_SIMPLEX_RX', 'SPI_3WIRE_RX' support for stm32f4

2020-05-22 Thread dillon min
On Sat, May 23, 2020 at 12:29 AM Mark Brown wrote: > > On Fri, May 22, 2020 at 11:59:25PM +0800, dillon min wrote: > > > but, after spi-core create a dummy tx_buf or rx_buf, then i can't get > > the correct spi_3wire direction. > > actually, this dummy tx_buf is

Re: [PATCH v4 3/8] spi: stm32: Add 'SPI_SIMPLEX_RX', 'SPI_3WIRE_RX' support for stm32f4

2020-05-22 Thread dillon min
On Fri, May 22, 2020 at 10:57 PM dillon min wrote: > > hi Mark, > > Thanks for reviewing. > > On Fri, May 22, 2020 at 7:36 PM Mark Brown wrote: > > > > On Mon, May 18, 2020 at 07:09:20PM +0800, dillon.min...@gmail.com wrote: > > > > > 2, use stm32 s

Re: [PATCH v4 3/8] spi: stm32: Add 'SPI_SIMPLEX_RX', 'SPI_3WIRE_RX' support for stm32f4

2020-05-22 Thread dillon min
hi Mark, Thanks for reviewing. On Fri, May 22, 2020 at 7:36 PM Mark Brown wrote: > > On Mon, May 18, 2020 at 07:09:20PM +0800, dillon.min...@gmail.com wrote: > > > 2, use stm32 spi's "In full-duplex (BIDIMODE=0 and RXONLY=0)", as tx_buf is > > null, we must add dummy data sent out before read da

Re: [PATCH v3 4/5] clk: stm32: Fix stm32f429 ltdc driver loading hang in clk set rate. keep ltdc clk running after kernel startup

2020-05-15 Thread dillon min
Hi Stephen, thanks for reviewing. On Fri, May 15, 2020 at 5:02 AM Stephen Boyd wrote: > > Quoting dillon.min...@gmail.com (2020-05-12 00:03:36) > > From: dillon min > > > > as store stm32f4_rcc_register_pll return to the wrong offset of clks, >

Re: [Linux-stm32] [PATCH v3 3/5] ARM: dts: stm32: enable ltdc binding with ili9341 on stm32429-disco board

2020-05-15 Thread dillon min
Hi Benjamin, got it, thanks a lot. best regards Dillon On Fri, May 15, 2020 at 5:34 PM Benjamin GAIGNARD wrote: > > > > On 5/15/20 11:24 AM, dillon min wrote: > > Hi Benjamin, > > > > thanks for reply. > > > > On Fri, May 15, 2020 at 4:31 PM Benjami

Re: [Linux-stm32] [PATCH v3 3/5] ARM: dts: stm32: enable ltdc binding with ili9341 on stm32429-disco board

2020-05-15 Thread dillon min
Hi Benjamin, thanks for reply. On Fri, May 15, 2020 at 4:31 PM Benjamin GAIGNARD wrote: > > > > On 5/14/20 3:07 PM, dillon min wrote: > > Hi Alexandre, > > > > On Thu, May 14, 2020 at 8:53 PM Alexandre Torgue > > wrote: > >> > >> > >&

Re: [PATCH v3 5/5] drm/panel: Add ilitek ili9341 driver

2020-05-14 Thread dillon min
Hi Linus, Linus Walleij 于2020年5月14日周四 下午10:08写道: > > On Thu, May 14, 2020 at 12:22 PM dillon min wrote: > > > > > + /* Gamma */ > > > > + mipi_dbi_command(dbi, ILI9341_3GAMMA_EN, 0x00); > > > > + mipi_db

Re: [PATCH v2 2/3] ARM: dts: stm32: enable l3gd20 on stm32429-disco board

2020-05-14 Thread dillon min
Hi Alexandre, Alexandre Torgue 于2020年5月14日周四 下午10:10写道: > > Hi Dillon > > On 5/12/20 9:36 AM, dillon.min...@gmail.com wrote: > > From: dillon min > > > > L3gd20, st mems motion sensor, 3-axis digital output gyroscope, > > connect to stm32f429 via sp

Re: [PATCH v3 3/5] ARM: dts: stm32: enable ltdc binding with ili9341 on stm32429-disco board

2020-05-14 Thread dillon min
Hi Alexandre, On Thu, May 14, 2020 at 8:53 PM Alexandre Torgue wrote: > > > > On 5/14/20 10:24 AM, Linus Walleij wrote: > > On Tue, May 12, 2020 at 9:04 AM wrote: > > > >> From: dillon min > >> > >> Enable the ltdc & ili9341 on st

Re: [PATCH v3 5/5] drm/panel: Add ilitek ili9341 driver

2020-05-14 Thread dillon min
Hi Linus, Thanks for reviewing. On Thu, May 14, 2020 at 4:14 PM Linus Walleij wrote: > > Hi Dillon, > > thanks for your patch! Overall this looks like a good start. > > On Tue, May 12, 2020 at 9:04 AM wrote: > > > #define ILI9341_SLEEP_OUT0x11 /* Sleep out register */ > > This is

Re: [PATCH v3 3/5] ARM: dts: stm32: enable ltdc binding with ili9341 on stm32429-disco board

2020-05-14 Thread dillon min
Hi, Linus, thanks for reviewing. On Thu, May 14, 2020 at 4:24 PM Linus Walleij wrote: > > On Tue, May 12, 2020 at 9:04 AM wrote: > > > From: dillon min > > > > Enable the ltdc & ili9341 on stm32429-disco board. > > > > Signed-off-by: dillon min >

Re: [PATCH 2/3] ARM: dts: stm32: enable l3gd20 on stm32429-disco board

2020-05-11 Thread dillon min
Hi, Alexandre, Thanks for review. On Mon, May 11, 2020 at 3:17 PM Alexandre Torgue wrote: > > Hi > > On 5/9/20 8:58 AM, dillon.min...@gmail.com wrote: > > From: dillon min > > > > Enable l3gd20 on stm32429-disco board. > > You could add some words abou

Re: [PATCH v2 5/5] drm/panel: add panel driver for Ilitek ili9341 panels

2020-05-09 Thread dillon min
Sam Ravnborg 于2020年5月10日周日 上午4:06写道: > > Hi Dillon. > > On Fri, May 08, 2020 at 06:13:43PM +0800, dillon min wrote: > > Hi Sam, > > > > Thanks for your comments, i will rework this panel driver after l3gd20 > > patch submission. > > > > Sam Ravn

Re: [PATCH v2 5/5] drm/panel: add panel driver for Ilitek ili9341 panels

2020-05-09 Thread dillon min
Hi sam, all, i'm not sure you had receive this mail , as gmail's html encoded messages blocked by linux arm kernel mailing list. so, resent it in plain text again. with my name "dillon: " at left sorry for trouble. dillon best regards dillon min 于2020年5月8日周五 下午6:13写道: