[PATCH 4/4] usb: renesas_usbhs: add extcon notifier to set mode for non-otg channel

2017-12-12 Thread Yoshihiro Shimoda
This patch adds extcon notifier callback to set the mode of host/peripheral by using extcon state (e.g phy-rcar-gen3-usb2) for non-otg channel (e.g. R-Car D3). Signed-off-by: Yoshihiro Shimoda --- drivers/usb/renesas_usbhs/common.c | 9 + drivers/usb/renesas_usbhs/common.h | 1 + drive

[PATCH 2/4] usb: renesas_usbhs: add a new callback for extcon notifier

2017-12-12 Thread Yoshihiro Shimoda
To set host/peripheral mode by using extcon notifier, this patch adds a new callback as "notifier" in renesas_usbhs_platform_callback. Signed-off-by: Yoshihiro Shimoda --- include/linux/usb/renesas_usbhs.h | 8 1 file changed, 8 insertions(+) diff --git a/include/linux/usb/renesas_usbh

[PATCH 3/4] usb: renesas_usbhs: set the mode by using extcon state for non-otg channel

2017-12-12 Thread Yoshihiro Shimoda
The usbhs_rcar3_power_and_pll_ctrl() will be used by non-otg channel (e.g. R-Car D3) and the previous code has hardcoded as peripheral mode. So, this patch sets the mode by using extcon state. If the channel doesn't get any extcon devices, this driver's behavior is the same as before. Signed-off-b

[PATCH 1/4] usb: renesas_usbhs: Add a function to write the UGCTRL2 register

2017-12-12 Thread Yoshihiro Shimoda
To cleanup the code, this patch adds a function to write the UGCTRL2 register. Signed-off-by: Yoshihiro Shimoda --- drivers/usb/renesas_usbhs/rcar3.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/usb/renesas_usbhs/rcar3.c b/drivers/usb/renesas_usbhs/rca

[PATCH 0/4] usb: renesas_usbhs: add extcon notifier for non-otg channel

2017-12-12 Thread Yoshihiro Shimoda
This patch set is based on the Felipe's usb.git / testing/next branch (commit id = f2830ad455ec0fdc386baeb9d654f7095bf849da). Yoshihiro Shimoda (4): usb: renesas_usbhs: Add a function to write the UGCTRL2 register usb: renesas_usbhs: add a new callback for extcon notifier usb: renesas_usbhs:

[PATCH 4/5] phy: renesas: rcar-gen3-usb2: add rcar_gen3_role_swap_ops

2017-12-12 Thread Yoshihiro Shimoda
This patch add rcar_gen3_role_swap_ops to support other feature (e.g. gpio handling) easily. Signed-off-by: Yoshihiro Shimoda --- drivers/phy/renesas/phy-rcar-gen3-usb2.c | 51 +++- 1 file changed, 43 insertions(+), 8 deletions(-) diff --git a/drivers/phy/renesas/phy

[PATCH 2/5] phy: renesas: rcar-gen3-usb2: unify OBINTEN handling

2017-12-12 Thread Yoshihiro Shimoda
This patch unifies the OBINTEN handling to clean-up the code. Signed-off-by: Yoshihiro Shimoda --- drivers/phy/renesas/phy-rcar-gen3-usb2.c | 23 +++ 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/drivers/phy/renesas/phy-rcar-gen3-usb2.c b/drivers/phy/renesas

[PATCH 5/5] phy: renesas: rcar-gen3-usb2: add gpio handling

2017-12-12 Thread Yoshihiro Shimoda
Some R-Car SoCs (e.g. R-Car D3) doesn't have dedicated pins of VBUS and ID. So, they may be connected to gpio pins. To handle the gpio pins, this patch adds the handling of VBUS and ID pins instead of dedicated pins. Signed-off-by: Yoshihiro Shimoda --- .../devicetree/bindings/phy/rcar-gen3-phy-

[PATCH 1/5] phy: renesas: rcar-gen3-usb2: call INIT_WORK() anyway

