[PATCH] extcon: gpio: Add the support for Device tree bindings

2015-10-02 Thread Chanwoo Choi
This patch adds the support for Device tree bindings of extcon-gpio driver. The extcon-gpio device tree node must include the both 'extcon-id' and 'extcon-gpio' property. For exmaple: usb_cable: extcon-gpio-0 { compatible = "extcon-gpio"; extcon-id = <1>;

Re: [PATCH 2/3] iio: ad5064: Explicitly configure whether to use external supply

2015-10-02 Thread kbuild test robot
Hi Paul, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] config: cris-allyesconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x

Re: [PATCH 1/2] gpio: xgene: add support to configure GPIO line as input, output or external IRQ pin

2015-10-02 Thread Y Vo
On Fri, Oct 2, 2015 at 4:51 PM, Linus Walleij wrote: > On Fri, Sep 11, 2015 at 2:22 AM, Y Vo wrote: > >> Add support to configure GPIO line as input, output or external IRQ pin. >> >> Signed-off-by: Y Vo > > Mostly OK but... > >> #define

Re: [RFC v2 1/4] dt-bindings: drm/mediatek: Add Mediatek display subsystem dts binding

2015-10-02 Thread Philipp Zabel
Hi Daniel, Am Freitag, den 02.10.2015, 21:47 +0800 schrieb Daniel Kurtz: > On Fri, Oct 2, 2015 at 3:40 PM, Philipp Zabel wrote: > > Am Donnerstag, den 01.10.2015, 22:29 +0800 schrieb Daniel Kurtz: > >> On Thu, Oct 1, 2015 at 8:58 PM, Rob Herring wrote: >

Re: [PATCH 2/2] iio: dac: Add support for the AD5592R/AD5593R ADCs/DACs

2015-10-02 Thread kbuild test robot
Hi Paul, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) >> drivers/iio/dac/ad5592r.c:20:19:

Re: [PATCH 2/4] pinctrl: sunxi: add allwinner A83T PIO controller support

2015-10-02 Thread Linus Walleij
On Tue, Sep 22, 2015 at 8:38 AM, Vishnu Patekar wrote: > Allwinner A83T soc port controller has 8 ports. > It has 3 IRQ banks namely PB, PG, PH. > Pinmuxing are different for some pins as compared to > sun8i A23 and A33. > > Signed-off-by: Vishnu Patekar

Re: [PATCH v3 02/09] ARM: shmobile: Add APMU DT support via Enable method

