[PATCH] tools/virtio: fix build breakage

2017-04-17 Thread Sekhar Nori
have used 'false' for the value of the new boolean 'context' flag as that seems to be the best way to preserve existing behavior. Tested with: $ make -C tools/virtio clean all ARCH=x86 Fixes: db932ced55cf ("virtio: add context flag to find vqs") Signed-off-by: Sekhar Nori <nsek...@ti.c

[PATCH v2] tools/iio: Use include/uapi with __EXPORTED_HEADERS__

2017-04-21 Thread Sekhar Nori
ndy Dunlap <rdun...@infradead.org> Cc: Jonathan Cameron <ji...@kernel.org> Signed-off-by: Sekhar Nori <nsek...@ti.com> --- Change since v1: Shift to a strategy similar to that used by other makefiles in tools/ folder. v1 posting here: https://patchwork.kernel.org/patch/9674937/ tools

Re: [PATCH v2 3/3] ARM: dts: da850: Add node for LEGO MINDSTORMS EV3 Battery

2017-04-14 Thread Sekhar Nori
Hi David, On Wednesday 12 April 2017 02:35 AM, David Lechner wrote: > This adds a new node to the LEGO MINDSTORMS EV3 device tree for the battery. > > Signed-off-by: David Lechner I am done sending my pull requests for v4.12. So I added this to my queue for v4.13 Thanks,

Re: [PATCH] tools: iio: add ability to pass kernel headers

2017-04-20 Thread Sekhar Nori
On Tuesday 18 April 2017 03:42 PM, Sekhar Nori wrote: > Hi Jonathan, Randy, > > On Friday 14 April 2017 08:53 PM, Jonathan Cameron wrote: >> On 14/04/17 16:23, Randy Dunlap wrote: >>> On 04/14/17 07:42, Jonathan Cameron wrote: >>>> On 11/04/17 12:06,

Re: [RESEND PATCH] arm: assabet_defconfig: disable IDE subsystem

2017-03-09 Thread Sekhar Nori
Hi Bartlomiej, On Wednesday 08 March 2017 08:30 PM, Sekhar Nori wrote: >> It took a while to get to it but here is the draft driver patch >> against v4.11-rc1. Please test. > > I tested this on DM6446 EVM. I was able to mount existing partitions on > the hard disk and s

Re: [RESEND PATCH] arm: assabet_defconfig: disable IDE subsystem

2017-03-08 Thread Sekhar Nori
On Tuesday 07 March 2017 11:21 PM, Bartlomiej Zolnierkiewicz wrote: > > Hi, > > On Monday, December 12, 2016 07:24:47 PM Sekhar Nori wrote: >> Hi Bartlomiej, >> >> On Monday 12 December 2016 06:15 PM, Bartlomiej Zolnierkiewicz wrote: >>> >>>

Re: [RESEND PATCH] arm: assabet_defconfig: disable IDE subsystem

2017-03-09 Thread Sekhar Nori
On Thursday 09 March 2017 05:17 PM, Bartlomiej Zolnierkiewicz wrote: > > Hi Sekhar, > > On Thursday, March 09, 2017 02:09:30 PM Sekhar Nori wrote: >> Hi Bartlomiej, >> >> On Wednesday 08 March 2017 08:30 PM, Sekhar Nori wrote: >> >>>> It took a

Re: [RESEND PATCH] arm: assabet_defconfig: disable IDE subsystem

2017-03-09 Thread Sekhar Nori
On Thursday 09 March 2017 02:55 PM, Sergei Shtylyov wrote: [...] >> diff --git a/arch/arm/mach-davinci/board-dm644x-evm.c >> b/arch/arm/mach-davinci/board-dm644x-evm.c >> index 023480b75244..60a1f23890cd 100644 >> --- a/arch/arm/mach-davinci/board-dm644x-evm.c >> +++

Re: [PATCH 1/4] ARM: OMAP2+: omap_hwmod: provide space for more hwmod flags

2017-03-13 Thread Sekhar Nori
On Monday 13 March 2017 05:23 PM, Roger Quadros wrote: > From: Sekhar Nori <nsek...@ti.com> > > 'flags' member of omap_hwmod structure is fast running > out of space with 16 different flags already defined. > > Make flags a 32-bit entity so as to allow for more

Re: [PATCH 2/2] ARM: dts: am335x-icev2: Add CPSW ethernet0 and ethernet1

