[RFC PATCH V2 2/2] tee: add OP-TEE driver

2015-04-29 Thread Jens Wiklander
Adds a OP-TEE driver which also can be compiled as a loadable module. * Targets ARM and ARM64 * Supports using reserved memory from OP-TEE as shared memory * CMA as shared memory is optional and only tried if OP-TEE doesn't supply a reserved shared memory region * Probes OP-TEE version using SMC

[RFC PATCH V2 0/2] generic TEE subsystem

2015-04-29 Thread Jens Wiklander
Hi, This patch set introduces a generic TEE subsystem. The TEE subsystem will be able contain drivers for various TEE implementations. A TEE (Trusted Execution Environment) is a trusted OS running in some secure environment, for example, TrustZone on ARM cpus, or a separate secure co-processor etc

[RFC PATCH V2 1/2] tee: generic TEE subsystem

2015-04-29 Thread Jens Wiklander
Initial patch for generic TEE subsystem. This subsystem provides: * Registration/un-registration of TEE drivers. * Shared memory between normal world and secure world. * Ioctl interface for interaction with user space. A TEE (Trusted Execution Environment) driver is a driver that interfaces with a

interrupts or interrupts-extended ?

2015-04-29 Thread Masahiro Yamada
Hello, device tree folks, Can I ask a little piece of advice? Which is a preferred way for specifying an interrupt property, interrupt-parent & interrupts, or interrupts-extended ? There is only one interrupt controller on my SoC, so I think either should work enough for me. -- Best Regards

Re: [PATCH 1/3 v5] dt/bindings: Add binding for the BCM2835 mailbox driver

2015-04-29 Thread Jassi Brar
On Thu, Apr 30, 2015 at 5:11 AM, Stephen Warren wrote: > On 04/29/15 10:39, Eric Anholt wrote: >> >> Stephen Warren writes: >> >>> On 04/28/2015 02:44 PM, Eric Anholt wrote: From: Lubomir Rintel Signed-off-by: Lubomir Rintel Signed-off-by: Craig McGeachie Signed-o

Re: [PATCH 0/3] ARM: shmobile: Use generic names for sound device nodes

2015-04-29 Thread Simon Horman
On Tue, Apr 28, 2015 at 12:29:20PM +0200, Geert Uytterhoeven wrote: > Hi Magnus, Simon, > > This patch series gets rid of the "sound-codec" device nodes names in > the shmobile DTS files, and replaces them by "codec", as the former > doesn't appear in any binding document. > > Thanks for ap

Re: [PATCH v2 6/8] extcon: arizona: Add support for WM8998 and WM1814

2015-04-29 Thread Chanwoo Choi
Hi Richard, This patch didn't include any description? I think that you better to add the patch description. Thanks, Chanwoo Choi On 04/29/2015 11:37 PM, Richard Fitzgerald wrote: > Signed-off-by: Richard Fitzgerald > Acked-by: Chanwoo Choi > --- > drivers/extcon/extcon-arizona.c | 33

Re: [PATCH v7 3/5] Documentation: Add documentation for the APM X-Gene SoC EDAC DTS binding

2015-04-29 Thread Rob Herring
On Wed, Apr 29, 2015 at 4:56 PM, Loc Ho wrote: > Hi, > >>> > Similar comments for the rest. I would define memory controller >>> > bindings and EDAC driver, then worry about the rest. >>> >>> Okay.. As comment in following emails, I will break up the driver into >>> multiple drivers and focus only

Re: [PATCH v7 3/5] Documentation: Add documentation for the APM X-Gene SoC EDAC DTS binding

2015-04-29 Thread Borislav Petkov
On Wed, Apr 29, 2015 at 02:56:25PM -0700, Loc Ho wrote: > Hi, > > >> > Similar comments for the rest. I would define memory controller > >> > bindings and EDAC driver, then worry about the rest. > >> > >> Okay.. As comment in following emails, I will break up the driver into > >> multiple drivers

Re: [PATCH v7 3/5] Documentation: Add documentation for the APM X-Gene SoC EDAC DTS binding

2015-04-29 Thread Loc Ho
Hi, >> > Similar comments for the rest. I would define memory controller >> > bindings and EDAC driver, then worry about the rest. >> >> Okay.. As comment in following emails, I will break up the driver into >> multiple drivers and focus only on the memory controller driver first. > > Please no mu