2017-12-12 Thread Yoshihiro Shimoda
In the future, the work struct will be used by non-irq related code. So, this patch moves the INIT_WORK() timing. Signed-off-by: Yoshihiro Shimoda --- drivers/phy/renesas/phy-rcar-gen3-usb2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/phy/renesas/phy-rcar-gen3-

[PATCH 3/5] phy: renesas: rcar-gen3-usb2: use prefix "has_otg_pins_" for dedicated pins handling

2017-12-12 Thread Yoshihiro Shimoda
To support gpio handling in the future, this patch clean-ups the code to use prefix "has_otg_pins_" functions. Signed-off-by: Yoshihiro Shimoda --- drivers/phy/renesas/phy-rcar-gen3-usb2.c | 130 --- 1 file changed, 85 insertions(+), 45 deletions(-) diff --git a/driv

[PATCH 0/5] phy: renesas: rcar-gen3-usb2: add gpio handling for R-Car D3

2017-12-12 Thread Yoshihiro Shimoda
This patch set is based on the latest linux-phy / next branch (commit id = 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323). This new feature will be used by the renesas_usbhs driver on R-Car D3. Yoshihiro Shimoda (5): phy: renesas: rcar-gen3-usb2: call INIT_WORK() anyway phy: renesas: rcar-gen3-usb

[BUG] renesas/ravb: two possible sleep-in-atomic bugs in ravb_set_link_ksettings and ravb_nway_reset