2017-03-14 Thread Sekhar Nori
On Tuesday 14 March 2017 12:54 AM, Grygorii Strashko wrote: > > > On 03/13/2017 08:42 AM, Roger Quadros wrote: >> Enable the 2 ethernet ports as CPSW ports in dual-mac mode >> >> Signed-off-by: Roger Quadros <rog...@ti.com> >> [nsek...@ti.com: use AM33XX

Re: [PATCH v3 0/4] ARM: dts: da850-evm: vpif DT changes

2017-03-07 Thread Sekhar Nori
On Tuesday 28 February 2017 09:45 PM, Bartosz Golaszewski wrote: > This series adds necessary changes to make vpif work on the da850-evm > board. > > The first patch only contains whitespace error fixes. > > The second patch add a pinctrl node for vpif display pins. > > The third adds the UI

Re: [PATCH 0/3] A/C and Sound device tree nodes for LEGO MINDSTORMS EV3

2017-03-07 Thread Sekhar Nori
On Monday 20 February 2017 04:06 PM, Sekhar Nori wrote: > On Wednesday 08 February 2017 12:52 AM, David Lechner wrote: >> This series adds device tree nodes for an analog/digital convert and for >> sound >> on LEGO MINDSTORMS EV3. The device tree bindings for these node

Re: [PATCH v4 1/6] ARM: davinci: da8xx: allow having multiple pdata-quirks

2017-03-07 Thread Sekhar Nori
On Tuesday 28 February 2017 09:31 PM, Bartosz Golaszewski wrote: > We currently bail-out after applying a single quirk. We will want > to reuse the function doing the vpif capture registration so remove > the break; and continue iterating over the quirk array. > > Signed-off-by: Bartosz

Re: [PATCH v4 0/6] ARM: davinci: vpif capture & display support

2017-03-07 Thread Sekhar Nori
On Wednesday 01 March 2017 06:58 PM, Sekhar Nori wrote: > On Tuesday 28 February 2017 09:31 PM, Bartosz Golaszewski wrote: >> This series adds pdata quirks and other changes required to make vpif >> work on the da850-evm board. > > Looks good to me. Will apply once v4.11-rc1

Re: [PATCH v3 3/4] ARM: dts: da850-evm: add the UI expander node

2017-03-07 Thread Sekhar Nori
On Tuesday 28 February 2017 09:45 PM, Bartosz Golaszewski wrote: > We need the expander to be probed to allow the VPIF controller to > receive interrupts from the video decoder. > > Signed-off-by: Bartosz Golaszewski This is basically an IO expander on UI card. So I

Re: [PATCH] tools: iio: add ability to pass kernel headers

2017-04-18 Thread Sekhar Nori
Hi Jonathan, Randy, On Friday 14 April 2017 08:53 PM, Jonathan Cameron wrote: > On 14/04/17 16:23, Randy Dunlap wrote: >> On 04/14/17 07:42, Jonathan Cameron wrote: >>> On 11/04/17 12:06, Sekhar Nori wrote: >>>> Very often, especially when cross compiling, there

Re: [PATCH 1/6] dt-bindings: ti,edma: Add 66AK2G specific information

2017-08-02 Thread Sekhar Nori
On Wednesday 02 August 2017 10:33 PM, Lokesh Vutla wrote: > On 8/1/2017 6:20 PM, Peter Ujfalusi wrote: >> On 2017-08-01 07:41, Lokesh Vutla wrote: >>> -Example: >>> +Examples: >> >> Do we really need to expand the examples to have identical set, but with >> power-domains? > > IIRC, there was a

Re: [PATCH 3/4] gpio: davinci: Add a separate compatible for keystone-k2g soc

2017-07-18 Thread Sekhar Nori
Hi Keerthy, On Tuesday 18 July 2017 04:27 PM, Keerthy wrote: > Add a separate compatible for keystone-k2g soc > > Signed-off-by: Keerthy > --- > Documentation/devicetree/bindings/gpio/gpio-davinci.txt | 3 ++- > drivers/gpio/gpio-davinci.c | 1 + >

Re: [PATCH 03/12] ARM: normalize clk API for older platforms

2017-07-21 Thread Sekhar Nori
f5dce9b4e617..89586779526c 100644 > --- a/arch/arm/mach-davinci/clock.c > +++ b/arch/arm/mach-davinci/clock.c > @@ -218,6 +218,12 @@ int clk_set_parent(struct clk *clk, struct clk *parent) > } > EXPORT_SYMBOL(clk_set_parent); > > +struct clk *clk_get_parent(struct clk *clk) &

Re: [PATCH 03/12] ARM: normalize clk API for older platforms

2017-07-21 Thread Sekhar Nori
On Friday 21 July 2017 01:47 PM, Arnd Bergmann wrote: > On Fri, Jul 21, 2017 at 10:05 AM, Sekhar Nori <nsek...@ti.com> wrote: > >>> diff --git a/arch/arm/mach-davinci/clock.c b/arch/arm/mach-davinci/clock.c >>> index f5dce9b4e617..89586779526c 100644 >>&

Re: [PATCH RESEND] ARM: davinci: don't mark vpif_input structures as 'const'

2017-07-27 Thread Sekhar Nori
e279e6e3 ("ARM: davinci: fix const warnings") > Signed-off-by: Arnd Bergmann <a...@arndb.de> Acked-by: Sekhar Nori <nsek...@ti.com> Looks like this slipped my testing since I had CONFIG_DA850_UI_SD_VIDEO_PORT switched off. Thanks for catching it. > --- > I originally se

Re: [PATCH v2] tools/iio: Use include/uapi with __EXPORTED_HEADERS__

2017-04-24 Thread Sekhar Nori
Hi Randy, On Sunday 23 April 2017 07:52 AM, Randy Dunlap wrote: > On 04/21/17 05:31, Sekhar Nori wrote: >> Use the local uapi headers to keep in sync with "recently" added enum >> values like IIO_UVINDEX. >> >> Build tested using: >> $ make -C too

Re: [PATCH] usb: gadget: f_uac2: calculate wMaxPacketSize before endpoint match

2017-08-08 Thread Sekhar Nori
On Tuesday 08 August 2017 07:50 PM, Roger Quadros wrote: > On 17/05/17 11:15, Sekhar Nori wrote: >> Calculate wMaxPacketSize before endpoint matching the >> descriptor is found. >> >> This allows audio gadget to be used with controllers >> which have a shorta

Re: [PATCH v4 0/5] Support for LEGO MINDSTORMS EV3 LCD display

2017-08-22 Thread Sekhar Nori
On Monday 07 August 2017 11:09 PM, David Lechner wrote: > ARM: dts: da850-lego-ev3: Add node for LCD display > ARM: davinci_all_defconfig: enable tinydrm and ST7586 Queuing these two patches (4/5 and 5/5) through davinci tree. Thanks, Sekhar

Re: [PATCH v3] serial: 8250_of: Add basic PM runtime support