2015-10-02 Thread Geert Uytterhoeven
Hi Magnus, On Thu, Sep 17, 2015 at 8:33 AM, Magnus Damm wrote: > --- 0001/arch/arm/mach-shmobile/platsmp-apmu.c > +++ work/arch/arm/mach-shmobile/platsmp-apmu.c 2015-09-16 20:46:23.400513000 > +0900 > +static void __init shmobile_smp_apmu_prepare_cpus_dt(unsigned int

Re: [PATCH] gpio:pca953x: add mechanism to simulate open drain outputs

2015-10-02 Thread Linus Walleij
On Thu, Sep 24, 2015 at 11:49 PM, H. Nikolaus Schaller wrote: > [Me] >> I understand the approach, but this is the wrong way to do it. >> Instead of indicating that a pin on the pin controller should be >> open drain, the *consumer* specifying its gpios = <> should >> do

[PATCH 2/3] iio: ad5064: Explicitly configure whether to use external supply

2015-10-02 Thread Paul Cercueil
Previously the driver would revert to internal supply if the external supply couldn't be found. This had multiple problems: - it caused silently ignored errors when a regulator was intended to be supplied, but was not specified correctly. - if CONFIG_REGULATOR is disabled, regulator_get() will

Re: [PATCH v2 2/6] pinctrl: berlin: add the berlin4ct pinctrl driver

2015-10-02 Thread Antoine Tenart
Hi Jisheng, Sorry for the delay, I was quite busy these days... Thanks for the nice comments! I saw your using pin names in the BERLIN_PINCTRL_GROUP macro, like "EMMC_RSTn". In other berlin pinctrl drivers we use the group name (such as "G11" or GSM1"). If there is such a thing in the BG4CT,

Re: [RFC v2 1/4] dt-bindings: drm/mediatek: Add Mediatek display subsystem dts binding

2015-10-02 Thread Daniel Kurtz
On Fri, Oct 2, 2015 at 3:40 PM, Philipp Zabel wrote: > Am Donnerstag, den 01.10.2015, 22:29 +0800 schrieb Daniel Kurtz: >> On Thu, Oct 1, 2015 at 8:58 PM, Rob Herring wrote: >> > I was thinking one of the display related blocks like >> > whatever block

Re: [PATCH 1/2] leds: rt5033: add DT binding for RT5033

2015-10-02 Thread Rob Herring
On Fri, Oct 2, 2015 at 4:41 AM, Ingi Kim wrote: > This patch adds the device tree bindings for RT5033 flash LEDs. > > Signed-off-by: Ingi Kim Acked-by: Rob Herring > --- > .../devicetree/bindings/leds/leds-rt5033.txt | 38

Re: [PATCH v2 5/6] arm64: dts: berlin4ct: add the pinctrl node

2015-10-02 Thread Antoine Tenart
Jisheng, On Mon, Sep 21, 2015 at 06:04:19PM +0800, Jisheng Zhang wrote: > Add the avio, soc, sm pinctrl nodes for Marvell berlin4ct SoC. > > Signed-off-by: Jisheng Zhang > --- > arch/arm64/boot/dts/marvell/berlin4ct.dtsi | 15 +++ > 1 file changed, 15

[PATCH 2/2] iio: dac: Add support for the AD5592R/AD5593R ADCs/DACs

2015-10-02 Thread Paul Cercueil
This patch adds support for the AD5592R (spi) and AD5593R (i2c) ADC/DAC devices. Signed-off-by: Paul Cercueil --- drivers/iio/dac/Kconfig | 22 +++ drivers/iio/dac/Makefile | 2 + drivers/iio/dac/ad5592r-base.c| 290

[PATCH 1/2] Documentation: ad5592r: Added devicetree bindings documentation

2015-10-02 Thread Paul Cercueil
Signed-off-by: Paul Cercueil --- .../devicetree/bindings/iio/dac/ad5592r.txt| 42 ++ 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/dac/ad5592r.txt diff --git

Re: [PATCH v2 6/6] arm64: dts: berlin4ct: add default pinmux for uart0

2015-10-02 Thread Antoine Tenart
Jisheng, Please s/urt/uart/ in this patch. Thanks! Antoine On Mon, Sep 21, 2015 at 06:04:20PM +0800, Jisheng Zhang wrote: > Add urt0 txd and rxd muxing setup in the dtsi because uart0 always uses > them to work, no other possibilities. > > Signed-off-by: Jisheng Zhang >

Re: [PATCH v2 1/6] pinctrl: berlin: regmap as an extra argument of berlin_pinctrl_probe()

2015-10-02 Thread Antoine Tenart
Hi Jisheng, Thanks for providing this! On Mon, Sep 21, 2015 at 06:04:15PM +0800, Jisheng Zhang wrote: > Let berlin_pinctrl_probe() accepts an extra argument: regmap, this is to > prepare for the next berlin4ct support, where we won't use simple-mfd > any more. Just a question here: why don't we

Re: [PATCH 2/2] arm64: dts: mt8173: add timer node

2015-10-02 Thread Yingjoe Chen
On Thu, 2015-10-01 at 16:32 +0100, Sudeep Holla wrote: > > On 01/10/15 15:33, Yingjoe Chen wrote: > > On Thu, 2015-09-17 at 17:13 +0100, Sudeep Holla wrote: > >> > > [...] > > >> > >> I think your are confusing the system counter with arch timers. System > >> counter is always-on, but the arch

Re: [RFC v2 1/4] dt-bindings: drm/mediatek: Add Mediatek display subsystem dts binding

2015-10-02 Thread Rob Herring
On Fri, Oct 2, 2015 at 2:18 AM, Philipp Zabel wrote: > Am Donnerstag, den 01.10.2015, 07:58 -0500 schrieb Rob Herring: >> On Thu, Oct 1, 2015 at 3:59 AM, Philipp Zabel wrote: >> > Am Mittwoch, den 30.09.2015, 12:13 -0500 schrieb Rob Herring: >> >>

[PATCH 1/3] Documentation: ad5064: Added devicetree bindings documentation

2015-10-02 Thread Paul Cercueil
Signed-off-by: Paul Cercueil --- .../devicetree/bindings/iio/dac/ad5064.txt | 48 ++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/dac/ad5064.txt diff --git

[PATCH 3/3] iio: ad5064: Always use external vref if there is no internal vref

2015-10-02 Thread Paul Cercueil
If the device does not have an internal reference, there is no other choice but to use the external reference. In that case, it does not make much sense to have to specify it. This patch ensures that the external reference is used if the device does not feature an internal reference.

Re: [PATCH] arm64: dts: add all hi6220 uart nodes

2015-10-02 Thread Leo Yan
On Thu, Oct 01, 2015 at 11:21:36AM +0100, Mark Brown wrote: > On Thu, Oct 01, 2015 at 11:15:52AM +0800, Leo Yan wrote: > > On Wed, Sep 30, 2015 at 04:54:51PM -0700, Tyler Baker wrote: > > > On 30 September 2015 at 12:18, Mark Brown wrote: > > > > > My understanding is that it

Re: [PATCH 1/2] gpio: xgene: add support to configure GPIO line as input, output or external IRQ pin

2015-10-02 Thread Linus Walleij
On Fri, Sep 11, 2015 at 2:22 AM, Y Vo wrote: > Add support to configure GPIO line as input, output or external IRQ pin. > > Signed-off-by: Y Vo Mostly OK but... > #define XGENE_MAX_GPIO_DS 22 > #define XGENE_MAX_GPIO_DS_IRQ 6 > +#define

Re: [PATCH 2/2] leds: rt5033: Add RT5033 Flash led device driver

2015-10-02 Thread kbuild test robot
Hi Ingi, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] config: i386-allmodconfig (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=i386 All error/warnings (new ones prefixed by >>): In file

Re: [PATCH 3/3] tps65912: Cleanup TPS65912 subdevice configuration dependencies

2015-10-02 Thread Linus Walleij
On Tue, Sep 15, 2015 at 10:57 AM, Andrew F. Davis wrote: > The TPS65912 subdevices depend on the mfd core and not any particular > interface. The core is only enabled by enabling an interface so this > is safe. > > Signed-off-by: Andrew F. Davis Acked-by: Linus

Re: "clk: sunxi: Add a simple gates driver" breaks kernel with older DTB

2015-10-02 Thread Julien Grall
On 02/10/15 11:53, Maxime Ripard wrote: >> If no, that's very unfortunate because it means that you can't >> re-use the same DT across multiple OS and the DT provided by the >> firmware (if it's built-in). > > Is there such OS yet (and by that, I mean one that actually shares our > DT, instead of

[PATCH 3/3] mfd: sec-core: Disable buck voltage reset on watchdog falling edge

2015-10-02 Thread Krzysztof Kozlowski
The WRSTBI bit (disabled by default but enabled by bootloader), when set, is responsible for resetting voltages to default values of certain bucks on falling edge of Warm Reset Input pin from AP. However on some boards (with S2MPS13) the pin is pulled down so any suspend will effectively trigger

[PATCH 1/3] mfd: sec-core: Dump PMIC revision to find out the HW

2015-10-02 Thread Krzysztof Kozlowski
There are different revisions of the same chipset. For example S2MPS13 has more than 2 revisions. They differ slightly in regulator constraints. Print the revision number to easily find which PMIC is used on the board. Signed-off-by: Krzysztof Kozlowski ---

Re: [PATCH v3 1/5] Documentation: tps65912: Add DT bindings for the TPS65912 PMIC

2015-10-02 Thread Linus Walleij
On Thu, Sep 24, 2015 at 7:52 AM, Andrew F. Davis wrote: > The TPS65912 PMIC contains several regulators and a GPIO controller. > Add bindings for the TPS65912 PMIC. > > Signed-off-by: Andrew F. Davis Reviewed-by: Linus Walleij For GPIO

Re: [PATCH v2] Add driver for the si514 clock generator chip

2015-10-02 Thread Mike Looijmans
On 02-10-15 01:34, Stephen Boyd wrote: On 09/17, Mike Looijmans wrote: This patch adds the driver and devicetree documentation for the Silicon Labs SI514 clock generator chip. This is an I2C controlled oscilator capable of generating clock signals ranging from 100kHz s/oscilator/oscillator/

Re: [PATCH v3 2/5] mailbox: Add support for ST's Mailbox IP

2015-10-02 Thread Lee Jones
On Fri, 02 Oct 2015, Jassi Brar wrote: > On Wed, Aug 19, 2015 at 7:52 PM, Lee Jones wrote: > > > > > + > > +#define MBOX_BASE(mdev, inst) ((mdev)->base + (inst * 4)) > > > It should be(inst) * 4 I'm guessing you mean: ((mdev)->base + ((inst) * 4)) ? > >

Re: [PATCH v3 2/5] mfd: tps65912: Remove old driver in preparation for new driver

2015-10-02 Thread Linus Walleij
On Thu, Sep 24, 2015 at 7:52 AM, Andrew F. Davis wrote: > The old tps65912 driver is being replaced, delete old driver. > > Signed-off-by: Andrew F. Davis Acked-by: Linus Walleij The merge collisions are unpredictable. Will this be merged

[PATCH 2/3] mfd: dt-bindings: Document pulled down WRSTBI pin on S2MPS1X

2015-10-02 Thread Krzysztof Kozlowski
Document a new Device Tree property 'samsung,s2mps11-wrstbi-ground' indicating that WRSTBI pin of S2MPS13 PMIC is pulled down so corresponding buck warm reset function should be disabled. Signed-off-by: Krzysztof Kozlowski ---

Re: [PATCH] soc: mediatek: Fix random hang up issue while kernel init

2015-10-02 Thread Daniel Kurtz
On Fri, Oct 2, 2015 at 11:00 AM, James Liao wrote: > Hi Daniel, > > On Thu, 2015-10-01 at 18:08 +0800, Daniel Kurtz wrote: >> I see two cases where "a power domain is a consumer of a clock": >> (a) the clock is needed to access the power domain control >> registers.

Re: [PATCH] soc: mediatek: Fix random hang up issue while kernel init

2015-10-02 Thread James Liao
HI Daniel, On Fri, 2015-10-02 at 17:25 +0800, Daniel Kurtz wrote: > Actually, I should have proposed adding prepare / unprepare callbacks > to mtk_clk_gate_ops in which we prepare_enable/disable_unprepare > venc_sel (& mm_sel). > This should correctly track all of the clk reference counting

Re: [PATCH v2 1/6] pinctrl: berlin: regmap as an extra argument of berlin_pinctrl_probe()

2015-10-02 Thread Linus Walleij
On Mon, Sep 21, 2015 at 3:04 AM, Jisheng Zhang wrote: > Let berlin_pinctrl_probe() accepts an extra argument: regmap, this is to > prepare for the next berlin4ct support, where we won't use simple-mfd > any more. > > Signed-off-by: Jisheng Zhang

Re: [PATCH v3 00/09] ARM: shmobile: APMU DT support via SMP Enable method V3

2015-10-02 Thread Geert Uytterhoeven
Hi Magnus, On Thu, Sep 17, 2015 at 8:32 AM, Magnus Damm wrote: > ARM: shmobile: APMU DT support via SMP Enable method V3 > > [PATCH v3 01/09] devicetree: bindings: Renesas APMU and SMP Enable method > [PATCH v3 02/09] ARM: shmobile: Add APMU DT support via Enable method >

Re: [PATCH v3 02/09] ARM: shmobile: Add APMU DT support via Enable method

2015-10-02 Thread Geert Uytterhoeven
Hi Magnus, On Thu, Sep 17, 2015 at 8:33 AM, Magnus Damm wrote: > --- 0001/arch/arm/mach-shmobile/platsmp-apmu.c > +++ work/arch/arm/mach-shmobile/platsmp-apmu.c 2015-09-16 20:46:23.400513000 > +0900 > @@ -24,6 +24,7 @@ > #include > #include "common.h" > #include

Re: [PATCH v5 1/7] pinctrl: freescale: imx: fix system crash if enable two pinctl instances

2015-10-02 Thread Linus Walleij
On Thu, Sep 24, 2015 at 1:53 PM, Adrian Alonso wrote: > From: Robin Gong > > Fix system chrash caused by groups whose number is smaller than the number > of groups of the last pinctl instance which is not initialized. > > iMX7D supports two iomux

Re: "clk: sunxi: Add a simple gates driver" breaks kernel with older DTB

2015-10-02 Thread Julien Grall
Hi Maxime, On 01/10/15 21:45, Maxime Ripard wrote: > On Thu, Oct 01, 2015 at 09:47:11AM +0100, Ian Campbell wrote: >> Booting a recent kernel with the DTB supplied with Debian Jessie (3.16 >> based) breaks on Cubietruck because that DTB lacks the clock-indices nodes >> which the new driver from

Re: "clk: sunxi: Add a simple gates driver" breaks kernel with older DTB

2015-10-02 Thread Maxime Ripard
Hi, On Fri, Oct 02, 2015 at 11:07:35AM +0100, Julien Grall wrote: > Hi Maxime, > > On 01/10/15 21:45, Maxime Ripard wrote: > > On Thu, Oct 01, 2015 at 09:47:11AM +0100, Ian Campbell wrote: > >> Booting a recent kernel with the DTB supplied with Debian Jessie (3.16 > >> based) breaks on

Re: [PATCH v3 2/5] mailbox: Add support for ST's Mailbox IP

2015-10-02 Thread Jassi Brar
On 2 October 2015 at 15:02, Lee Jones wrote: > On Fri, 02 Oct 2015, Jassi Brar wrote: > >> On Wed, Aug 19, 2015 at 7:52 PM, Lee Jones wrote: >> >> >> >> > + >> > +#define MBOX_BASE(mdev, inst) ((mdev)->base + (inst * 4)) >> > >> It should be

[PATCH 2/2] leds: rt5033: Add RT5033 Flash led device driver

2015-10-02 Thread Ingi Kim
This patch adds device driver of Richtek RT5033 PMIC. The driver supports a current regulated output to drive white LEDs for camera flash. Signed-off-by: Ingi Kim --- drivers/leds/Kconfig | 8 ++ drivers/leds/Makefile | 1 +

[PATCH 0/2] Add RT5033 Flash LED driver

2015-10-02 Thread Ingi Kim
This patch adds ktd2692 Flash LED driver with LED Flash class Ingi Kim (2): leds: rt5033: add DT binding for RT5033 leds: rt5033: Add RT5033 Flash led device driver .../devicetree/bindings/leds/leds-rt5033.txt | 38 drivers/leds/Kconfig | 8 +

[PATCH 1/2] leds: rt5033: add DT binding for RT5033

2015-10-02 Thread Ingi Kim
This patch adds the device tree bindings for RT5033 flash LEDs. Signed-off-by: Ingi Kim --- .../devicetree/bindings/leds/leds-rt5033.txt | 38 ++ 1 file changed, 38 insertions(+) create mode 100644

Re: [RFC PATCH v8 0/10] Add external dma support for Synopsys MSHC

2015-10-02 Thread Shawn Lin
On 2015/10/1 17:14, Jaehoon Chung wrote: Dear, All. I will apply patch 01-03 at my repository on today. But i don't know better how i do about other patches relevant to config file. Thanks, Jaehoon. :) I guess it would be acceptable to pick the config changes, already they were acked by

Re: [RFC v2 1/4] dt-bindings: drm/mediatek: Add Mediatek display subsystem dts binding

2015-10-02 Thread Philipp Zabel
Hi Rob, Am Freitag, den 02.10.2015, 09:24 -0500 schrieb Rob Herring: [...] > >> > I'll try to bind to this node and have the driver find sibling nodes > >> > using their compatible strings. > >> > >> That doesn't seem like a good choice since there are other functions > >> in the block. I was

Re: [PATCH 0/2] Add RT5033 Flash LED driver

2015-10-02 Thread Jacek Anaszewski
Hi Ingi, Thanks for the patches. Please fix build errors and resubmit. On 10/02/2015 11:41 AM, Ingi Kim wrote: This patch adds ktd2692 Flash LED driver with LED Flash class Ingi Kim (2): leds: rt5033: add DT binding for RT5033 leds: rt5033: Add RT5033 Flash led device driver

[PATCH v4 0/3] add GPT timer support for mt8173

2015-10-02 Thread Yingjoe Chen
This is based on v4.3-rc1 + clockevents-4.4[1] and James's mediatek-clk tree[2]. Changes compare to previous version[3]: - Add more MediaTek SoC to mtk-timer binding - Update commit message to better describe the purpose. Changes compare to v2[4]: - the first two mtk_timer related changes are

[PATCH v5 1/5] ARM: mediatek: enable gpt6 on boot up to make arch timer working

2015-10-02 Thread Yingjoe Chen
From: Matthias Brugger We enable GTP6 which ungates the arch timer clock. In the future this should be done in the bootloader. Signed-off-by: Matthias Brugger Signed-off-by: Yingjoe Chen ---

[PATCH v5 4/5] ARM: dts: mt8135: enable basic SMP bringup for mt8135

2015-10-02 Thread Yingjoe Chen
Add arch timer node to enable arch-timer support. MT8135 firmware doesn't correctly setup arch-timer frequency and CNTVOFF, add properties to workaround this. This also set cpu enable-method to enable SMP. Signed-off-by: Yingjoe Chen --- arch/arm/boot/dts/mt8135.dtsi

[PATCH v5 0/5] Add SMP bringup support for mt65xx socs

2015-10-02 Thread Yingjoe Chen
This series add SMP brinup support for MediaTek SoCs. This is v5 and is based on v4.3-rc1. There are similar but different SMP bringup up methods on MediaTek mt65xx and mt81xx. On MT8135 & MT8127, system boots with a trustzone firmware. Others, like MT6589, doesn't have trustzone, and run kernel

[PATCH v4 3/3] arm64: dts: mt8173: add timer node

2015-10-02 Thread Yingjoe Chen
From: Daniel Kurtz Add device node to enable GPT timer. Signed-off-by: Daniel Kurtz Signed-off-by: Eddie Huang Signed-off-by: Yingjoe Chen --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 9

[PATCH v5 3/5] ARM: mediatek: add smp bringup code

2015-10-02 Thread Yingjoe Chen
Add support for booting secondary CPUs on mt6589, mt8127 and mt8135. Signed-off-by: Yingjoe Chen --- arch/arm/mach-mediatek/Makefile | 3 + arch/arm/mach-mediatek/platsmp.c | 141 +++ 2 files changed, 144 insertions(+) create

Re: [PATCH v4 4/4] irqchip/gic-v3-its: Add handling of PCI requester id.

2015-10-02 Thread Marc Zyngier
On 02/10/15 01:50, David Daney wrote: > From: David Daney > > Replace open coded generation PCI/MSI requester id with call to the > new function pci_msi_domain_get_msi_rid() which applies the "msi-map" > to the id value. > > Signed-off-by: David Daney

[PATCH v5 2/5] devicetree: bindings: add new SMP enable method Mediatek SoC

2015-10-02 Thread Yingjoe Chen
This commit add new cpu enable method "mediatek,mt65xx-smp" and "mediatek,mt81xx-tz-smp". Acked-by: Rob Herring Signed-off-by: Yingjoe Chen --- Documentation/devicetree/bindings/arm/cpus.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v4 2/3] arm64: mediatek: enable MTK_TIMER

2015-10-02 Thread Yingjoe Chen
Enable MTK_TIMER for MediaTek plaform, which will be used as tick broadcast device and schedule clock. Signed-off-by: Yingjoe Chen --- arch/arm64/Kconfig.platforms | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig.platforms

[PATCH v4 1/3] dt-bindings: add more MediaTek SoC to mtk-timer binding

2015-10-02 Thread Yingjoe Chen
Add compatible string for mt8127, mt8135 and mt8173 and sort the list. Signed-off-by: Yingjoe Chen --- Documentation/devicetree/bindings/timer/mediatek,mtk-timer.txt | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git

Re: [PATCH 1/3] Documentation: dt: keystone: provide SoC specific compatible flags

2015-10-02 Thread santosh shilimkar
Nishant, On 9/25/2015 10:38 AM, Nishanth Menon wrote: On 09/25/2015 11:15 AM, santosh shilimkar wrote: 9/25/2015 9:01 AM, Nishanth Menon wrote: [..] Please refresh the series commit messages based on the discussion so far and repost. Will pick it up then. Thanks. I will do so (probably

Re: [PATCH v4 3/4] PCI/MSI: Add helper function pci_msi_domain_get_msi_rid().

2015-10-02 Thread Marc Zyngier
On 02/10/15 01:50, David Daney wrote: > From: David Daney > > Add pci_msi_domain_get_msi_rid() to return the MSI requester id (RID). > Initially needed by gic-v3 based systems. It will be used by follow on > patch to drivers/irqchip/irq-gic-v3-its-pci-msi.c > > Initially

Re: [PATCH v4 0/3] add GPT timer support for mt8173

2015-10-02 Thread Yingjoe Chen
On Fri, 2015-10-02 at 23:05 +0800, Yingjoe Chen wrote: > This is based on v4.3-rc1 + clockevents-4.4[1] and James's mediatek-clk > tree[2]. > > Changes compare to previous version[3]: > - Add more MediaTek SoC to mtk-timer binding > - Update commit message to better describe the purpose. > >

[PATCH v5 5/5] ARM: dts: mt8127: enable basic SMP bringup for mt8127

2015-10-02 Thread Yingjoe Chen
Add arch timer node to enable arch-timer support. MT8127 firmware doesn't correctly setup arch-timer frequency and CNTVOFF, add properties to workaround this. This also set cpu enable-method to enable SMP. Signed-off-by: Yingjoe Chen --- arch/arm/boot/dts/mt8127.dtsi

Re: [PATCH v2 0/2] Add support to make output voltage determined by VSET2[] bits

2015-10-02 Thread Mark Brown
On Wed, Sep 30, 2015 at 03:25:48PM +0800, Wenyou Yang wrote: > The patch is to add support to make the output voltage of ACT8865 > DC/DC regulator determined by VSET2[] bits. The DT property > "active-semi,vsel-high" is used to specify the VSEL pin at high > on the board. When the VSEL pin is

[PATCH 5/5] arm64: dts: Add BRCM IPROC NAND DT node for NS2

2015-10-02 Thread Anup Patel
The NAND controller on NS2 SoC is compatible with existing BRCM IPROC NAND driver so let's enable it in NS2 DT and NS2 SVK DT. Signed-off-by: Anup Patel Reviewed-by: Ray Jui Reviewed-by: Scott Branden ---

[PATCH v4 0/5] PCI: generic: Misc. bug fixes/enhancements

2015-10-02 Thread David Daney
From: David Daney While using the pci-host-generic driver to add PCI support for the Cavium ThunderX processors, several bugs were discovered. This patch set fixes the bugs, a follow-on set will add the ThunderX support. Changes from v3: - Drop "PCI: generic: Claim

Re: [PATCH] arm64: dts: add all hi6220 uart nodes

2015-10-02 Thread Mark Brown
On Fri, Oct 02, 2015 at 10:28:09PM +0800, Leo Yan wrote: > On Thu, Oct 01, 2015 at 11:21:36AM +0100, Mark Brown wrote: > > It seems sensible to get the DT bits for functionality that is already > > supported on the driver side upstream, that way we get the maximum > > functionality available as

[PATCH] devicetree: add Sigma Designs vendor prefix

2015-10-02 Thread Mans Rullgard
Add the "sigma" vendor prefix for Sigma Designs, Inc. Signed-off-by: Mans Rullgard --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt

[PATCH 6/6] arm64: dts: Add I2C nodes for NS2

2015-10-02 Thread Anup Patel
From: Ray Jui This patch adds iProc I2C DT nodes for NS2 and enable them for the NS2 SVK board Signed-off-by: Ray Jui Reviewed-by: Vikram Prakash Reviewed-by: Scott Branden ---

[PATCH 1/6] arm64: dts: Add L2-cache DT node for NS2

2015-10-02 Thread Anup Patel
Recent kernels requires cache hierrachy to be defined via DT hence this patch updates NS2 DT accordingly. Signed-off-by: Anup Patel Reviewed-by: Sandeep Tripathy Reviewed-by: Ray Jui Reviewed-by: Scott Branden

Re: [PATCH v4 3/3] arm64: dts: mt8173: add timer node

2015-10-02 Thread kbuild test robot
Hi Daniel, [auto build test results on v4.3-rc3 -- if it's inappropriate base, please ignore] config: arm64-allyesconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x

[PATCH v2 1/5] extcon: arizona: Add device binding to enable ADC mode micdet

2015-10-02 Thread Charles Keepax
Add a simple boolean binding to turn on and off the use of ADC microphone detection mode to determine 3/4 pole jack. Signed-off-by: Charles Keepax Acked-by: Chanwoo Choi --- drivers/extcon/extcon-arizona.c |3 +++ 1 files changed,

Re: [PATCH v2] Add driver for the si514 clock generator chip

2015-10-02 Thread Stephen Boyd
On 10/02, Mike Looijmans wrote: > On 02-10-15 01:34, Stephen Boyd wrote: > >>+ - clock-output-names: From common clock bindings. Recommended to be > >>"si514". > >>+ - clock-frequency: Output frequency to generate. This defines the output > >>+ frequency set during boot. It can be

[PATCH] mmc: read alias from device-tree if probing via of.

2015-10-02 Thread Ben Dooks
The mmc host controller fails to check for the presence of an aliases entry in the device tree when creating a new mmc host. This means that mmc bus numbers are not as specified in the aliases node. For example, the following on an imx6 would make mmc0 the second sdhci, and mmc2 the first sdhci:

Re: [PATCH v4 2/5] firmware: arm_scpi: Extend to support sensors

2015-10-02 Thread Sudeep Holla
On 15/09/15 17:50, Punit Agrawal wrote: ARM System Control Processor (SCP) provides an API to query and use the sensors available in the system. Extend the SCPI driver to support sensor messages. Signed-off-by: Punit Agrawal Cc: Sudeep Holla

[PATCH 5/6] arm64: dts: Add IPROC RNG200 DT node for NS2

2015-10-02 Thread Anup Patel
We have IPROC RNG200 hardware random number generation in NS2 SoC, lets enable it for NS2 in NS2 DT. Signed-off-by: Anup Patel Reviewed-by: Ray Jui Reviewed-by: Pramod KUMAR Reviewed-by: Vikram Prakash

[PATCH 4/6] arm64: dts: Add ARM PMUv3 DT node in NS2 DT

2015-10-02 Thread Anup Patel
The NS2 SoC has Cortex-A57 CPUs which support ARM PMUv3 so, lets enable ARM PMUv3 in NS2 DT. Signed-off-by: Anup Patel Reviewed-by: Vikram Prakash Reviewed-by: Ray Jui Reviewed-by: Scott Branden ---

[PATCH 0/6] arm64: Simple additions to NS2 DT

2015-10-02 Thread Anup Patel
We add l2-cache, SMMU, reboot, PMUv3, RNG, and I2C DT nodes for NS2 SVK. This patchset is based on v4.3-rc3 and available in ns2_dt1_v1 branch of https://github.com/Broadcom/arm64-linux.git. The patchset is tested on NS2 SVK. Anup Patel (5): arm64: dts: Add L2-cache DT node for NS2 arm64:

[PATCH 2/6] arm64: dts: Add SMMU DT node for NS2

2015-10-02 Thread Anup Patel
The SMMU-500 driver is already available in Linux kernel. Let's enable it for NS2 in DT. This patch keeps mmu-masters attribute empty so that driver patches can later extend this attribute when adding device DT nodes. Signed-off-by: Anup Patel Reviewed-by: Ray Jui

[PATCH 3/6] arm64: dts: Add syscon based reboot in DT for NS2

2015-10-02 Thread Anup Patel
To reset NS2, we simply have to write '0' to BIT[1] at offset 0x90 of CRMU space. The above can be easily achieved by writing 0xfffd at offset 0x90 using syscon-reboot driver. We don't need to have separate driver for rebooting NS2. This patch enables syscon-reboot driver for NS2 using DT.

Re: [PATCH] arm64: dts: add all hi6220 uart nodes

2015-10-02 Thread Peter Griffin
Hi Tyler, On Wed, 30 Sep 2015, Tyler Baker wrote: > On 30 September 2015 at 10:31, Mark Brown wrote: > > On Wed, Sep 30, 2015 at 10:24:56AM +0200, Arnd Bergmann wrote: > >> On Tuesday 29 September 2015 13:29:12 Tyler Baker wrote: > > > >> > aliases { > >> >

[PATCH] ARM: bcm2835: add label for uart0

2015-10-02 Thread Stefan Wahren
This patch adds a label for uart0 to allow changing of uart0 pins. Signed-off-by: Stefan Wahren --- arch/arm/boot/dts/bcm2835.dtsi |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi index

[PATCH v4 2/5] PCI: generic: Only fixup irqs for bus we are creating.

2015-10-02 Thread David Daney
From: David Daney If we create multiple buses with pci-host-generic, or there are buses created by other drivers, we don't want to call pci_fixup_irqs() which operates on all devices, not just the devices on the bus being added. The consequence is that either the fixups

[PATCH v4 5/5] PCI: generic: Pass proper starting bus number to pci_scan_root_bus().

2015-10-02 Thread David Daney
From: David Daney If the bus is being configured with a bus-range that does not start at zero, pass that starting bus number to pci_scan_root_bus(). Passing the incorrect value of zero causes attempted config accesses outside of the supported range, which cascades to an

[PATCH v2 4/5] mfd: arizona: Update DT binding documentation for mic detection

2015-10-02 Thread Charles Keepax
Add additional bindings to allow configuration of the system specific microphone detection settings. Signed-off-by: Charles Keepax --- Documentation/devicetree/bindings/mfd/arizona.txt | 21 + include/dt-bindings/mfd/arizona.h

[PATCH v2 3/5] extcon: arizona: Add device binding for jack detect polarity inversion

2015-10-02 Thread Charles Keepax
By default the driver expects the jackdet pin to be pulled low when a jack is inserted. This patch adds a device binding that allows the user to specify that the jackdet pin will be pulled high when a jack is inserted. Signed-off-by: Charles Keepax Acked-by:

[PATCH v2 5/5] mfd: arizona: Update DT binding document for jack detection invert

2015-10-02 Thread Charles Keepax
Add additional binding for inverting the polarity of the detection on the jack detection pins. Signed-off-by: Charles Keepax --- Documentation/devicetree/bindings/mfd/arizona.txt |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

[PATCH v2 0/5] Arizona Extcon Update Device Bindings

2015-10-02 Thread Charles Keepax
This patch chain adds device bindings for the jack and microphone detection system specific settings. Mark, I have added you on the chain as getting a DT ack is proving challenging and Lee said he would appreciate your opinion on these, hope that is ok. Note that some of the changes backing the

[PATCH v2 2/5] extcon: arizona: Add device binding for the general purpose switch

2015-10-02 Thread Charles Keepax
The switch is generally used in conjunction with the MICDET clamp to suppress pops and clicks associated with jack insertion. This patch adds a binding that allows the user to select the mode of operation for this switch. Signed-off-by: Charles Keepax

[PATCH 1/5] mtd: brcmnand: Fix pointer type-cast in brcmnand_write()

2015-10-02 Thread Anup Patel
We should always type-cast pointer to "long" or "unsigned long" because size of pointer is same as machine word size. This will avoid pointer type-cast issues on both 32bit and 64bit systems. This patch fixes pointer type-cast issue in brcmnand_write() as-per above info. Signed-off-by: Anup

[PATCH 0/5] NAND support for Broadcom NS2 SoC

2015-10-02 Thread Anup Patel
We enable NAND support for Broadcom NS2 SoC by reusing existing BRCMNAND driver. This patchset applies on-top of "arm64: Simple additions to NS2 DT" patchset and is available in ns2_nand_v1 branch of https://github.com/Broadcom/arm64-linux.git. The patchset is tested on NS2 SVK. Anup Patel

[PATCH 2/5] mtd: nand: Allow MTD_NAND_BRCMNAND to be selected for ARM64

2015-10-02 Thread Anup Patel
The BRCM NAND driver can be re-used for Broadcom ARM64 SoCs hence this patch updates Kconfig to allow selection of MTD_NAND_BRCMNAND for ARM64. Signed-off-by: Anup Patel Reviewed-by: Vikram Prakash Reviewed-by: Ray Jui

[PATCH 4/5] Documentation: dt-bindings: Add info about brcm,nand-iproc-reset DT flag

2015-10-02 Thread Anup Patel
This patch updates the BRCM NAND controller DT bindings documentation to add info about newly added optional flag "brcm,nand-iproc-reset". Signed-off-by: Anup Patel Reviewed-by: Pramod KUMAR Reviewed-by: Ray Jui Reviewed-by:

[PATCH 3/5] mtd: brcmnand: Optional DT flag to reset IPROC NAND controller

2015-10-02 Thread Anup Patel
The BRCM NAND controller on NS2 SoC requires a reset to cleanup previously configured NAND controller state. This patch adds optional boolean device tree flag named "brcm,nand-iproc-reset". If this flag is present in NAND controller DT node then BRCM IPROC NAND driver will reset the NAND

[PATCH v4 4/5] PCI: generic: Correct, and avoid overflow, in bus_max calculation.

2015-10-02 Thread David Daney
From: David Daney There are two problems with the bus_max calculation: 1) The u8 data type can overflow for large config space windows. 2) The calculation is incorrect for a bus range that doesn't start at zero. Since the configuration space is relative to bus zero,

[PATCH v4 1/5] PCI: Add pci_bus_fixup_irqs().

2015-10-02 Thread David Daney
From: David Daney pci_bus_fixup_irqs() works like pci_fixup_irqs(), except it only does the fixups for devices on the specified bus. Follow-on patch will use the new function. Signed-off-by: David Daney --- No change from v2.

[PATCH v4 3/5] PCI: generic: Quit clobbering our pci_ops.

2015-10-02 Thread David Daney
From: David Daney The pci-host-generic driver keeps a global struct pci_ops which it then patches with the .map_bus method appropriate for the bus device. A problem arises when the driver is used for two different types of bus devices, the .map_bus method for the last

Re: [PATCH v2 1/4] drivers: clk: st: Support for enable/disable in Clockgen PLLs

2015-10-02 Thread Stephen Boyd
On 08/24, Gabriel Fernandez wrote: > The patch adds support for enable/disable of the Clockgen PLLs. > clkgen_pll_enable/clkgen_pll_disable added as generic function for all PLLs. > > Signed-off-by: Pankaj Dev > Signed-off-by: Gabriel Fernandez >

[PATCH v4] clk: bcm2835: Add support for programming the audio domain clocks.

2015-10-02 Thread Eric Anholt
This adds support for enabling, disabling, and setting the rate of the audio domain clocks. It will be necessary for setting the pixel clock for HDMI in the VC4 driver and let us write a cpufreq driver. It will also improve compatibility with user changes to the firmware's config.txt, since our

Re: [PATCH v2 4/4] ARM: STi: DT: Add support for stih418 A9 pll

2015-10-02 Thread Stephen Boyd
On 08/24, Gabriel Fernandez wrote: > Add support for new PLL-type for stih418 A9-PLL. > > Signed-off-by: Gabriel Fernandez > --- I assume this will go through arm-soc? -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation

Re: [PATCH v2 2/4] drivers: clk: st: PLL rate change implementation for DVFS

2015-10-02 Thread Stephen Boyd
On 08/24, Gabriel Fernandez wrote: > Change A9 PLL rate, as per requirement from the cpufreq framework, > for DVFS. For rate change, the A9 clock needs to be temporarily sourced > from PLL external to A9 and then sourced back to A9-PLL > > Signed-off-by: Pankaj Dev >

  1   2   >