Re: [PATCH] gpio: rcar: Use of_device_get_match_data() helper

2017-10-07 Thread Linus Walleij
On Wed, Oct 4, 2017 at 2:16 PM, Geert Uytterhoeven wrote: > Use the of_device_get_match_data() helper instead of open coding. > Note that the gpio-rcar driver is used with DT only, so there's always a > valid match. > > Signed-off-by: Geert Uytterhoeven

Re: [PATCH] MAINTAINERS: Add git repository to Renesas pinctrl driver section

2017-10-07 Thread Linus Walleij
On Wed, Oct 4, 2017 at 1:35 PM, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven Patch applied with Simon's tag. Yours, Linus Walleij

Re: [PATCH 3/3] iio: adc: rcar-gyroadc: Use of_device_get_match_data() helper

2017-10-07 Thread Jonathan Cameron
On Thu, 5 Oct 2017 11:12:59 +0200 Simon Horman wrote: > On Wed, Oct 04, 2017 at 02:08:26PM +0200, Geert Uytterhoeven wrote: > > Use the of_device_get_match_data() helper instead of open coding. > > Note that the rcar-gyroadc driver is used with DT only, so there's > > always

Re: [PATCH v3 1/2] pinctrl: rza1: add support for RZ/A1L

2017-10-07 Thread Linus Walleij
On Wed, Oct 4, 2017 at 11:07 PM, Chris Brandt wrote: > Aspects like the number of ports and the location where peripherals are > brought out differ between the RZ/A1H and RZ/A1L. > > Signed-off-by: Chris Brandt > Reviewed-by: Jacopo Mondi

Re: [PATCH 2/3] iio: adc: rcar-gyroadc: Enable compile-testing on non-ARM

2017-10-07 Thread Jonathan Cameron
On Thu, 5 Oct 2017 11:12:21 +0200 Simon Horman wrote: > On Wed, Oct 04, 2017 at 02:08:25PM +0200, Geert Uytterhoeven wrote: > > The rcar-gyroadc driver compiles fine on other platforms, hence increase > > compile coverage. > > > > Signed-off-by: Geert Uytterhoeven

Re: [PATCH 1/3] iio: adc: rcar-gyroadc: Cast pointer to uintptr_t to fix warning on 64-bit

2017-10-07 Thread Jonathan Cameron
On Thu, 5 Oct 2017 11:11:51 +0200 Simon Horman wrote: > On Wed, Oct 04, 2017 at 02:08:24PM +0200, Geert Uytterhoeven wrote: > > On 64-bit: > > > > drivers/iio/adc/rcar-gyroadc.c: In function > > 'rcar_gyroadc_parse_subdevs': > >

Re: [git pull] pinctrl: sh-pfc: Updates for v4.15

2017-10-07 Thread Linus Walleij
On Wed, Oct 4, 2017 at 11:44 AM, Geert Uytterhoeven wrote: > Hi Linus, > > The following changes since commit 2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e: > > Linux 4.14-rc1 (2017-09-16 15:47:51 -0700) > > are available in the git repository at: > >

[PATCHv3 1/2] dt-bindings: adi,adv7511.txt: document cec clock

2017-10-07 Thread Hans Verkuil
From: Hans Verkuil Document the cec clock binding. Signed-off-by: Hans Verkuil Acked-by: Rob Herring --- Documentation/devicetree/bindings/display/bridge/adi,adv7511.txt | 4 1 file changed, 4 insertions(+) diff --git

[PATCHv3 0/2] drm/bridge/adv7511: add CEC support

2017-10-07 Thread Hans Verkuil
From: Hans Verkuil This patch series adds CEC support to the drm adv7511/adv7533 drivers. I have tested this with the Qualcomm Dragonboard C410 (adv7533 based) and the Renesas R-Car Koelsch board (adv7511 based). I only have the Koelsch board to test with, but it looks

[PATCHv3 2/2] drm: adv7511/33: add HDMI CEC support

2017-10-07 Thread Hans Verkuil
From: Hans Verkuil Add support for HDMI CEC to the drm adv7511/adv7533 drivers. The CEC registers that we need to use are identical for both drivers, but they appear at different offsets in the register map. Signed-off-by: Hans Verkuil ---

[PATCH 05/11] mmc: meson-mx-sdio: catch all errors when getting regulators