2017-08-23 Thread Sekhar Nori
On Monday 21 August 2017 10:29 PM, Franklin S Cooper Jr wrote: > > > On 08/21/2017 07:20 AM, Sekhar Nori wrote: >> On Thursday 17 August 2017 02:25 AM, Franklin S Cooper Jr wrote: >>> 66AK2G UART instances are not apart of the ALWAYS_ON power domain. >>> Therefo

Re: [PATCH v3] serial: 8250_of: Add basic PM runtime support

2017-08-23 Thread Sekhar Nori
On Wednesday 23 August 2017 12:49 PM, Franklin S Cooper Jr wrote: > > > On 08/23/2017 01:34 AM, Sekhar Nori wrote: >> On Monday 21 August 2017 10:29 PM, Franklin S Cooper Jr wrote: >>> >>> >>> On 08/21/2017 07:20 AM, Sekhar Nori wrote: >>>>

Re: [PATCH 1/3] ARM: davinci: da8xx: Create DSP device only when assigned memory

2017-05-18 Thread Sekhar Nori
On Wednesday 17 May 2017 03:43 AM, Suman Anna wrote: > The DSP device on Davinci platforms does not have an MMU and requires > specific DDR memory to boot. This memory is reserved using the rproc_mem > kernel boot parameter and is assigned to the device on non-DT boots. > The remoteproc core uses

Re: [PATCH 1/2] ARM: davinci: PM: Free resources in error handling path in 'davinci_pm_init'

2017-05-17 Thread Sekhar Nori
On Saturday 13 May 2017 05:10 PM, Christophe JAILLET wrote: > If 'sram_alloc' fails, we need to free already allocated resources. > > Fixes: aa9aa1ec2df6 ("ARM: davinci: PM: rework init, remove platform device") > Signed-off-by: Christophe JAILLET Applied to fixes

[PATCH] usb: gadget: f_uac2: calculate wMaxPacketSize before endpoint match

2017-05-17 Thread Sekhar Nori
which has a MUSB HS controller with endpoints having max packet size much less than 1023 or 1024. See mode_2_cfg in drivers/usb/musb/musb_core.c Signed-off-by: Sekhar Nori <nsek...@ti.com> --- drivers/usb/gadget/function/f_uac2.c | 12 ++-- 1 file changed, 6 insertions(+), 6 del

Re: [PATCH 2/2] ARM: davinci: PM: Do not free useful resources in normal path in 'davinci_pm_init'

2017-05-17 Thread Sekhar Nori
Christophe JAILLET <christophe.jail...@wanadoo.fr> [nsek...@ti.com: commit message and minor style fixes] Signed-off-by: Sekhar Nori <nsek...@ti.com> I will let this go through some testing before sending for inclusion in v4.12 kernel. Thanks for catching these. For future,

Re: [PATCH] ARM: davinci_all_defconfig: enable LEGO MINDSTORMS EV3 battery module

2017-05-17 Thread Sekhar Nori
On Tuesday 16 May 2017 03:23 AM, David Lechner wrote: > This enables the power supply module for the LEGO MINDSTORMS EV3 battery. > > Signed-off-by: David Lechner > --- > > Goes along with https://patchwork.kernel.org/patch/9676087/ (which I don't see > in linux-davinci

Re: [PATCH] arm: dts: da850: Add interrupt-controller property to gpio node

2017-05-24 Thread Sekhar Nori
On Wednesday 24 May 2017 06:18 PM, Keerthy wrote: > The gpio node has 144 gpios. Each gpio is capable of generating > an interrupt. Hence add interrupt-controller property to the gpio > node. With this in place one can use interrupts property in device > tree to request for the gpio interrupts. >

Re: [PATCH 2/3] gpio: pcf857x: move header file out of I2C realm

2017-05-25 Thread Sekhar Nori
Hi Linus, On Tuesday 23 May 2017 03:05 PM, Linus Walleij wrote: > On Sun, May 21, 2017 at 11:57 PM, Wolfram Sang wrote: > >> include/linux/i2c is not for client devices. Move the header file to a >> more appropriate location. >> >> Signed-off-by: Wolfram Sang

Re: [PATCH 1/3] ARM: davinci: da8xx: Create DSP device only when assigned memory

2017-05-22 Thread Sekhar Nori
On Thursday 18 May 2017 09:29 PM, Suman Anna wrote: > Hi Sekhar, > > On 05/18/2017 01:10 AM, Sekhar Nori wrote: >> On Wednesday 17 May 2017 03:43 AM, Suman Anna wrote: >>> The DSP device on Davinci platforms does not have an MMU and requires >>> specifi

Re: [PATCH] ARM: dts: keystone-k2l: fix broken Ethernet due to disabled OSR

2017-05-26 Thread Sekhar Nori
...@ti.com> >>> [nsek...@ti.com: commit message updates, port to latest mainline] >>> Signed-off-by: Sekhar Nori <nsek...@ti.com> >>> --- >> >> Acked-by: Santosh Shilimkar <ssant...@kernel.org> >> >> Can you please pick this up fo

Re: [PATCH] ARM: dts: keystone-k2l: fix broken Ethernet due to disabled OSR

2017-05-26 Thread Sekhar Nori
On Friday 26 May 2017 01:42 PM, Arnd Bergmann wrote: > On Fri, May 26, 2017 at 9:44 AM, Sekhar Nori <nsek...@ti.com> wrote: >> Hi Arnd, >> >> On Friday 31 March 2017 03:43 PM, Arnd Bergmann wrote: >>> On Wed, Mar 29, 2017 at 6:13 PM, santosh.shilim...@oracle.c

Re: [PATCH v2] ARM: dts: da850: Add interrupt-controller property to gpio node