2017-12-12 Thread Jia-Ju Bai
Accoring to drivers/net/ethernet/renesas/ravb_main.c, the driver may sleep under a spinlock. The function call paths are: ravb_set_link_ksettings (acquire the spinlock) phy_ethtool_ksettings_set phy_start_aneg phy_start_aneg_priv mutex_lock --> may sleep ravb_nway_reset (acqu

[BUG] renesas/sh_eth: two possible sleep-in-atomic bugs in sh_eth_set_link_ksettings and sh_eth_nway_reset

2017-12-12 Thread Jia-Ju Bai
Accoring to drivers/net/ethernet/renesas/sh_eth.c, the driver may sleep under a spinlock. The function call paths are: sh_eth_set_link_ksettings (acquire the spinlock) phy_ethtool_ksettings_set phy_start_aneg phy_start_aneg_priv mutex_lock --> may sleep sh_eth_nway_reset (acq

[PATCH] mmc: renesas_sdhi: Add MODULE_LICENSE

2017-12-12 Thread Yoshihiro Shimoda
From: Masaharu Hayakawa The following error occurs when loading renesas_sdhi_core.c module, so add MODULE_LICENSE("GPL v2"). renesas_sdhi_core: module license 'unspecified' taints kernel. Signed-off-by: Masaharu Hayakawa Fixes: 9d08428afb72 ("mmc: renesas-sdhi: make renesas_sdhi_sys_dmac main

Hang on Salvator-X(S) with v4.15-rc3

2017-12-12 Thread Geert Uytterhoeven
With the attached config, Salvator-X(S) (H3 ES1/2 and M3-W) hang during boot. This does not happen with renesas-defconfig. WARNING: possible recursive locking detected 4.15.0-rc3-salvator-x #1515 Not tainted

Re: [PATCH] gpio: Add helpers to determin direction of gpiods

2017-12-12 Thread Wolfram Sang
Hey Linus, thanks for doing this. On Sun, Dec 10, 2017 at 01:23:40AM +0100, Linus Walleij wrote: > The gpiod_get_direction() returns 1 for input and 0 for output > but it's pretty hard to remember which one is which and generally > unintuitive and messy to provide #defines so let's simply add > t

Re: arm64: unhandled level 0 translation fault

2017-12-12 Thread Geert Uytterhoeven
Hi Will, On Tue, Dec 12, 2017 at 5:57 PM, Will Deacon wrote: > On Tue, Dec 12, 2017 at 05:00:33PM +0100, Geert Uytterhoeven wrote: >> On Tue, Dec 12, 2017 at 4:11 PM, Geert Uytterhoeven >> wrote: >> > On Tue, Dec 12, 2017 at 11:36 AM, Will Deacon wrote: >> >> On Tue, Dec 12, 2017 at 11:20:09AM

Re: [PATCH 1/2] PCI: rcar: Fix use-after-free in probe error path

2017-12-12 Thread Bjorn Helgaas
On Thu, Dec 07, 2017 at 11:15:19AM +0100, Geert Uytterhoeven wrote: > If CONFIG_DEBUG_SLAB=y, and no PCIe card is inserted, the kernel crashes > during probe on r8a7791/koelsch: > > rcar-pcie fe00.pcie: PCIe link down > Unable to handle kernel paging request at virtual address 6b6b6b6b

[PATCH 3/3] ARM: dts: r8a7745: Add CMT SoC specific support

2017-12-12 Thread Fabrizio Castro
Add CMT[01] support to SoC DT. Signed-off-by: Fabrizio Castro Reviewed-by: Biju Das --- arch/arm/boot/dts/r8a7745.dtsi | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/r8a7745.dtsi b/arch/arm/boot/dts/r8a7745.dtsi index 0fa7861..765a80d 10064

[PATCH 2/3] ARM: dts: r8a7743: Add CMT SoC specific support

2017-12-12 Thread Fabrizio Castro
Add CMT[01] support to SoC DT. Signed-off-by: Fabrizio Castro Reviewed-by: Biju Das --- arch/arm/boot/dts/r8a7743.dtsi | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/boot/dts/r8a7743.dtsi b/arch/arm/boot/dts/r8a7743.dtsi index 59860c8..0e2834a 10064

[PATCH 1/3] dt-bindings: timer: renesas, cmt: Document r8a774[35] CMT support

2017-12-12 Thread Fabrizio Castro
Document SoC specific compatible strings for r8a7743 and r8a7745. No driver change is needed as the fallback strings will activate the right code. Signed-off-by: Fabrizio Castro Reviewed-by: Biju Das --- Documentation/devicetree/bindings/timer/renesas,cmt.txt | 12 +--- 1 file changed,

[PATCH 0/3] Add CMT support to r8a774[35]

2017-12-12 Thread Fabrizio Castro
This series adds CMT support for r8a7743 and r8a7745. Thanks, Fabrizio Castro (3): dt-bindings: timer: renesas, cmt: Document r8a774[35] CMT support ARM: dts: r8a7743: Add CMT SoC specific support ARM: dts: r8a7745: Add CMT SoC specific support .../devicetree/bindings/timer/renesas,cmt.tx

[PATCH 2/5] ARM: dts: r8a7743: Add audio clocks

2017-12-12 Thread Biju Das
Describe the external audio clocks required by the sound driver. Boards that provide audio clocks need to override the clock frequencies. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro --- arch/arm/boot/dts/r8a7743.dtsi | 23 +++ 1 file changed, 23 insertions(+) diff

[PATCH 5/5] ARM: dts: iwg20d-q7-common: Enable SGTL5000 audio codec

2017-12-12 Thread Biju Das
This patch enables SGTL5000 audio codec on the carrier board. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro --- arch/arm/boot/dts/iwg20d-q7-common.dtsi | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/iwg20d-q7-common.dtsi b/arch/arm/boot/d

[PATCH 3/5] ARM: dts: r8a7743: Add audio DMAC support

2017-12-12 Thread Biju Das
Instantiate the two audio DMA controllers on the r8a7743 device tree. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro --- arch/arm/boot/dts/r8a7743.dtsi | 62 ++ 1 file changed, 62 insertions(+) diff --git a/arch/arm/boot/dts/r8a7743.dtsi b/arch/arm

[PATCH 1/5] ARM: shmobile: defconfig: Enable SGTL5000 audio codec

2017-12-12 Thread Biju Das
The iWave RZ/G1M Q7 carrier board supports I2S audio codec "SGTL5000". To increase hardware support enable the driver in the shmobile_defconfig multiplatform configuration. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro --- arch/arm/configs/shmobile_defconfig | 1 + 1 file changed, 1 ins

[PATCH 4/5] ARM: dts: r8a7743: Add sound support

2017-12-12 Thread Biju Das
Define the generic r8a7743(RZ/G1M) part of the sound device node. This patch is based on the r8a7791 sound work by Kuninori Morimoto. Signed-off-by: Biju Das Reviewed-by: Fabrizio Castro --- arch/arm/boot/dts/r8a7743.dtsi | 185 + 1 file changed, 185 in

[PATCH 0/5] Add Sound support for iWave RZ/G1M board

2017-12-12 Thread Biju Das
This series aims to add sound support for iWave RZ/G1M board. This patch series has documentation dependency on https://patchwork.kernel.org/patch/10108014/ Biju Das (5): ARM: shmobile: defconfig: Enable SGTL5000 audio codec ARM: dts: r8a7743: Add audio clocks ARM: dts: r8a7743: Add audio

[PATCH] dt-bindings: ASoC: rsnd: Add device tree support for r8a774[35]

2017-12-12 Thread Biju Das
Document r8a774[35] specific compatible strings. The Renesas RZ/G1[ME] (r8a774[35]) sound modules are identical to the R-Car Gen2 family. No driver change is needed as the fallback compatible string "renesas,rcar_sound-gen2" activates the right code in the driver. Signed-off-by: Biju Das Reviewed

Re: [PATCH 0/2] PCI: rcar: Misc error path fixes

2017-12-12 Thread Lorenzo Pieralisi
On Tue, Dec 12, 2017 at 11:16:58AM -0600, Bjorn Helgaas wrote: > On Thu, Dec 07, 2017 at 11:15:18AM +0100, Geert Uytterhoeven wrote: > > Hi Simon, Lorenzo, Bjorn, > > > > This patch series fixes two issues in the error path for the R-Car PCIe > > host bridge driver. > > > > The first issue is

Re: [PATCH 0/2] PCI: rcar: Misc error path fixes

2017-12-12 Thread Geert Uytterhoeven
Hi Bjorn, On Tue, Dec 12, 2017 at 6:16 PM, Bjorn Helgaas wrote: > On Thu, Dec 07, 2017 at 11:15:18AM +0100, Geert Uytterhoeven wrote: >> This patch series fixes two issues in the error path for the R-Car PCIe >> host bridge driver. >> >> The first issue is triggered easily by not having a PCIe ca

Re: [PATCH] gpio: gpio-rcar: Support S2RAM

2017-12-12 Thread Yoshihiro Kaneko
Hi Simon-san, Geert-san, I am sorry for my late reply. 2017-12-07 19:27 GMT+09:00 Simon Horman : > On Thu, Dec 07, 2017 at 10:26:53AM +0100, Geert Uytterhoeven wrote: >> On Thu, Dec 7, 2017 at 10:21 AM, Geert Uytterhoeven >> wrote: >> >>> > struct gpio_rcar_priv { >> >>> > void __iomem

Re: [PATCH 0/2] PCI: rcar: Misc error path fixes

2017-12-12 Thread Bjorn Helgaas
On Thu, Dec 07, 2017 at 11:15:18AM +0100, Geert Uytterhoeven wrote: > Hi Simon, Lorenzo, Bjorn, > > This patch series fixes two issues in the error path for the R-Car PCIe > host bridge driver. > > The first issue is triggered easily by not having a PCIe card inserted, > and may cause a cra

Re: arm64: unhandled level 0 translation fault

2017-12-12 Thread Will Deacon
On Tue, Dec 12, 2017 at 05:00:33PM +0100, Geert Uytterhoeven wrote: > On Tue, Dec 12, 2017 at 4:11 PM, Geert Uytterhoeven > wrote: > > On Tue, Dec 12, 2017 at 11:36 AM, Will Deacon wrote: > >> On Tue, Dec 12, 2017 at 11:20:09AM +0100, Geert Uytterhoeven wrote: > >>> During userspace (Debian jessi

Re: arm64: unhandled level 0 translation fault

2017-12-12 Thread Geert Uytterhoeven
Hi Will, On Tue, Dec 12, 2017 at 4:11 PM, Geert Uytterhoeven wrote: > On Tue, Dec 12, 2017 at 11:36 AM, Will Deacon wrote: >> On Tue, Dec 12, 2017 at 11:20:09AM +0100, Geert Uytterhoeven wrote: >>> During userspace (Debian jessie NFS root) boot on arm64: >>> >>> rpcbind[1083]: unhandled level 0

Re: [PATCH/RFC 1/2] v4l: v4l2-dev: Add infrastructure to protect device unplug race

2017-12-12 Thread Laurent Pinchart
Hi Mauro, On Tuesday, 12 December 2017 14:39:32 EET Mauro Carvalho Chehab wrote: > Em Thu, 23 Nov 2017 15:21:01 +0100 Greg Kroah-Hartman escreveu: > > On Thu, Nov 23, 2017 at 11:07:51AM -0200, Mauro Carvalho Chehab wrote: > >> Em Thu, 16 Nov 2017 02:33:48 +0200 Laurent Pinchart escreveu: > >>> Dev

Re: [PATCH/RFC 1/2] v4l: v4l2-dev: Add infrastructure to protect device unplug race

2017-12-12 Thread Laurent Pinchart
Hi Greg and Mauro, On Thursday, 23 November 2017 16:21:01 EET Greg Kroah-Hartman wrote: > On Thu, Nov 23, 2017 at 11:07:51AM -0200, Mauro Carvalho Chehab wrote: > > Em Thu, 16 Nov 2017 02:33:48 +0200 Laurent Pinchart escreveu: > >> Device unplug being asynchronous, it naturally races with operatio

Re: arm64: unhandled level 0 translation fault

2017-12-12 Thread Geert Uytterhoeven
Hi Will, On Tue, Dec 12, 2017 at 11:36 AM, Will Deacon wrote: > On Tue, Dec 12, 2017 at 11:20:09AM +0100, Geert Uytterhoeven wrote: >> During userspace (Debian jessie NFS root) boot on arm64: >> >> rpcbind[1083]: unhandled level 0 translation fault (11) at 0x0008, >> esr 0x9204, in dash[a

Re: [PATCH/RFC 1/2] v4l: v4l2-dev: Add infrastructure to protect device unplug race

2017-12-12 Thread Laurent Pinchart
Hi Mauro, On Thursday, 23 November 2017 15:07:51 EET Mauro Carvalho Chehab wrote: > Em Thu, 16 Nov 2017 02:33:48 +0200 Laurent Pinchart escreveu: > > Device unplug being asynchronous, it naturally races with operations > > performed by userspace through ioctls or other file operations on video > >

Re: [PATCH/RFC 1/2] v4l: v4l2-dev: Add infrastructure to protect device unplug race

2017-12-12 Thread Laurent Pinchart
Hi Hans, On Friday, 17 November 2017 13:09:20 EET Hans Verkuil wrote: > On 16/11/17 01:33, Laurent Pinchart wrote: > > Device unplug being asynchronous, it naturally races with operations > > performed by userspace through ioctls or other file operations on video > > device nodes. > > > > This le

Re: [PATCH/RFC 1/2] v4l: v4l2-dev: Add infrastructure to protect device unplug race

2017-12-12 Thread Laurent Pinchart
Hi Kieran, On Thursday, 16 November 2017 16:47:11 EET Kieran Bingham wrote: > On 16/11/17 12:32, Sakari Ailus wrote: > > Hi Laurent, > > > > Thank you for the initiative to bring up and address the matter! > > I concur - this looks like a good start towards managing the issue. > > One potential

Re: [PATCH/RFC 1/2] v4l: v4l2-dev: Add infrastructure to protect device unplug race

2017-12-12 Thread Laurent Pinchart
Hi Sakari, On Thursday, 16 November 2017 14:32:37 EET Sakari Ailus wrote: > On Thu, Nov 16, 2017 at 02:33:48AM +0200, Laurent Pinchart wrote: > > Device unplug being asynchronous, it naturally races with operations > > performed by userspace through ioctls or other file operations on video > > dev

Re: [PATCH v2 2/3] PM / core: Add IN_BAND_WAKEUP driver flag

2017-12-12 Thread Ulf Hansson
On 12 December 2017 at 09:16, Geert Uytterhoeven wrote: > Hi Ulf, > > On Mon, Dec 11, 2017 at 9:59 PM, Ulf Hansson wrote: >> That together with an option of allowing "consumed resource-devices" >> (irqchip) to be included in the wakeup path. I am thinking, perhaps >> another driver PM flag (DPM_F

renesas-drivers-2017-12-12-v4.15-rc3

2017-12-12 Thread Geert Uytterhoeven
I have pushed renesas-drivers-2017-12-12-v4.15-rc3 to https://git.kernel.org/cgit/linux/kernel/git/geert/renesas-drivers.git This tree is meant to ease development of platform support and drivers for Renesas ARM SoCs. It is created by merging (a) the for-next branches of various subsystem trees an

Re: [PATCH/RFC 1/2] v4l: v4l2-dev: Add infrastructure to protect device unplug race

2017-12-12 Thread Mauro Carvalho Chehab
Em Thu, 23 Nov 2017 15:21:01 +0100 Greg Kroah-Hartman escreveu: > On Thu, Nov 23, 2017 at 11:07:51AM -0200, Mauro Carvalho Chehab wrote: > > Hi Laurent, > > > > Em Thu, 16 Nov 2017 02:33:48 +0200 > > Laurent Pinchart escreveu: > > > > > Device unplug being asynchronous, it naturally races wi

Re: [PATCH v4 0/9] vsp1: TLB optimisation and DL caching

2017-12-12 Thread Geert Uytterhoeven
Hi Kieran, On Fri, Nov 17, 2017 at 4:47 PM, Kieran Bingham wrote: > Each display list currently allocates an area of DMA memory to store register > settings for the VSP1 to process. Each of these allocations adds pressure to > the IPMMU TLB entries. > > We can reduce the pressure by pre-allocatin

Re: arm64: unhandled level 0 translation fault

2017-12-12 Thread Will Deacon
Hi Geert, On Tue, Dec 12, 2017 at 11:20:09AM +0100, Geert Uytterhoeven wrote: > During userspace (Debian jessie NFS root) boot on arm64: > > rpcbind[1083]: unhandled level 0 translation fault (11) at 0x0008, > esr 0x9204, in dash[adf77000+1a000] > CPU: 0 PID: 1083 Comm: rpcbind Not ta

arm64: unhandled level 0 translation fault

2017-12-12 Thread Geert Uytterhoeven
Hi Catalin, Will, et al, During userspace (Debian jessie NFS root) boot on arm64: rpcbind[1083]: unhandled level 0 translation fault (11) at 0x0008, esr 0x9204, in dash[adf77000+1a000] CPU: 0 PID: 1083 Comm: rpcbind Not tainted 4.15.0-rc3-arm64-renesas-02176-g14f9a1826e48e355 #51 Hard

Re: [PATCH v1 05/10] arch: sh: migor: Use new renesas-ceu camera driver

2017-12-12 Thread Laurent Pinchart
Hi Jacopo, Thank you for the patch. On Wednesday, 15 November 2017 12:55:58 EET Jacopo Mondi wrote: > Migo-R platform uses sh_mobile_ceu camera driver, which is now being > replaced by a proper V4L2 camera driver named 'renesas-ceu'. > > Move Migo-R platform to use the v4l2 renesas-ceu camera dr

Re: [PATCH 3/3] arm64: dts: renesas: r8a7796: add reg properties to pciec[01] nodes

2017-12-12 Thread Geert Uytterhoeven
On Tue, Dec 12, 2017 at 9:24 AM, Simon Horman wrote: > Add reg properties to pciec[01] placeholder nodes > > This is to stop the compiler complaining as follows: > $ make > ... > DTC arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dtb > arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dtb: Warn

Re: [PATCH] arm64: dts: renesas: r8a7795: sort subnodes of root node alphabetically

2017-12-12 Thread Geert Uytterhoeven
On Tue, Dec 12, 2017 at 9:27 AM, Simon Horman wrote: > Sort root sub-nodes alphabetically for allow for easier maintenance > of this file. > > Signed-off-by: Simon Horman Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of

Re: [PATCH 2/3] arm64: dts: renesas: r8a7796: move nodes which have no reg property out of bus

2017-12-12 Thread Geert Uytterhoeven
Hi Simon, On Tue, Dec 12, 2017 at 9:24 AM, Simon Horman wrote: > Move pmu_a5[73], timer and thermal-zones nodes from soc node to root node. > The nodes that have been moved do not have any register properties and thus > shouldn't be placed on the bus. [...] > Signed-off-by: Simon Horman Revie

Re: [PATCH 1/3] arm64: dts: renesas: r8a7796: sort subnodes of root node alphabetically

2017-12-12 Thread Geert Uytterhoeven
On Tue, Dec 12, 2017 at 9:24 AM, Simon Horman wrote: > Sort root sub-nodes alphabetically for allow for easier maintenance > of this file. > > Signed-off-by: Simon Horman Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of

[PATCH] arm64: dts: renesas: r8a7795: sort subnodes of root node alphabetically

2017-12-12 Thread Simon Horman
Sort root sub-nodes alphabetically for allow for easier maintenance of this file. Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a7795.dtsi | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) Based on renesas-devel-20171211-v4.15-rc3 diff --git a/arch/arm64/boot/dt

[PATCH 0/3] arm64: dts: renesas: r8a7796: cleanup of make dtb W=1

2017-12-12 Thread Simon Horman
Hi, this short series makes make dtb W=1 builds clean. Patch 1 sorts subnodes of the root node into alphabetical order to... well bring some order to things. Patch 2 moves nodes without reg properties out of the SoC bus, this is in keeping with recent work for the r8a7795 SoC. Patch 3 adds reg

[PATCH 2/3] arm64: dts: renesas: r8a7796: move nodes which have no reg property out of bus

2017-12-12 Thread Simon Horman
Move pmu_a5[73], timer and thermal-zones nodes from soc node to root node. The nodes that have been moved do not have any register properties and thus shouldn't be placed on the bus. This problem is flagged by the compiler as follows: $ make ... DTC arch/arm64/boot/dts/renesas/r8a7796-salvat

[PATCH 1/3] arm64: dts: renesas: r8a7796: sort subnodes of root node alphabetically

2017-12-12 Thread Simon Horman
Sort root sub-nodes alphabetically for allow for easier maintenance of this file. Signed-off-by: Simon Horman --- arch/arm64/boot/dts/renesas/r8a7796.dtsi | 66 1 file changed, 33 insertions(+), 33 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r8a7796.dt

[PATCH 3/3] arm64: dts: renesas: r8a7796: add reg properties to pciec[01] nodes

2017-12-12 Thread Simon Horman
Add reg properties to pciec[01] placeholder nodes This is to stop the compiler complaining as follows: $ make ... DTC arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dtb arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dtb: Warning (unit_address_vs_reg): Node /soc/pcie@fe00 has a unit name

Re: [PATCH v2 2/3] PM / core: Add IN_BAND_WAKEUP driver flag

2017-12-12 Thread Geert Uytterhoeven
Hi Ulf, On Mon, Dec 11, 2017 at 9:59 PM, Ulf Hansson wrote: > That together with an option of allowing "consumed resource-devices" > (irqchip) to be included in the wakeup path. I am thinking, perhaps > another driver PM flag (DPM_FLAG_WAKEUP_PATH), that the PM core looks > at and sets ->power.wa