Re: [PATCH v7 1/5] arm64: Enable EDAC on ARM64

2015-04-29 Thread Loc Ho
Hi, >> +/* >> + * ECC atomic, DMA, SMP and interrupt safe scrub function. >> + * Implements the per arch atomic_scrub() that EDAC use for software >> + * ECC scrubbing. It reads memory and then writes back the original >> + * value, allowing the hardware to detect and correct memory errors. >> +

[PATCHv2] power_supply: Add support for Richtek rt9455 battery charger

2015-04-29 Thread Anda-Maria Nicolae
Based on the datasheet found here: http://www.richtek.com/download_ds.jsp?p=RT9455 Updates from the previous version: - replaced license GPLv2 with GPL - replaced vendor prefix rt with richtek - replaced uppercase properties names from devicetree with lowercase separated by dash properties names

[PATCH v3 4/4] iio: magn: bmc150_magn: add oversampling ratio

2015-04-29 Thread Irina Tirdea
Export the oversampling ratio so that the user can change the number of repetions for x/y/z axis. The sampling frequency is limited by the oversampling ratio. The available sampling frequencies might change depending on the values of oversampling_ratio. The specification can be downloaded from: h

RE: [PATCH v2 1/4] iio: magn: Add support for BMC150 magnetometer

2015-04-29 Thread Tirdea, Irina
> -Original Message- > From: Jonathan Cameron [mailto:ji...@kernel.org] > Sent: 26 April, 2015 20:19 > To: Tirdea, Irina; linux-...@vger.kernel.org; devicetree@vger.kernel.org > Cc: linux-ker...@vger.kernel.org; Hartmut Knaack; Lars-Peter Clausen; Peter > Meerwald; Rob Herring; Pawel Mol

[PATCH 2/3 v7] mailbox: Enable BCM2835 mailbox support

2015-04-29 Thread Eric Anholt
From: Lubomir Rintel This mailbox driver provides a single mailbox channel to write 32-bit values to the VPU and get a 32-bit response. The Raspberry Pi firmware uses this mailbox channel to implement firmware calls, while Roku 2 (despite being derived from the same firmware tree) doesn't. Sign

Re: [PATCH 2/3 v5] mailbox: Enable BCM2835 mailbox support

2015-04-29 Thread Eric Anholt
Jassi Brar writes: > On Wed, Apr 29, 2015 at 1:19 AM, Eric Anholt wrote: >> Jassi Brar writes: >> + +struct bcm2835_mbox { + struct device *dev; + void __iomem *regs; + spinlock_t lock; + bool started; + struct mbox_controller con

Re: [PATCH v7 4/5] edac: Add APM X-Gene SoC EDAC driver

2015-04-29 Thread Rob Herring
On Tue, Apr 28, 2015 at 5:10 PM, Loc Ho wrote: > This patch adds support for the APM X-Gene SoC EDAC driver. > > Signed-off-by: Feng Kan > Signed-off-by: Loc Ho > --- > drivers/edac/Kconfig |9 +- > drivers/edac/Makefile |1 + > drivers/edac/xgene_edac.c | 2175 > +

Re: [PATCH V2 1/4] regmap: cache: Add "was_reset" argument to regcache_sync_region()

2015-04-29 Thread Mark Brown
On Wed, Apr 29, 2015 at 07:13:27AM -0700, Kevin Cernekee wrote: > On Wed, Apr 29, 2015 at 3:40 AM, Mark Brown wrote: > > Like I said above we can tell if the hardware was reset because > > mark_dirty() is called. > That covers the public API, but I do not understand how you intended > for this d

Re: [PATCH 1/3 v5] dt/bindings: Add binding for the BCM2835 mailbox driver

2015-04-29 Thread Eric Anholt
Stephen Warren writes: > On 04/28/2015 02:44 PM, Eric Anholt wrote: >> From: Lubomir Rintel >> >> Signed-off-by: Lubomir Rintel >> Signed-off-by: Craig McGeachie >> Signed-off-by: Eric Anholt >> Acked-by: Lee Jones >> Acked-by: Stephen Warren >> --- >> >> v2: Split into a separate patch f

Re: [PATCH] devicetree: Add vendor prefix for Foxlink Group

2015-04-29 Thread Rob Herring
On Wed, Apr 29, 2015 at 10:16 AM, Nicolas Ferre wrote: > Le 24/03/2015 17:12, Nicolas Ferre a écrit : >> Signed-off-by: Nicolas Ferre >> --- >> Thierry, >> >> Boris added the support for a Foxlink panel in this commit: 102932b0e474 >> (drm/panel: add support for Foxlink FL500WVR00-A0T panel). Her

[PATCH v11 0/3] ASoC: tda998x: add a codec to the HDMI transmitter

2015-04-29 Thread Jean-Francois Moine
Based on 4.1-rc1 v11: - reduce the patch series to adding the tda998x codec only v10: - add the generic dt-card - define the audio ports from a DT graph of ports (Russell King) - reuse HDMI constants (Andrew Jackson - Jyri Sarha) - alloc rate_constraints in

[PATCH v11 1/3] drm/i2c: tda998x: Add support of a DT graph of ports

2015-04-29 Thread Jean-Francois Moine
Two kinds of ports may be declared in a DT graph of ports: video and audio. This patch accepts the port value from a video port as an alternative to the video-ports property. It also accepts audio ports in the case the transmitter is not used as a slave encoder. The new file include/sound/tda998x.h

RE: [PATCH 1/1] ARM: imx: make the imx timer driver implementation independent of SoCs.

2015-04-29 Thread Shenwei Wang
Hi Baruch, > -Original Message- > From: Baruch Siach [mailto:bar...@tkos.co.il] > Sent: 2015年4月29日 10:08 > To: Wang Shenwei-B38339 > Cc: shawn@linaro.org; linux-arm-ker...@lists.infradead.org; > devicetree@vger.kernel.org > Subject: Re: [PATCH 1/1] ARM: imx: make the imx timer driver i

Re: [PATCH 1/1] ARM: imx: make the imx timer driver implementation independent of SoCs.

2015-04-29 Thread Baruch Siach
Hi Shenwei Wang, On Wed, Apr 29, 2015 at 02:55:52PM +, Shenwei Wang wrote: > > -Original Message- > > From: Baruch Siach [mailto:bar...@tkos.co.il] > > Sent: 2015年4月29日 9:26 > > To: Wang Shenwei-B38339 > > Cc: shawn@linaro.org; linux-arm-ker...@lists.infradead.org; > > devicetree@v

[PATCH v2 6/8] extcon: arizona: Add support for WM8998 and WM1814

2015-04-29 Thread Richard Fitzgerald
Signed-off-by: Richard Fitzgerald Acked-by: Chanwoo Choi --- drivers/extcon/extcon-arizona.c | 33 ++--- 1 files changed, 22 insertions(+), 11 deletions(-) diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c index 830c5f9..586ec53 100644

[PATCH v2 7/8] ASoC: wm8998: Initial WM8998 codec driver

2015-04-29 Thread Richard Fitzgerald
Signed-off-by: Richard Fitzgerald --- sound/soc/codecs/Kconfig |6 + sound/soc/codecs/Makefile |2 + sound/soc/codecs/arizona.c |7 + sound/soc/codecs/arizona.h |2 +- sound/soc/codecs/wm8998.c | 1394 sound/soc/codecs/wm8998.h |

[PATCH v2 3/8] mfd: arizona: Add support for WM8998 and WM1814

2015-04-29 Thread Richard Fitzgerald
Signed-off-by: Richard Fitzgerald --- drivers/mfd/Kconfig |6 + drivers/mfd/Makefile |3 + drivers/mfd/arizona-core.c| 105 ++- drivers/mfd/arizona-i2c.c |8 + drivers/mfd/arizona-irq.c |9 + drivers/mfd/arizo

[PATCH v2 1/8] mfd: arizona: Split INx_MODE into two fields

2015-04-29 Thread Richard Fitzgerald
Later arizona silicon has the single/differential selector in a different register, and IN1_MODE only selects between analogue or digital. Prepare for this by splitting the INx_MODE definition into two fields. Signed-off-by: Richard Fitzgerald --- drivers/mfd/arizona-core.c|8 +++

[PATCH v2 8/8] Documentation: Add WM8998/WM1814 device tree bindings

2015-04-29 Thread Richard Fitzgerald
Signed-off-by: Richard Fitzgerald --- Documentation/devicetree/bindings/mfd/arizona.txt | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/arizona.txt b/Documentation/devicetree/bindings/mfd/arizona.txt index 7665aa9..64fa3b

[PATCH V7 08/10] ARM: imx: add imx7d clk tree support

2015-04-29 Thread Frank.Li
From: Frank Li Add i.MX7D clk tree support. Enable all clock to bring up imx7. Clock framework need be modified a little since imx7d change clock design. otherwise system will halt and block the other part upstream. All clock refine need wait for Dong Aisheng's patch clk: support clocks which r

[PATCH V7 10/10] ARM: config: imx_v6_v7_defconfig add imx7d support

2015-04-29 Thread Frank.Li
From: Frank Li Add imx7d support Signed-off-by: Frank Li --- arch/arm/configs/imx_v6_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig index fdeb1c8..c9c51e1f 100644 --- a/arch/arm/configs/imx_v6_v7_def

[PATCH V7 02/10] ARM: dts: add clock include file to support imx7d

2015-04-29 Thread Frank.Li
From: Frank Li Add i.MX7D support: clock define part. Signed-off-by: Frank Li --- include/dt-bindings/clock/imx7d-clock.h | 450 1 file changed, 450 insertions(+) create mode 100644 include/dt-bindings/clock/imx7d-clock.h diff --git a/include/dt-bindi

[PATCH V7 01/10] ARM: dts: add pinfunc include file to support imx7d

2015-04-29 Thread Frank.Li
From: Frank Li Addi i.MX7D support: pinfunc part except GPIO1 Signed-off-by: Frank Li --- arch/arm/boot/dts/imx7d-pinfunc.h | 1038 + 1 file changed, 1038 insertions(+) create mode 100644 arch/arm/boot/dts/imx7d-pinfunc.h diff --git a/arch/arm/boot

Re: [PATCH v7 0/9] mfd: watchdog: rtc: New driver for ST's LPC IP

2015-04-29 Thread Lee Jones
> [Alessandro: This just needs RTC Acks now] Given this patch-set has been on the list for some time now and we haven't heard from Alessandro in all that time, I'm going to just apply the set and send out a pull-request to the other Maintainers. No point waiting any longer IMHO. > ST's Low Power

Re: [PATCH v5 02/10] DT: Add documentation for the mfd Maxim max77693

2015-04-29 Thread Jacek Anaszewski
On 04/29/2015 02:34 PM, Lee Jones wrote: LED Ack please Bryan. You've already applied v6 with Bryan's ack today :) This patch adds device tree binding documentation for the flash cell of the Maxim max77693 multifunctional device. Signed-off-by: Jacek Anaszewski Signed-off-by: Andrzej Hajda

Re: [alsa-devel] [PATCH v2 2/2] mfd: arizona: Update DT binding to support hpdet channel

2015-04-29 Thread Lee Jones
Does this looks okay to you Charles? > This patch add device tree bindings for the pdata needed to configure > the Accessory Detect Mode select when Headphone detection. Isn't the idea of headphone detection that it headphones are detected i.e. automatically? > Signed-off-by: Inha Song > --- >

Re: [PATCH] power_supply: Add support for Richtek rt9455 battery charger

2015-04-29 Thread Krzysztof Kozłowski
2015-04-27 23:02 GMT+09:00 Nicolae, Anda-maria : > However after looking at the code I got different question. You are > reading here and in few other places the RT9455_REG_IRQ1. Isn't the > register auto-cleared? > > No, RT9455_REG_IRQ1 is not cleared after reading. Let me give you an example. >

Re: [PATCH 2/2] Regulator: add driver for Freescale MC34708

2015-04-29 Thread Paul Bolle
Just a nit: a license mismatch. On Tue, 2015-04-28 at 16:17 +0200, Martin Fuzzey wrote: > --- /dev/null > +++ b/drivers/regulator/mc34708-regulator.c > + * This program is free software; you can redistribute it and/or > + * modify it under the terms of the GNU General Public License as > + * publ

[PATCH 0/5] Add support for Exynos SROM Controller driver

2015-04-29 Thread Pankaj Dubey
This patch set adds support for Exynos SROM controller DT based driver. Currently SROM register sets are used only during S2R, so driver basically added for taking care of S2R. It will help us in removing static mapping from exynos.c and other extra code handline during S2R. This patch set also up

[PATCH 1/5] drivers: soc: add support for exynos SROM driver

2015-04-29 Thread Pankaj Dubey
This patch adds Exynos SROM controller driver which will handle save restore of SROM registers during S2R. Change-Id: Iaddaaebc1d7090c9889e948e68e886519562c43c Signed-off-by: Pankaj Dubey --- drivers/soc/Kconfig | 1 + drivers/soc/Makefile | 1 + drivers/soc/samsun

[PATCH 2/5] ARM: EXYNOS: Remove SROM related register settings from mach-exynos

2015-04-29 Thread Pankaj Dubey
As now we have dedicated driver for SROM controller, it will take care of saving register banks during S2R so we can safely remove these settings from mach-exynos. Signed-off-by: Pankaj Dubey --- arch/arm/mach-exynos/Kconfig | 2 + arch/arm/mach-exynos/exynos.c

[PATCH 5/5] Documentation: dt-bindings: add exynos-srom binding information

2015-04-29 Thread Pankaj Dubey
This patch adds exynos-srom binding information for SROM Controller driver on Exynos SoCs. CC: Rob Herring CC: Mark Rutland CC: Ian Campbell Signed-off-by: Pankaj Dubey --- .../devicetree/bindings/arm/samsung/exynos-srom.txt | 12 1 file changed, 12 insertions(+) create

[PATCH 4/5] ARM: EXYNOS: DTS: add SROM device node for exynos5

2015-04-29 Thread Pankaj Dubey
Add SROM device node for exynos5. CC: Rob Herring CC: Mark Rutland CC: Ian Campbell Signed-off-by: Pankaj Dubey --- arch/arm/boot/dts/exynos5.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/exynos5.dtsi b/arch/arm/boot/dts/exynos5.dtsi index a0cc0b6..d3be361 10

[PATCH 3/5] ARM: EXYNOS: DTS: add SROM device node for exynos4

2015-04-29 Thread Pankaj Dubey
Add SROM device node for exynos4. CC: Rob Herring CC: Mark Rutland CC: Ian Campbell Signed-off-by: Pankaj Dubey --- arch/arm/boot/dts/exynos4.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi index 77ea547..48490ea 10

Re: [PATCH] of: return NUMA_NO_NODE from fallback of_node_to_nid()

2015-04-29 Thread Konstantin Khlebnikov
+x...@kernel.org +linux-me...@vger.kernel.org here is proposed fix: https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg864009.html It returns NUMA_NO_NODE from both static-inline (CONFIG_OF=n) and weak version of of_node_to_nid(). This change might affect few arches which whave CONFIG_

Re: [PATCH v6 02/10] DT: Add documentation for the mfd Maxim max77693

2015-04-29 Thread Lee Jones
On Tue, 28 Apr 2015, Jacek Anaszewski wrote: > This patch adds device tree binding documentation for > the flash cell of the Maxim max77693 multifunctional device. > > Signed-off-by: Jacek Anaszewski > Signed-off-by: Andrzej Hajda > Acked-by: Kyungmin Park > Acked-by: Sakari Ailus > Cc: Lee J

Re: [PATCH v3 3/3] arm64: dts: Add mediatek MT8173 earlycon support

2015-04-29 Thread Vineet Gupta
On Wednesday 29 April 2015 12:15 PM, Sascha Hauer wrote: > Hi Eddie, > > On Tue, Apr 28, 2015 at 09:40:34PM +0800, Eddie Huang wrote: >> Add earlycon support to mediatek MT8173 evaluation board dts. > This is not about earlycon support. It adds the stdout-path property > which is generally about co

Re: [PATCH v2 RESEND 2/2] mmc: host: Add some quirks to be read from fdt in sdhci-pltm.c

2015-04-29 Thread Suman Tripathi
Hi Arnd, Please ignore the previous reply. On Tue, Apr 28, 2015 at 1:19 AM, Arnd Bergmann wrote: > On Monday 27 April 2015 21:25:20 Suman Tripathi wrote: >> > On Monday 27 April 2015 20:33:25 Suman Tripathi wrote: >> > > > On Tuesday 21 April 2015 21:12:39 Suman Tripathi wrote: >> > > > > +

Re: [RFC 00/12] On-demand device registration

2015-04-29 Thread Tomeu Vizoso
On 28 April 2015 at 20:17, Alexander Holler wrote: > Am 28.04.2015 um 14:49 schrieb Tomeu Vizoso: >> >> On 25 April 2015 at 01:15, Alexander Holler wrote: >>> >>> Am 24.04.2015 um 16:47 schrieb Tomeu Vizoso: Hi, while reading the thread [0] that Alexander Holler started with h