2017-05-30 Thread Sekhar Nori
On Wednesday 24 May 2017 07:31 PM, Keerthy wrote: > The gpio node has 144 gpios. Each gpio is capable of generating > an interrupt. Hence add interrupt-controller property to the gpio > node. With this in place one can use interrupts property in device > tree to request for the gpio interrupts. >

Re: [PATCH] [media] davinci/dm644x: work around ccdc_update_raw_params trainwreck

2017-06-27 Thread Sekhar Nori
On Tuesday 20 June 2017 06:36 PM, Lad, Prabhakar wrote: > Hi Arnd, > > Thanks for the patch. > > On Fri, Jun 9, 2017 at 10:36 PM, Arnd Bergmann wrote: >> Now that the davinci drivers can be enabled in compile tests on other >> architectures, I ran into this warning on a 64-bit

Re: [PATCH v4 0/2] i2c: davinci: Add PM Runtime Support needed by 66AK2G

2017-09-18 Thread Sekhar Nori
ments > Fix error path > > Version 4 changes: > Fix typo in commit message > Fix error path Acked-by: Sekhar Nori <nsek...@ti.com> Tested on DA850 LCDK board with some basic i2cdetect/i2cdump and suspend/resume tests. Thanks, Sekhar

Re: [PATCH] ARM: davinci_all_defconfig: enable CMA options

2017-09-22 Thread Sekhar Nori
Hi Suman, On Thursday 21 September 2017 08:41 PM, Suman Anna wrote: > On 09/21/2017 09:43 AM, Sekhar Nori wrote: >> On Wednesday 20 September 2017 11:31 PM, Suman Anna wrote: >>> Enable the CMA and DMA_CMA Kconfig options by default for >>> Davinci platforms. Davin

Re: [v2,1/3] can: m_can: Make hclk optional

2017-09-21 Thread Sekhar Nori
On Thursday 21 September 2017 06:01 AM, Franklin S Cooper Jr wrote: > > > On 08/24/2017 03:00 AM, Sekhar Nori wrote: >> + some OMAP folks and Linux OMAP list >> >> On Tuesday 25 July 2017 04:21 AM, Franklin Cooper wrote: >>> Hclk is the MCAN's interface cl

Re: [PATCH 0/3] Add and enable DSP device on OMAPL138 LCDK board

2017-09-20 Thread Sekhar Nori
Hi Suman, On Tuesday 19 September 2017 05:58 AM, Suman Anna wrote: > Hi Sekhar, > > The following series adds the DT node for the DSP device present on > on DA850/OMAPL138 SoCs. The node is disabled in the base dts file, and > enabled in the corresponding LCDK board file alongside the reserved >

Re: [PATCH] ARM: davinci_all_defconfig: enable CMA options

2017-09-21 Thread Sekhar Nori
On Wednesday 20 September 2017 11:31 PM, Suman Anna wrote: > Enable the CMA and DMA_CMA Kconfig options by default for > Davinci platforms. Davinci remoteproc driver is one of the > modules that depends on these options, and this allows the > driver to be made visible for selection with

Re: [RFC PATCH] can: m_can: Support higher speed CAN-FD bitrates

2017-09-13 Thread Sekhar Nori
On Thursday 14 September 2017 03:28 AM, Franklin S Cooper Jr wrote: > > > On 08/18/2017 02:39 PM, Franklin S Cooper Jr wrote: >> During test transmitting using CAN-FD at high bitrates (4 Mbps) only >> resulted in errors. Scoping the signals I noticed that only a single bit >> was being

Re: [PATCH v3 1/2] i2c: davinci: Add PM Runtime Support

2017-09-11 Thread Sekhar Nori
On Friday 08 September 2017 11:24 PM, Franklin S Cooper Jr wrote: > 66AK2G has I2C instances that are not apart of the ALWAYS_ON power domain > like other Keystone 2 SoCs and OMAPL138. Therefore, pm_runtime unlike ? > is required to insure the power domain used by the specific I2C instance is >

Re: [PATCH v4 1/2] i2c: davinci: Add PM Runtime Support

2017-09-12 Thread Sekhar Nori
On Tuesday 12 September 2017 07:28 AM, Baolin Wang wrote: >> @@ -802,13 +821,24 @@ static int davinci_i2c_probe(struct platform_device >> *pdev) >> dev->clk = devm_clk_get(>dev, NULL); >> if (IS_ERR(dev->clk)) >> return PTR_ERR(dev->clk); >> -

Re: [PATCH v4 1/2] i2c: davinci: Add PM Runtime Support