2017-10-07 Thread Wolfram Sang
Bail out everytime when mmc_regulator_get_supply() returns an errno, not only when probing gets deferred. This is currently a no-op, because this function only returns -EPROBE_DEFER or 0 right now. But if it will throw another error somewhen, it will be for a reason. (This still doesn't change

[PATCH 07/11] mmc: mtk-sd: catch all errors when getting regulators

2017-10-07 Thread Wolfram Sang
Bail out everytime when mmc_regulator_get_supply() returns an errno, not only when probing gets deferred. This is currently a no-op, because this function only returns -EPROBE_DEFER or 0 right now. But if it will throw another error somewhen, it will be for a reason. (This still doesn't change

[PATCH 08/11] mmc: mxcmmc: catch all errors when getting regulators

2017-10-07 Thread Wolfram Sang
Bail out everytime when mmc_regulator_get_supply() returns an errno, not only when probing gets deferred. This is currently a no-op, because this function only returns -EPROBE_DEFER or 0 right now. But if it will throw another error somewhen, it will be for a reason. (This still doesn't change

[PATCH 03/11] mmc: dw_mmc: catch all errors when getting regulators

2017-10-07 Thread Wolfram Sang
Bail out everytime when mmc_regulator_get_supply() returns an errno, not only when probing gets deferred. This is currently a no-op, because this function only returns -EPROBE_DEFER or 0 right now. But if it will throw another error somewhen, it will be for a reason. (This still doesn't change

[PATCH 10/11] mmc: sdhci: catch all errors when getting regulators

2017-10-07 Thread Wolfram Sang
Bail out everytime when mmc_regulator_get_supply() returns an errno, not only when probing gets deferred. This is currently a no-op, because this function only returns -EPROBE_DEFER or 0 right now. But if it will throw another error somewhen, it will be for a reason. (This still doesn't change

[PATCH 06/11] mmc: mmci: catch all errors when getting regulators

2017-10-07 Thread Wolfram Sang
Bail out everytime when mmc_regulator_get_supply() returns an errno, not only when probing gets deferred. This is currently a no-op, because this function only returns -EPROBE_DEFER or 0 right now. But if it will throw another error somewhen, it will be for a reason. (This still doesn't change

[PATCH 09/11] mmc: omap_hsmmc: catch all errors when getting regulators

2017-10-07 Thread Wolfram Sang
Bail out everytime when mmc_regulator_get_supply() returns an errno, not only when probing gets deferred. This is currently a no-op, because this function only returns -EPROBE_DEFER or 0 right now. But if it will throw another error somewhen, it will be for a reason. (This still doesn't change

[PATCH 00/11] mmc: document mmc_regulator_get_supply and fix users

2017-10-07 Thread Wolfram Sang
Fix the drivers and add some docs according to the outcome of this discussion [1] we had recently. The motivation from the patch description: Bail out everytime when mmc_regulator_get_supply() returns an errno, not only when probing gets deferred. This is currently a no-op, because this function

[PATCH 02/11] mmc: cavium: catch all errors when getting regulators

2017-10-07 Thread Wolfram Sang
Bail out everytime when mmc_regulator_get_supply() returns an errno, not only when probing gets deferred. This is currently a no-op, because this function only returns -EPROBE_DEFER or 0 right now. But if it will throw another error somewhen, it will be for a reason. (This still doesn't change

[PATCH 11/11] mmc: usdhi6rol0: catch all errors when getting regulators

2017-10-07 Thread Wolfram Sang
Bail out everytime when mmc_regulator_get_supply() returns an errno, not only when probing gets deferred. This is currently a no-op, because this function only returns -EPROBE_DEFER or 0 right now. But if it will throw another error somewhen, it will be for a reason. (This still doesn't change

[PATCH 04/11] mmc: meson-gx-mmc: catch all errors when getting regulators

2017-10-07 Thread Wolfram Sang
Bail out everytime when mmc_regulator_get_supply() returns an errno, not only when probing gets deferred. This is currently a no-op, because this function only returns -EPROBE_DEFER or 0 right now. But if it will throw another error somewhen, it will be for a reason. (This still doesn't change

[PATCH 01/11] mmc: add kerneldoc to mmc_regulator_get_supply()

2017-10-07 Thread Wolfram Sang
Especially, make clear what the return value means. Signed-off-by: Wolfram Sang --- drivers/mmc/core/core.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index c287d297710aa4..7859bb617a2f60