2017-09-12 Thread Sekhar Nori
On Tuesday 12 September 2017 02:44 PM, Baolin Wang wrote: > Hi, > > On 12 September 2017 at 16:48, Sekhar Nori <nsek...@ti.com> wrote: >> On Tuesday 12 September 2017 07:28 AM, Baolin Wang wrote: >>>> @@ -802,13 +821,24 @@ static int davinci_i2c_probe(s

Re: [PATCH v3 1/2] i2c: davinci: Add PM Runtime Support

2017-09-12 Thread Sekhar Nori
On Tuesday 12 September 2017 01:41 AM, Grygorii Strashko wrote: > > > On 09/11/2017 03:07 PM, Franklin S Cooper Jr wrote: >> >> >> On 09/11/2017 06:29 AM, Sekhar Nori wrote: >>> On Friday 08 September 2017 11:24 PM, Franklin S Cooper Jr wrote: >>>

Re: [PATCH] PM / OPP: Move the OPP directory out of power/

2017-09-25 Thread Sekhar Nori
On Tuesday 26 September 2017 05:35 AM, Viresh Kumar wrote: > The drivers/base/power/ directory is special and contains code related > to power management core like system suspend/resume, hibernation, etc. > It was fine to keep the OPP code inside it when we had just one file for > it, but it is

Re: [PATCH] ARM: davinci_all_defconfig: enable CMA options

2017-09-26 Thread Sekhar Nori
On Friday 22 September 2017 09:54 PM, Suman Anna wrote: > Hi Sekhar, > >> >> On Thursday 21 September 2017 08:41 PM, Suman Anna wrote: >>> On 09/21/2017 09:43 AM, Sekhar Nori wrote: >>>> On Wednesday 20 September 2017 11:31 PM, Suman Anna wrote: >>&

Re: [PATCH] ARM: davinci_all_defconfig: enable CMA options

2017-09-26 Thread Sekhar Nori
Hi David, On Friday 22 September 2017 10:13 PM, David Lechner wrote: > On 09/22/2017 11:24 AM, Suman Anna wrote: >> Hi Sekhar, >> >>> >>> On Thursday 21 September 2017 08:41 PM, Suman Anna wrote: >>>> On 09/21/2017 09:43 AM, Sekhar Nori wrote: >>

Re: [PATCH v2 2/3] i2c: davinci: Add PM Runtime Support

2017-08-21 Thread Sekhar Nori
On Tuesday 22 August 2017 06:47 AM, Franklin S Cooper Jr wrote: > > > On 08/21/2017 04:05 AM, Sekhar Nori wrote: >> On Thursday 17 August 2017 03:47 AM, Franklin S Cooper Jr wrote: >> >>> @@ -802,7 +821,6 @@ static int davinci_i2c_probe(struct platform_devic

Re: [PATCH v3] serial: 8250_of: Add basic PM runtime support

2017-08-21 Thread Sekhar Nori
On Thursday 17 August 2017 02:25 AM, Franklin S Cooper Jr wrote: > 66AK2G UART instances are not apart of the ALWAYS_ON power domain. > Therefore, pm_runtime calls must be made to properly insure the appropriate > power domains needed by UART are on. Keep legacy clk api calls since other > users

Re: [PATCH v2 3/3] dt-bindings: i2c: i2c-davinci: Update binding for 66AK2Gx pwr dm property

2017-08-21 Thread Sekhar Nori
On Thursday 17 August 2017 03:47 AM, Franklin S Cooper Jr wrote: > Add pm-domains property which is required for 66AK2Gx. Also document 66AK2G > unique clocks property usage. > > Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> > Acked-by: Rob Herring <r...@kernel.org

Re: [PATCH v2 2/3] i2c: davinci: Add PM Runtime Support

2017-08-21 Thread Sekhar Nori
On Thursday 17 August 2017 03:47 AM, Franklin S Cooper Jr wrote: > @@ -802,7 +821,6 @@ static int davinci_i2c_probe(struct platform_device *pdev) > dev->clk = devm_clk_get(>dev, NULL); > if (IS_ERR(dev->clk)) > return PTR_ERR(dev->clk); > -

Re: [PATCH v2 1/3] i2c: davinci: Preserve return value of devm_clk_get

2017-08-21 Thread Sekhar Nori
l to reprobe the driver at a later time. This patch allows the error > value returned by devm_clk_get to be passed through and not overwritten. > > Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> > Reviewed-by: Grygorii Strashko <grygorii.stras...@ti.com> Acked-by:

Re: [PATCH v2 2/3] i2c: davinci: Add PM Runtime Support

2017-08-21 Thread Sekhar Nori
ore, pm_runtime >> is required to insure the power domain used by the specific I2C instance is >> properly turned on along with its functional clock. >> >> Signed-off-by: Franklin S Cooper Jr <fcoo...@ti.com> > > I'd need a review from the driver maintainers here. Wh

Re: [v2,1/3] can: m_can: Make hclk optional

2017-08-24 Thread Sekhar Nori
+ some OMAP folks and Linux OMAP list On Tuesday 25 July 2017 04:21 AM, Franklin Cooper wrote: > Hclk is the MCAN's interface clock. However, for OMAP based devices such as > DRA7 SoC family the interface clock is handled by hwmod. Therefore, this > interface clock is managed by hwmod driver via

Re: [v2,3/3] can: m_can: Add PM Runtime

2017-08-24 Thread Sekhar Nori
+ OMAP mailing list On Tuesday 25 July 2017 04:21 AM, Franklin Cooper wrote: > Add support for PM Runtime which is the new way to handle managing clocks. > However, to avoid breaking SoCs not using PM_RUNTIME leave the old clk > management approach in place. Since hclk is the interface clock, I

Re: [PATCH] ARM: dts: da850-evm: add chosen and SPI alias

2017-09-04 Thread Sekhar Nori
On Friday 01 September 2017 08:37 PM, Adam Ford wrote: > At the request of Sekhar Nori from TI, this is a follow-up to This can be: Suggested-by: Sekhar Nori <nsek...@ti.com> > pending ("ARM: dts: da850-evm: add serial and ethernet aliases") Any patch dependency refer

Re: [PATCH] mmc:host:sdhci-pci:V2-Addition of Arasan PCI controller with integrated phy.

2017-10-11 Thread Sekhar Nori
Hi Atul, On Tuesday 10 October 2017 11:12 PM, Atul Garg wrote: > The Arasan controller is based on a FPGA platform and has integrated phy > with specific phy registers used during the initialization and > management of different modes. The phy and the controller are integrated > and registers are

Re: [RFC PATCH] can: m_can: Support higher speed CAN-FD bitrates

2017-10-18 Thread Sekhar Nori
On Wednesday 18 October 2017 07:47 PM, Franklin S Cooper Jr wrote: > > > On 10/18/2017 08:24 AM, Sekhar Nori wrote: >> Hi Marc, >> >> On Wednesday 18 October 2017 06:14 PM, Marc Kleine-Budde wrote: >>> On 09/21/2017 02:48 AM, Franklin S Cooper Jr wrote: &

Re: [RFC PATCH] can: m_can: Support higher speed CAN-FD bitrates

2017-10-19 Thread Sekhar Nori
On Thursday 19 October 2017 02:43 PM, Marc Kleine-Budde wrote: > On 10/19/2017 07:07 AM, Sekhar Nori wrote: >>>>> Sounds reasonable. What's the status of this series? >>>> >>>> I have had some offline discussions with Franklin on this, and I am not >

Re: [RFC PATCH] can: m_can: Support higher speed CAN-FD bitrates

2017-10-18 Thread Sekhar Nori
>>>> Hi Wenyou, >>>> >>>> On 09/17/2017 10:47 PM, Yang, Wenyou wrote: >>>>> >>>>> On 2017/9/14 13:06, Sekhar Nori wrote: >>>>>> On Thursday 14 September 2017 03:28 AM, Franklin S Cooper Jr wrote: >>>>>>

Re: [RFC PATCH] can: m_can: Support higher speed CAN-FD bitrates

2017-10-20 Thread Sekhar Nori
On Thursday 19 October 2017 08:25 PM, Marc Kleine-Budde wrote: > On 10/19/2017 03:54 PM, Franklin S Cooper Jr wrote: >> On 10/19/2017 06:32 AM, Marc Kleine-Budde wrote: >>> On 10/19/2017 01:09 PM, Sekhar Nori wrote: >>>> On Thursday 19 October 2017 02:43 PM, Marc Klei

Re: [PATCH 1/2] ARM: davinci: make the function argument as const

2017-11-27 Thread Sekhar Nori
On Monday 16 October 2017 03:38 PM, Bhumika Goyal wrote: > Make the function argument of the function davinci_common_init > as const as it's memory contents are only copied during a > memcpy call. So, the fields of the structure to which the argument > soc_info points to never gets modified and

Re: [PATCH 2/2] ARM: davinci: make davinci_soc_info structures const

2017-11-27 Thread Sekhar Nori
mi...@gmail.com> [nsek...@ti.com: minor commit message adjustment] Signed-off-by: Sekhar Nori <nsek...@ti.com> " With that I applied the patch to v4.16/fixes-non-critical Thanks, Sekhar

Re: [PATCH] ARM: davinci: Use PTR_ERR_OR_ZERO()

2017-11-28 Thread Sekhar Nori
On Tuesday 28 November 2017 04:33 AM, Vasyl Gomonovych wrote: > Fix ptr_ret.cocci warnings: > arch/arm/mach-davinci/devices-da8xx.c:255:8-14: WARNING: PTR_ERR_OR_ZERO can > be used > arch/arm/mach-davinci/devices-da8xx.c:300:8-14: WARNING: PTR_ERR_OR_ZERO can > be used >

Re: [PATCH v3 4/5] ARM: davinci: convert to common clock framework

2017-12-19 Thread Sekhar Nori
Hi David, On Saturday 09 December 2017 07:45 AM, David Lechner wrote: > This converts the clocks in mach-davinci to the common clock framework. > > Most of the patch just involves renaming struct clk to struct davinci_clk. > There is also a struct clk_hw added to provide the bridge between the >

Re: [PATCH 23/25] arm: da8: dts: Remove leading 0x and 0s from bindings notation

2017-12-19 Thread Sekhar Nori
On Friday 15 December 2017 06:16 PM, Mathieu Malaterre wrote: > Improve the DTS files by removing all the leading "0x" and zeros to fix the > following dtc warnings: > > Warning (unit_address_format): Node /XXX unit name should not have leading > "0x" > > and > > Warning (unit_address_format):

Re: [PATCH 0/2] ARM: davinici: move watchdog restart from mach to drivers

2017-12-19 Thread Sekhar Nori
Hi David, On Monday 11 December 2017 10:51 PM, David Lechner wrote: > This series moves the watchdog restart code from arch/arm/mach-davinci > to drivers/watchdog. > > Tested working on LEGO MINDSTORMS EV3 (TI AM1808 processor). The patches look good to me. I also tested them on

Re: [PATCH] rtc: omap: Support scratch registers

2017-11-05 Thread Sekhar Nori
On Monday 06 November 2017 12:29 PM, Keerthy wrote: > > > On Monday 06 November 2017 12:25 PM, Sekhar Nori wrote: >> + linux omap list >> >> On Tuesday 31 October 2017 09:57 PM, Alexandre Belloni wrote: >>> Register an nvmem device to expose the 3 scra

Re: [PATCH] rtc: omap: Support scratch registers

2017-11-05 Thread Sekhar Nori
Looks good to me. Reviewed-by: Sekhar Nori <nsek...@ti.com> Curious on what you are using these registers for. Thanks, Sekhar > --- > drivers/rtc/rtc-omap.c | 45 + > 1 file changed, 45 insertions(+) > > diff --git a/drivers/

Re: [PATCH v3] ARM: davinci: fix mmc entries in dm365's dma_slave_map

2017-12-08 Thread Sekhar Nori
On Friday 08 December 2017 04:05 PM, Alejandro Mery wrote: > fix mmc entries in dm365's dma_slave_map to match the actual device names > > Fixes: 0c750e1fe481 ("ARM: davinci: dm365: Add dma_slave_map to edma") > Signed-off-by: Alejandro Mery Applied to fixes branch of

Re: [PATCH v1 1/6] ARM: davinci: clean up map_io functions

2017-12-08 Thread Sekhar Nori
On Thursday 07 December 2017 10:44 PM, David Lechner wrote: > On 12/07/2017 08:52 AM, Sekhar Nori wrote: >> On Saturday 02 December 2017 08:04 AM, David Lechner wrote: >>> This cleans up the map_io functions in the board init files for >>> mach-davinci. >>>

Re: [PATCH v1 1/6] ARM: davinci: clean up map_io functions

2017-12-08 Thread Sekhar Nori
On Saturday 02 December 2017 08:04 AM, David Lechner wrote: > static int dm355leopard_mmc_get_cd(int module) > { > if (!gpio_is_valid(leopard_mmc_gpio)) > @@ -269,7 +264,7 @@ static __init void dm355_leopard_init(void) > > MACHINE_START(DM355_LEOPARD, "DaVinci DM355 leopard") >

Re: [PATCH v3] ARM: da850: Fix LEGO EV3 battery voltage gpio

2017-12-06 Thread Sekhar Nori
On Monday 04 December 2017 03:34 AM, David Lechner wrote: > This fixes the battery voltage monitoring gpio-hog settings. > > When the gpio is low, it turns off the battery voltage to the ADC chip. > However, this needs to be on all of the time so that we can monitor > battery voltage. > > Also,

Re: [PATCH v1 1/6] ARM: davinci: clean up map_io functions

2017-12-07 Thread Sekhar Nori
On Saturday 02 December 2017 08:04 AM, David Lechner wrote: > This cleans up the map_io functions in the board init files for > mach-davinci. > > Most of the boards had a wrapper function around _init(). This > wrapper is removed and the function is used directly. Additionally, the > _init()

Re: [PATCH v3 4/5] ARM: davinci: convert to common clock framework

2017-12-21 Thread Sekhar Nori
On Wednesday 20 December 2017 04:42 AM, David Lechner wrote: > On 12/19/2017 07:47 AM, Sekhar Nori wrote: >> Hi David, >> >> On Saturday 09 December 2017 07:45 AM, David Lechner wrote: >>> This converts the clocks in mach-davinci to the common clock framework.

Re: [PATCH] clk: davinci: pll-dm355: fix SYSCLKn parent names

2018-05-06 Thread Sekhar Nori
ng the driver's development. > > Reported-by: Sekhar Nori <nsek...@ti.com> > Signed-off-by: David Lechner <da...@lechnology.com> > --- > > Sekhar, can you please test to make sure this works? > > > drivers/clk/davinci/pll-dm355.c | 12 ++-- >

Re: [PATCH v9 07/27] ARM: davinci: dm355: add new clock init using common clock framework

2018-05-04 Thread Sekhar Nori
On Thursday 03 May 2018 09:14 PM, David Lechner wrote: > On 05/03/2018 10:34 AM, Sekhar Nori wrote: >> On Friday 27 April 2018 05:47 AM, David Lechner wrote: >>> This adds the new board-specific clock init in mach-davinci/dm355.c >>> using the new com

Re: [PATCH v2 1/2] clk: davinci: pll-dm355: fix SYSCLKn parent names

2018-05-07 Thread Sekhar Nori
r's development. > > Reported-by: Sekhar Nori <nsek...@ti.com> > Signed-off-by: David Lechner <da...@lechnology.com> > --- > > v2 changes: > - add second patch to fix additional problems with DM355 > > drivers/clk/davinci/pll-dm355.c | 12 ++-- >

Re: [PATCH] ARM: dts: da850-lego-ev3: remove unnecessary gpio-keys properties

2018-05-14 Thread Sekhar Nori
On Sunday 13 May 2018 03:11 AM, David Lechner wrote: > This removes the #address-cells and #size-cells properties from the > gpio-keys node in the da850-lego-ev3 device tree. These properties are > not needed since the child nodes don't have a reg property. > > Signed-off-by: David Lechner

Re: [PATCH] MAINTAINERS: add entry for LEGO MINDSTORMS EV3

2018-05-14 Thread Sekhar Nori
d-off-by: David Lechner <da...@lechnology.com> Acked-by: Sekhar Nori <nsek...@ti.com> Thanks, Sekhar > --- > MAINTAINERS | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index df6e9bb2559a..2e057e0138b7 100644 > --

Re: [PATCH] clk: davinci: psc-dm355: fix ASP0/1 clkdev lookups

2018-05-14 Thread Sekhar Nori
On Sunday 13 May 2018 02:19 AM, David Lechner wrote: > The clkdev lookups for the ASP0/1 devices on TI DM355 were declared, but > not assigned to any LPSC. This assigns the clkdev lookups to the > correct LPSCs. > > Reported-by: Sekhar Nori <nsek...@ti.com> > Signed-o

Re: [PATCH RFC PoC 0/2] platform: different approach to early platform drivers

2018-04-27 Thread Sekhar Nori
Hi Arnd, On Friday 27 April 2018 01:22 PM, Arnd Bergmann wrote: > On Fri, Apr 27, 2018 at 4:28 AM, David Lechner wrote: >> On 04/26/2018 12:31 PM, Rich Felker wrote: >>> >>> On Thu, Apr 26, 2018 at 05:29:18PM +0200, Bartosz Golaszewski wrote: From: Bartosz

Re: [PATCH V3] ARM: dts: da850-evm: use phandles to extend nodes

2018-05-10 Thread Sekhar Nori
s/heads/v4.18/dt) Author: Adam Ford <aford...@gmail.com> AuthorDate: Mon May 7 07:37:21 2018 -0500 Commit: Sekhar Nori <nsek...@ti.com> CommitDate: Thu May 10 14:01:15 2018 +0530 ARM: dts: da850-evm: use phandles to extend nodes Many node labels in the device tree (l

Re: [PATCH V3] ARM: dts: da850-evm: use phandles to extend nodes

2018-05-10 Thread Sekhar Nori
On Thursday 10 May 2018 08:38 PM, Adam Ford wrote: > On Thu, May 10, 2018 at 4:10 AM, Sekhar Nori <nsek...@ti.com> wrote: >> On Monday 07 May 2018 06:07 PM, Adam Ford wrote: >>> Many node labels in the device tree (like serial0, serial1, etc) are being >>> redefin

Re: [PATCH v3 1/2] clk: davinci: pll-dm355: drop pll2_sysclk2

2018-05-10 Thread Sekhar Nori
nism to keep it on. > > Reported-by: Sekhar Nori <nsek...@ti.com> > Signed-off-by: David Lechner <da...@lechnology.com> I would not have minded the SYSCLK_ALWAYS_ENABLED change to be a separate patch too, but: Acked-by: Sekhar Nori <nsek...@ti.com> Thanks, Sekhar

Re: [PATCH v3 2/2] clk: davinci: pll-dm355: fix SYSCLKn parent names

2018-05-10 Thread Sekhar Nori
ng the driver's development. > > Reported-by: Sekhar Nori <nsek...@ti.com> > Signed-off-by: David Lechner <da...@lechnology.com> Acked-by: Sekhar Nori <nsek...@ti.com> Thanks, Sekhar

Re: [PATCH v10 00/27] ARM: davinci: convert to common clock framework​

2018-05-11 Thread Sekhar Nori
Hi David, On Wednesday 09 May 2018 10:55 PM, David Lechner wrote: > This series converts mach-davinci to use the common clock framework. > > The series works like this, the first 3 patches fix some issues with the clock > drivers that have already been accepted into the mainline kernel. I have

Re: [PATCH] ARM: dts: da850-lcdk: increase the size of the u-boot nand partition

2018-05-04 Thread Sekhar Nori
Hi Bartosz, On Friday 04 May 2018 01:38 PM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Current mainline u-boot builds images that are bigger than the 0x8 > bytes u-boot partition allocated from the NAND memory. Using the free > space partition

Re: [PATCH v10 02/27] clk: davinci: da850-pll: change PLL0 to CLK_OF_DECLARE

2018-05-15 Thread Sekhar Nori
hip = syscon_regmap_lookup_by_compatible("ti,da830-cfgchip"); It will be nice to handle the error case here. > + > + of_davinci_pll_init(NULL, node, _pll0_info, > + _pll0_obsclk_info, > + da850_pll0_sysclk_info, 7, base,

Re: [PATCH v10 03/27] clk: davinci: psc: allow for dev == NULL

2018-05-15 Thread Sekhar Nori
On Wednesday 09 May 2018 10:55 PM, David Lechner wrote: > @@ -261,10 +263,14 @@ davinci_lpsc_clk_register(struct device *dev, const > char *name, > lpsc->pd = pd; > lpsc->flags = flags; > > - ret = devm_clk_hw_register(dev, >hw); > + ret = clk_hw_register(dev, >hw); >

Re: [PATCH v10 25/27] ARM: davinci: add device tree support to timer

2018-05-18 Thread Sekhar Nori
On Thursday 17 May 2018 08:39 PM, David Lechner wrote: > On 05/17/2018 09:35 AM, Sekhar Nori wrote: >> Hi David, >> >> On Wednesday 09 May 2018 10:56 PM, David Lechner wrote: >>> This adds device tree support to the davinci timer so that when clocks >>&

Re: [PATCH v10 25/27] ARM: davinci: add device tree support to timer

2018-05-17 Thread Sekhar Nori
Hi David, On Wednesday 09 May 2018 10:56 PM, David Lechner wrote: > This adds device tree support to the davinci timer so that when clocks > are moved to device tree, the timer will still work. > > Signed-off-by: David Lechner > --- > +static int __init

Re: [PATCH v10 00/27] ARM: davinci: convert to common clock framework​

2018-05-16 Thread Sekhar Nori
On Wednesday 16 May 2018 01:17 PM, Bartosz Golaszewski wrote: > 2018-05-16 0:44 GMT+02:00 Adam Ford : >> On Tue, May 15, 2018 at 4:25 AM, Bartosz Golaszewski wrote: >>> 2018-05-14 2:40 GMT+02:00 Adam Ford : On Wed, May 9, 2018 at 12:25

Re: [PATCH v11 00/27] ARM: davinci: convert to common clock framework​

2018-05-22 Thread Sekhar Nori
Hi David, On Friday 18 May 2018 10:18 PM, David Lechner wrote: > This series converts mach-davinci to use the common clock framework. > > The series works like this, the first 3 patches fix some issues with the clock > drivers that have already been accepted into the mainline kernel. > > Then,

Re: [PATCH v11 03/27] clk: davinci: psc: allow for dev == NULL

2018-05-22 Thread Sekhar Nori
r the clocks. > > Some function declarations are moved to a public header files so that they can > be called from mach init code. > > Signed-off-by: David Lechner <da...@lechnology.com> Reviewed-by: Sekhar Nori <nsek...@ti.com> Thanks, Sekhar

Re: [PATCH v10 02/27] clk: davinci: da850-pll: change PLL0 to CLK_OF_DECLARE

2018-05-15 Thread Sekhar Nori
On Tuesday 15 May 2018 09:12 PM, David Lechner wrote: > On 05/15/2018 08:31 AM, Sekhar Nori wrote: >> On Wednesday 09 May 2018 10:55 PM, David Lechner wrote: >>> +void of_da850_pll0_init(struct device_node *node) >>>   { >>> -    return of_davinci_pl

<    4   5   6   7   8   9   10   11   12   13   >