Re: [PATCH v2 3/3] ASoC: mediatek: Add machine driver for rt5650 rt5676 codec

2015-06-16 Thread Mark Brown
On Mon, Jun 15, 2015 at 10:38:04PM +0800, Koro Chen wrote: This is the DPCM based machine driver with rt5650 and rt5676 Applied, thanks. signature.asc Description: Digital signature

[PATCH] ARM: DT: STiH410: Add bdisp dt nodes

2015-06-16 Thread Fabien Dessenne
Add the bdisp (2D blitter for STMicroelectronics SoC) dt nodes for the first of the two bdisp devices, defining register address, interrupt and clock. Signed-off-by: Fabien Dessenne fabien.desse...@st.com --- arch/arm/boot/dts/stih410.dtsi | 12 1 file changed, 12 insertions(+)

Re: [PATCH v4 1/2] dt: add cap11xx LED documentation

2015-06-16 Thread Matt Ranostay
On Tue, Jun 16, 2015 at 12:57 AM, Jacek Anaszewski j.anaszew...@samsung.com wrote: On 06/16/2015 04:46 AM, Matt Ranostay wrote: Signed-off-by: Matt Ranostay mranos...@gmail.com --- .../devicetree/bindings/input/cap11xx.txt | 23 ++ 1 file changed, 23

Applied regulator: Add QCOM SPMI regulator driver to the regulator tree

2015-06-16 Thread Mark Brown
The patch regulator: Add QCOM SPMI regulator driver has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Re: [PATCH v6 4/7] arm64: dts: mediatek: Add MT8173 MMC dts

2015-06-16 Thread Daniel Kurtz
On Tue, Jun 16, 2015 at 7:39 PM, Daniel Kurtz djku...@chromium.org wrote: Hi Chaotian, On Mon, Jun 15, 2015 at 7:20 PM, Chaotian Jing chaotian.j...@mediatek.com wrote: From: Eddie Huang eddie.hu...@mediatek.com Add node mmc0 ~ mmc3 for mt8173.dtsi Add node mmc0, mmc1 for mt8173-evb.dts

RE: [PATCH v2 2/4] PCI: designware: Add ARM64 support

2015-06-16 Thread Gabriele Paoloni
-Original Message- From: Wangzhou (B) Sent: Tuesday, June 16, 2015 12:30 PM To: Gabriele Paoloni Cc: Lorenzo Pieralisi; James Morse; Bjorn Helgaas; Jingoo Han; Pratyush Anand; Arnd Bergmann; fabrice.gasn...@st.com; Liviu Dudau; linux- p...@vger.kernel.org;

Re: [PATCH 1/4] mfd: 88pm800: add device tree support

2015-06-16 Thread Rob Herring
On Tue, Jun 16, 2015 at 2:52 AM, Vaibhav Hiremath vaibhav.hirem...@linaro.org wrote: On Monday 01 June 2015 02:08 PM, Lee Jones wrote: On Sat, 30 May 2015, Vaibhav Hiremath wrote: Thanks for your review. and sorry for delayed response. Add DT support to the 88pm800 driver along with

Re: [PATCH V7 1/3] OPP: Add new bindings to address shortcomings of existing bindings

2015-06-16 Thread Nishanth Menon
On 06/04/2015 11:20 AM, Viresh Kumar wrote: Current OPP (Operating performance point) device tree bindings have been insufficient due to the inflexible nature of the original bindings. Over time, we have realized that Operating Performance Point definitions and usage is varied depending on the

[PATCH] arm64: dts: symlink cros-ec-keyboard from arm to arm64

2015-06-16 Thread Daniel Kurtz
The cros-ec-keyboard.dtsi snippet is useful for both arm and arm64 boards. Create a link between the two. This may not be the most scalable solution, so consider it temporary until we find a more central repository for such shared .dtsi snippets. Signed-off-by: Daniel Kurtz djku...@chromium.org

Re: [PATCH v4 2/2] cap11xx: add LED support

2015-06-16 Thread Matt Ranostay
On Tue, Jun 16, 2015 at 12:54 AM, Jacek Anaszewski j.anaszew...@samsung.com wrote: On 06/16/2015 04:46 AM, Matt Ranostay wrote: Several cap11xx variants have LEDs that be can be controlled, this patchset implements this functionality. Signed-off-by: Matt Ranostay mranos...@gmail.com ---

Re: [PATCH] arm64: dts: symlink cros-ec-keyboard from arm to arm64

2015-06-16 Thread Will Deacon
On Tue, Jun 16, 2015 at 03:35:41PM +0100, Daniel Kurtz wrote: The cros-ec-keyboard.dtsi snippet is useful for both arm and arm64 boards. Create a link between the two. This may not be the most scalable solution, so consider it temporary until we find a more central repository for such shared

Re: [PATCH 1/4] mfd: 88pm800: add device tree support

2015-06-16 Thread Vaibhav Hiremath
On Tuesday 16 June 2015 06:32 PM, Rob Herring wrote: On Tue, Jun 16, 2015 at 2:52 AM, Vaibhav Hiremath vaibhav.hirem...@linaro.org wrote: On Monday 01 June 2015 02:08 PM, Lee Jones wrote: On Sat, 30 May 2015, Vaibhav Hiremath wrote: Thanks for your review. and sorry for delayed

Re: [PATCH 5/5] ARM64: MediaTek MT8173: Add SCPSYS device node

2015-06-16 Thread Kevin Hilman
Sascha Hauer s.ha...@pengutronix.de writes: This adds the SCPSYS device node to the MT8173 dtsi file. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git

Re: [PATCH v3 1/2] DT: Documentation: input: rotary encoder: Add wakeup-source property

2015-06-16 Thread Sylvain Rochet
Hello, On Thu, Feb 12, 2015 at 04:40:37PM +0100, Sylvain Rochet wrote: This patch adds property wakeup-source to GPIO rotary encoders. Signed-off-by: Sylvain Rochet sylvain.roc...@finsecur.com Reviewed-by: Johan Hovold jo...@kernel.org Cc: devicetree@vger.kernel.org ---

Re: [PATCHv4 1/2] dts: Adding docs for Xilinx LogiCORE IP mailbox driver.

2015-06-16 Thread Josh Cartwright
On Mon, Jun 01, 2015 at 09:18:26AM -0700, Moritz Fischer wrote: Changes from v3: - Changed reg size to 0x100 Changes from v2: - Addressed Michal's stylistic comments - Fixed typo in compatible string Changes from v1: - Added common clock framework support Changes from v0: - Fixed

[PATCH] ARM: dts: rockchip: Add DMA tx and rx channels in UART interfaces for RK3288 SoCs

2015-06-16 Thread Romain Perier
This enable DMA capability for the corresponding UART interfaces, also it removes warning ttyS%d - Failed to request dma from kernel logs. Signed-off-by: Romain Perier romain.per...@gmail.com --- Changes since v1 ([PATCH] ARM: dts: rockchip: Add dmac_bus rx and tx for uart2): - Add DMA

Re: [PATCHv4 2/2] mailbox: Adding driver for Xilinx LogiCORE IP mailbox.

2015-06-16 Thread Josh Cartwright
Hey Moritz- A few comments below: On Mon, Jun 01, 2015 at 09:18:27AM -0700, Moritz Fischer wrote: [..] +++ b/drivers/mailbox/mailbox-xilinx.c @@ -0,0 +1,352 @@ +/* + * Copyright (c) 2015, National Instruments Corp. All rights reserved. + * + * Driver for the Xilinx LogiCORE mailbox IP

Re: [PATCH v2 6/6] ARM: sun8i: dts: Add Ippo-q8h v1.2 with A33 and 1024x600 lcd support

2015-06-16 Thread Maxime Ripard
Hi, On Sat, Jun 13, 2015 at 04:18:59PM +0200, Hans de Goede wrote: Pantelis, to sum things up, we have a case of a tablet that comes with the exact same board, but coming in two flavours with two differents screen resolutions. It looks like a great case for your DT quirks work, but we have no

[Patch 2/2] media: v4l: ti-vpe: Document CAL driver

2015-06-16 Thread Benoit Parrot
Device Tree bindings for the Camera Adaptation Layer (CAL) driver Signed-off-by: Benoit Parrot bpar...@ti.com --- Documentation/devicetree/bindings/media/ti-cal.txt | 70 ++ 1 file changed, 70 insertions(+) create mode 100644

[Patch 1/2] media: v4l: ti-vpe: Add CAL v4l2 camera capture driver

2015-06-16 Thread Benoit Parrot
The Camera Adaptation Layer (CAL) is a block which consists of a dual port CSI2/MIPI camera capture engine. Port #0 can handle CSI2 camera connected to up to 4 data lanes. Port #1 can handle CSI2 camera connected to up to 2 data lanes. The driver implements the required API/ioctls to be V4L2

Re: [PATCH V7 3/3] OPP: Add binding for 'opp-suspend'

2015-06-16 Thread Rafael J. Wysocki
On Tuesday, June 16, 2015 02:23:23 PM Rob Herring wrote: On Mon, Jun 15, 2015 at 9:54 PM, Viresh Kumar viresh.ku...@linaro.org wrote: On 16-06-15, 06:01, Viresh Kumar wrote: On 16 June 2015 at 05:05, Rob Herring robherri...@gmail.com wrote: +- opp-suspend: Phandle of the OPP to set while

[PATCH v3] ARM: tegra124: pmu support

2015-06-16 Thread Kyle Huey
This patch modifies the device tree for tegra124 based devices to enable the Cortex A15 PMU. The interrupt numbers are taken from NVIDIA TRM DP-06905-001_v03p. This patch was tested on a Jetson TK1. Updated for proper ordering and to add interrupt-affinity values. Signed-off-by: Kyle Huey

[Patch 0/2] media: v4l: ti-vpe: Add CAL v4l2 camera capture driver

2015-06-16 Thread Benoit Parrot
The Camera Adaptation Layer (CAL) is a block which consists of a dual port CSI2/MIPI camera capture engine. This camera engine is currently found on DRA72xx family of devices. Port #0 can handle CSI2 camera connected to up to 4 data lanes. Port #1 can handle CSI2 camera connected to up to 2 data

Re: [PATCH v2 6/6] ARM: sun8i: dts: Add Ippo-q8h v1.2 with A33 and 1024x600 lcd support

2015-06-16 Thread Maxime Ripard
Hi Pantelis, On Sun, Jun 14, 2015 at 09:16:21PM +0300, Pantelis Antoniou wrote: I think we need to discuss this with Pantelis and what is his feeling about this. Pantelis, to sum things up, we have a case of a tablet that comes with the exact same board, but coming in two flavours with

Re: [PATCH v4 2/2] cap11xx: add LED support

2015-06-16 Thread Matt Ranostay
On Tue, Jun 16, 2015 at 2:26 PM, Daniel Mack dan...@zonque.org wrote: On 06/16/2015 04:39 PM, Matt Ranostay wrote: On Tue, Jun 16, 2015 at 12:54 AM, Jacek Anaszewski j.anaszew...@samsung.com wrote: On 06/16/2015 04:46 AM, Matt Ranostay wrote: + for_each_child_of_node(node, child) { +

Re: [PATCH v4 2/2] cap11xx: add LED support

2015-06-16 Thread Daniel Mack
On 06/16/2015 04:39 PM, Matt Ranostay wrote: On Tue, Jun 16, 2015 at 12:54 AM, Jacek Anaszewski j.anaszew...@samsung.com wrote: On 06/16/2015 04:46 AM, Matt Ranostay wrote: + for_each_child_of_node(node, child) { + led-cdev.name = +

[RFC PATCH V3] ARM: dts: sun6i: Add dts file for MSI Primo81 tablet

2015-06-16 Thread Karsten Merker
On Tue, Jun 16, 2015 at 11:40:27AM +0200, Maxime Ripard wrote: What I meant in my previous review was to use the syntax uart0 { some-property; }; Instead of duplicating the tree structure like you're doing here. We've converted all the DT to that, so you can look around and

[RFC PATCH V3] ARM: dts: sun6i: Add dts file for MSI Primo81 tablet

2015-06-16 Thread Karsten Merker
The MSI Primo81 is an A31s based tablet, with 1G RAM, 16G NAND, 1024x768 IPS LCD display, mono speaker, 0.3 MP front camera, 2.0 MP rear camera, 3500 mAh battery, gt911 touchscreen, mma8452 accelerometer and rtl8188etv usb wifi. Has power, volume+ and volume- buttons (both volume buttons are also

Re: [PATCH 02/21] ARM: tegra: Add gpio-ranges property

2015-06-16 Thread Stephen Warren
On 06/16/2015 02:42 AM, Tomeu Vizoso wrote: On 2 June 2015 at 17:40, Stephen Warren swar...@wwwdotorg.org wrote: On 06/02/2015 05:28 AM, Linus Walleij wrote: On Tue, May 26, 2015 at 9:41 PM, Stephen Warren swar...@wwwdotorg.org wrote: On 05/25/2015 08:53 AM, Tomeu Vizoso wrote: Specify

Re: [PATCH v2 6/6] ARM: sun8i: dts: Add Ippo-q8h v1.2 with A33 and 1024x600 lcd support

2015-06-16 Thread Pantelis Antoniou
Hi Maxime, On Jun 16, 2015, at 20:55 , Maxime Ripard maxime.rip...@free-electrons.com wrote: Hi Pantelis, On Sun, Jun 14, 2015 at 09:16:21PM +0300, Pantelis Antoniou wrote: I think we need to discuss this with Pantelis and what is his feeling about this. Pantelis, to sum things up,

Re: [PATCH V7 3/3] OPP: Add binding for 'opp-suspend'

2015-06-16 Thread Rob Herring
On Mon, Jun 15, 2015 at 9:54 PM, Viresh Kumar viresh.ku...@linaro.org wrote: On 16-06-15, 06:01, Viresh Kumar wrote: On 16 June 2015 at 05:05, Rob Herring robherri...@gmail.com wrote: +- opp-suspend: Phandle of the OPP to set while device is suspended. + I would just do a bool property

Re: [PATCH v5 04/11] nvmem: Add a simple NVMEM framework for consumers

2015-06-16 Thread Stephen Boyd
On 05/21/2015 09:43 AM, Srinivas Kandagatla wrote: @@ -379,6 +380,351 @@ int nvmem_unregister(struct nvmem_device *nvmem) [...] + + return nvmem; +} + +static int __nvmem_device_put(struct nvmem_device *nvmem) Why does this return int? It's not used anywhere. +{ +

Re: [PATCH v5 07/11] nvmem: Add simple nvmem-mmio consumer helper functions.

2015-06-16 Thread Stephen Boyd
On 05/21/2015 09:44 AM, Srinivas Kandagatla wrote: diff --git a/drivers/nvmem/nvmem-mmio.c b/drivers/nvmem/nvmem-mmio.c new file mode 100644 index 000..0d8131f --- /dev/null +++ b/drivers/nvmem/nvmem-mmio.c @@ -0,0 +1,69 @@ +/* + * Copyright (C) 2015 Srinivas Kandagatla

Re: [PATCH v5 05/11] nvmem: Add nvmem_device based consumer apis.

2015-06-16 Thread Stephen Boyd
On 05/21/2015 09:43 AM, Srinivas Kandagatla wrote: diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c index 8a4b358..68ee8d1 100644 --- a/drivers/nvmem/core.c +++ b/drivers/nvmem/core.c @@ -436,6 +436,51 @@ static int __nvmem_device_put(struct nvmem_device *nvmem) return 0; }

Re: [PATCH v5 03/11] nvmem: Add a simple NVMEM framework for nvmem providers

2015-06-16 Thread Stephen Boyd
On 05/21/2015 09:43 AM, Srinivas Kandagatla wrote: diff --git a/drivers/nvmem/core.c b/drivers/nvmem/core.c new file mode 100644 index 000..6c2f0b1 --- /dev/null +++ b/drivers/nvmem/core.c @@ -0,0 +1,398 @@ +/* + * nvmem framework core. + * + * Copyright (C) 2015 Srinivas Kandagatla

Re: [PATCH v5 06/11] nvmem: Add bindings for simple nvmem framework

2015-06-16 Thread Stephen Boyd
On 05/21/2015 09:44 AM, Srinivas Kandagatla wrote: diff --git a/Documentation/devicetree/bindings/nvmem/nvmem.txt b/Documentation/devicetree/bindings/nvmem/nvmem.txt new file mode 100644 index 000..ecea654 --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/nvmem.txt @@ -0,0

Re: [PATCH v5 08/11] nvmem: qfprom: Add Qualcomm QFPROM support.

2015-06-16 Thread Stephen Boyd
On 05/21/2015 09:44 AM, Srinivas Kandagatla wrote: diff --git a/drivers/nvmem/Kconfig b/drivers/nvmem/Kconfig index f157b6d..e665e23 100644 --- a/drivers/nvmem/Kconfig +++ b/drivers/nvmem/Kconfig @@ -8,3 +8,18 @@ menuconfig NVMEM from both the Linux Kernel and the userspace.

Re: [PATCH v5 09/11] nvmem: qfprom: Add bindings for qfprom

2015-06-16 Thread Stephen Boyd
On 05/21/2015 09:44 AM, Srinivas Kandagatla wrote: This patch adds bindings for qfprom found in QCOM SOCs. QFPROM driver is based on simple nvmem framework. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@linaro.org --- Reviewed-by: Stephen Boyd sb...@codeaurora.org -- Qualcomm

Re: [PATCH v5 10/11] nvmem: sunxi: Move the SID driver to the nvmem framework

2015-06-16 Thread Stephen Boyd
On 05/21/2015 09:45 AM, Srinivas Kandagatla wrote: diff --git a/drivers/nvmem/Makefile b/drivers/nvmem/Makefile index caea611..cc46791 100644 --- a/drivers/nvmem/Makefile +++ b/drivers/nvmem/Makefile @@ -9,3 +9,5 @@ nvmem_core-y += nvmem-mmio.o # Devices

Re: [PATCH v2 2/3] watchdog: bcm2835: Add poweroff code for the Raspberry Pi

2015-06-16 Thread Stephen Warren
On 06/16/2015 03:39 AM, Noralf Trønnes wrote: Den 16.06.2015 05:07, skrev Stephen Warren: On 06/13/2015 05:39 AM, Noralf Trønnes wrote: This adds a new poweroff function to the watchdog driver for the Raspberry Pi. Currently poweroff/halt results in a reboot. The Raspberry Pi firmware uses

[PATCH v0] arm64: dts: Add poweroff button device node for APM X-Gene platform

2015-06-16 Thread Y Vo
This patch adds poweroff button device node to support poweroff feature on APM X-Gene Mustang platform. Signed-off-by: Y Vo y...@apm.com --- arch/arm64/boot/dts/apm/apm-mustang.dts | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git

Re: [PATCH] arm64: dts: symlink cros-ec-keyboard from arm to arm64

2015-06-16 Thread Daniel Kurtz
On Tue, Jun 16, 2015 at 10:55 PM, Will Deacon will.dea...@arm.com wrote: On Tue, Jun 16, 2015 at 03:35:41PM +0100, Daniel Kurtz wrote: The cros-ec-keyboard.dtsi snippet is useful for both arm and arm64 boards. Create a link between the two. This may not be the most scalable solution, so

Re: [PATCH v5 05/14] crypto: marvell/CESA: add TDMA support

2015-06-16 Thread Herbert Xu
On Tue, Jun 16, 2015 at 11:58:59AM +0200, Boris Brezillon wrote: + ret = dma_map_sg(cesa_dev-dev, req-src, creq-src_nents, + DMA_TO_DEVICE); + if (ret != creq-src_nents) + return -ENOMEM; Hmm it doesn't quite work like that. It returns zero on error,

[PATCH v4 13/23] usb: gadget: acm_ms: allocate and init otg descriptor by otg capabilities

2015-06-16 Thread Li Jun
Allocate and initialize usb otg descriptor according to gadget otg capabilities, add it for each usb configurations, free it while composite unbind. If otg capability is not defined, keep its otg descriptor unchanged. Signed-off-by: Li Jun jun...@freescale.com ---

[PATCH v4 09/23] usb: chipidea: update ci_otg_is_fsm_mode conditions

2015-06-16 Thread Li Jun
After introduce usb otg properties, update ci_otg_is_fsm_mode conditions to be depending on both usb hardware properties and usb driver config, also resolve a compile issue in debug.c after the API change. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/chipidea/ci.h| 5 -

[PATCH v4 05/23] usb: gadget: composite: add USB_DT_OTG request handling

2015-06-16 Thread Li Jun
From: Macpaul Lin macp...@gmail.com Copy usb_otg_descriptor from config's descriptor if host requests USB_DT_OTG. Signed-off-by: Macpaul Lin macp...@gmail.com Signed-off-by: Li Jun jun...@freescale.com Reviewed-by: Roger Quadros rog...@ti.com --- drivers/usb/gadget/composite.c | 27

[PATCH v4 08/23] usb: chipidea: set usb gadeget's otg capabilities

2015-06-16 Thread Li Jun
Set gadget's otg capabilities according to controller's capability and otg properties in device tree. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/chipidea/core.c | 3 +++ drivers/usb/chipidea/udc.c | 7 ++- include/linux/usb/chipidea.h | 1 + 3 files changed, 10

[PATCH v4 00/23] usb gadget update for OTG 2.0

2015-06-16 Thread Li Jun
Changes for v4: - Add usb_otg_caps structure for all otg related capability attributes. - Use one interface: of_usb_get_otg_caps to get all otg capabilities from DT, including otg_rev, hnp/srp/adp support. - Add usb_otg_descriptor_alloc interface to allocate otg descriptor for better code

[PATCH v4 04/23] usb: add usb_otg_caps to usb_gadget structure.

2015-06-16 Thread Li Jun
From: Macpaul Lin macp...@gmail.com Add usb_otg_caps pointer to usb_gadget structure to indicate its otg capabilities. Signed-off-by: Macpaul Lin macp...@gmail.com Signed-off-by: Li Jun jun...@freescale.com --- include/linux/usb/gadget.h | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v4 03/23] usb: otg: add usb_otg_caps structure for otg capabilities

2015-06-16 Thread Li Jun
This patch adds a structure usb_otg_caps to cover all otg related capabilities of the device, including otg revision, and if hnp/srp/adp is supported. Signed-off-by: Li Jun jun...@freescale.com --- include/linux/usb/otg.h | 15 +++ 1 file changed, 15 insertions(+) diff --git

[PATCH v4 06/23] doc: dt-binding: usb: add otg related properties

2015-06-16 Thread Li Jun
Add otg version, srp, hnp and adp support for usb OTG port, then those OTG features don't have to be decided by usb gadget drivers. Signed-off-by: Li Jun jun...@freescale.com --- Documentation/devicetree/bindings/usb/generic.txt | 15 +++ 1 file changed, 15 insertions(+) diff --git

[PATCH v4 12/23] usb: gadget: ether: allocate and init otg descriptor by otg capabilities

2015-06-16 Thread Li Jun
Allocate and initialize usb otg descriptor according to gadget otg capabilities, add it for each usb configurations, free it while composite unbind. If otg capability is not defined, keep its otg descriptor unchanged. Signed-off-by: Li Jun jun...@freescale.com ---

[PATCH v4 07/23] usb: common: add API to get usb otg features from device tree

2015-06-16 Thread Li Jun
Check property of usb hardware to get otg version and if SRP, HNP and ADP are supported. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/common/common.c | 29 + include/linux/usb/of.h | 7 +++ 2 files changed, 36 insertions(+) diff --git

[PATCH v4 11/23] usb: gadget: configfs: allocate and init otg descriptor by otg capabilities

2015-06-16 Thread Li Jun
Allocate and initialize usb otg descriptor according to gadget otg capabilities, add it for each usb configurations, free it while composite unbind. If otg capability is not defined, keep its otg descriptor unchanged. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/gadget/configfs.c |

[PATCH v4 01/23] usb: add usb_otg20_descriptor for OTG 2.0 and above

2015-06-16 Thread Li Jun
From: Macpaul Lin macp...@gmail.com OTG 2.0 introduces bcdOTG in otg descriptor to identify the OTG and EH supplement release number with which the OTG device is compliant, this patch adds structure usb_otg20_descriptor for OTG 2.0 and above. Signed-off-by: Macpaul Lin macp...@gmail.com

[PATCH v4 02/23] usb: add USB_OTG_ADP definition

2015-06-16 Thread Li Jun
From: Macpaul Lin macp...@gmail.com Add USB_OTG_ADP definition for usb_otg_descriptor.bmAttributes. Signed-off-by: Macpaul Lin macp...@gmail.com Signed-off-by: Li Jun jun...@freescale.com Acked-by: Peter Chen peter.c...@freescale.com --- include/uapi/linux/usb/ch9.h | 1 + 1 file changed, 1

[PATCH v4 10/23] usb: gadget: add usb otg descriptor allocate and init interface

2015-06-16 Thread Li Jun
Allocate usb otg descriptor and initialize it according to gadget's otg capabilities, if usb_otg_caps is not set, keep settings as current gadget drivers. With this 2 new interfaces, gadget can use usb_otg_descriptor for OTG 1.x, and usb_otg20_descriptor for OTG 2.0 or above, and otg features can

Re: [PATCH v5 04/14] crypto: add a new driver for Marvell's CESA

2015-06-16 Thread Herbert Xu
On Tue, Jun 16, 2015 at 11:58:58AM +0200, Boris Brezillon wrote: +config CRYPTO_DEV_MARVELL_CESA + tristate New Marvell's Cryptographic Engine driver + depends on (PLAT_ORION || ARCH_MVEBU || COMPILE_TEST) HAS_DMA HAS_IOMEM + select CRYPTO_ALGAPI + select CRYPTO_AES +

Re: [PATCH v5 05/14] crypto: marvell/CESA: add TDMA support

2015-06-16 Thread Herbert Xu
On Wed, Jun 17, 2015 at 01:05:27PM +0800, Herbert Xu wrote: On Tue, Jun 16, 2015 at 11:58:59AM +0200, Boris Brezillon wrote: + ret = dma_map_sg(cesa_dev-dev, req-src, creq-src_nents, +DMA_TO_DEVICE); + if (ret != creq-src_nents) + return -ENOMEM; Hmm

[PATCH v4 18/23] usb: gadget: mass_storage: allocate and init otg descriptor by otg capabilities

2015-06-16 Thread Li Jun
Allocate and initialize usb otg descriptor according to gadget otg capabilities, add it for each usb configurations, free it while composite unbind. If otg capability is not defined, keep its otg descriptor unchanged. Signed-off-by: Li Jun jun...@freescale.com ---

[PATCH v4 23/23] usb: gadget: zero: allocate and init otg descriptor by otg capabilities

2015-06-16 Thread Li Jun
Allocate and initialize usb otg descriptor according to gadget otg capabilities, add it for each usb configurations, free it while composite unbind. If otg capability is not defined, keep its otg descriptor unchanged. Signed-off-by: Li Jun jun...@freescale.com ---

[PATCH v4 20/23] usb: gadget: ncm: allocate and init otg descriptor by otg capabilities

2015-06-16 Thread Li Jun
Allocate and initialize usb otg descriptor according to gadget otg capabilities, add it for each usb configurations, free it while composite unbind. If otg capability is not defined, keep its otg descriptor unchanged. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/gadget/legacy/ncm.c

[PATCH v4 21/23] usb: gadget: printer: allocate and init otg descriptor by otg capabilities

2015-06-16 Thread Li Jun
Allocate and initialize usb otg descriptor according to gadget otg capabilities, add it for each usb configurations, free it while composite unbind. If otg capability is not defined, keep its otg descriptor unchanged. Signed-off-by: Li Jun jun...@freescale.com ---

[PATCH v4 22/23] usb: gadget: serial: allocate and init otg descriptor by otg capabilities

2015-06-16 Thread Li Jun
Allocate and initialize usb otg descriptor according to gadget otg capabilities, add it for each usb configurations, free it while composite unbind. If otg capability is not defined, keep its otg descriptor unchanged. Signed-off-by: Li Jun jun...@freescale.com ---

[PATCH v4 15/23] usb: gadget: cdc2: allocate and init otg descriptor by otg capabilities

2015-06-16 Thread Li Jun
Allocate and initialize usb otg descriptor according to gadget otg capabilities, add it for each usb configurations, free it while composite unbind. If otg capability is not defined, keep its otg descriptor unchanged. Signed-off-by: Li Jun jun...@freescale.com ---

[PATCH v4 14/23] usb: gadget: audio: allocate and init otg descriptor by otg capabilities

2015-06-16 Thread Li Jun
Allocate and initialize usb otg descriptor according to gadget otg capabilities, add it for each usb configurations, free it while composite unbind. If otg capability is not defined, keep its otg descriptor unchanged. Signed-off-by: Li Jun jun...@freescale.com ---

[PATCH v4 16/23] usb: gadget: g_ffs: allocate and init otg descriptor by otg capabilities

2015-06-16 Thread Li Jun
Allocate and initialize usb otg descriptor according to gadget otg capabilities, add it for each usb configurations, free it while composite unbind. If otg capability is not defined, keep its otg descriptor unchanged. Signed-off-by: Li Jun jun...@freescale.com ---

[PATCH v4 17/23] usb: gadget: hid: allocate and init otg descriptor by otg capabilities

2015-06-16 Thread Li Jun
Allocate and initialize usb otg descriptor according to gadget otg capabilities, add it for each usb configurations, free it while composite unbind. If otg capability is not defined, keep its otg descriptor unchanged. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/gadget/legacy/hid.c

Re: [PATCH V7 3/3] OPP: Add binding for 'opp-suspend'

2015-06-16 Thread Viresh Kumar
On 16-06-15, 23:21, Rafael J. Wysocki wrote: Does your ACK also apply to patches [1-2/3] in this series? His RBY tag is already present for 1/3 :) @Rob: Please Ack 2/3 as well :) -- viresh -- To unsubscribe from this list: send the line unsubscribe devicetree in the body of a message to

Re: [PATCH v2 0/2] Add R8A7790 EtherAVB DT support

2015-06-16 Thread Simon Horman
On Tue, Jun 16, 2015 at 02:41:07AM +0300, Sergei Shtylyov wrote: Hello. Here's the set of 2 patches against Simon Horman's 'renesas.git' repo, 'renesas-devel-20150610-v4.1-rc7' tag. Here we add the EtherAVB device tree support for the R8A7790 SoC. The 2nd patch depends on the EtherAVB

Re: [PATCH v2 0/2] Add R8A7790 EtherAVB DT support

2015-06-16 Thread Simon Horman
On Wed, Jun 17, 2015 at 09:37:57AM +0900, Simon Horman wrote: On Tue, Jun 16, 2015 at 02:41:07AM +0300, Sergei Shtylyov wrote: Hello. Here's the set of 2 patches against Simon Horman's 'renesas.git' repo, 'renesas-devel-20150610-v4.1-rc7' tag. Here we add the EtherAVB device tree

[PATCH v3 04/22] usb: gadget: composite: add USB_DT_OTG request handling

2015-06-16 Thread Li Jun
From: Macpaul Lin macp...@gmail.com Copy usb_otg_descriptor from config's descriptor if host requests USB_DT_OTG. Signed-off-by: Macpaul Lin macp...@gmail.com Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/gadget/composite.c | 25 + 1 file changed, 25

[PATCH v3 12/22] usb: gadget: acm_ms: init usb_otg_descriptor via usb_otg_descriptor_add

2015-06-16 Thread Li Jun
Use usb_otg_descriptor_add to allocate and initialize usb_otg_descriptor, free it while composite unbind. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/gadget/legacy/acm_ms.c | 34 +++--- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git

[PATCH v3 11/22] usb: gadget: ether: init usb_otg_descriptor via usb_otg_descriptor_add

2015-06-16 Thread Li Jun
Use usb_otg_descriptor_add to allocate and initialize usb_otg_descriptor, free it while composite unbind. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/gadget/legacy/ether.c | 48 +++ 1 file changed, 34 insertions(+), 14 deletions(-) diff --git

[PATCH v3 05/22] doc: dt-binding: usb: add otg related properties

2015-06-16 Thread Li Jun
Add otg version, srp, hnp and adp support for usb OTG port, then those OTG features don't have to be decided by usb gadget drivers. Signed-off-by: Li Jun jun...@freescale.com --- Documentation/devicetree/bindings/usb/generic.txt | 18 ++ 1 file changed, 18 insertions(+) diff

[PATCH v3 06/22] usb: common: add API to get usb otg features from device tree

2015-06-16 Thread Li Jun
Check property of usb hardware to get otg version and if SRP, HNP and ADP are supported. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/common/common.c | 64 + include/linux/usb/of.h | 20 ++ 2 files changed, 84

[PATCH v3 10/22] usb: gadget: configfs: init and add usb_otg_descriptor for usb configurations

2015-06-16 Thread Li Jun
Use usb_otg_descriptor_add to allocate and initialize usb_otg_descriptor, add it for each usb configurations, free it while composite unbind. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/gadget/configfs.c | 34 +- 1 file changed, 25 insertions(+), 9

[PATCH v3 02/22] usb: add USB_OTG_ADP definition

2015-06-16 Thread Li Jun
From: Macpaul Lin macp...@gmail.com Add USB_OTG_ADP definition for usb_otg_descriptor.bmAttributes. Signed-off-by: Macpaul Lin macp...@gmail.com Signed-off-by: Li Jun jun...@freescale.com Acked-by: Peter Chen peter.c...@freescale.com --- include/uapi/linux/usb/ch9.h | 1 + 1 file changed, 1

[PATCH v3 01/22] usb: add usb_otg20_descriptor for OTG 2.0 and above

2015-06-16 Thread Li Jun
From: Macpaul Lin macp...@gmail.com OTG 2.0 introduces bcdOTG in otg descriptor to identify the OTG and EH supplement release number with which the OTG device is compliant, this patch adds structure usb_otg20_descriptor for OTG 2.0 and above. Signed-off-by: Macpaul Lin macp...@gmail.com

[PATCH v3 07/22] usb: chipidea: set usb gadeget's otg config

2015-06-16 Thread Li Jun
Set gadget's otg features according to controller's capability and usb property in device tree. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/chipidea/core.c | 18 ++ drivers/usb/chipidea/udc.c | 20 +++- include/linux/usb/chipidea.h | 4 3

[PATCH v3 09/22] usb: gadget: add usb_otg_descriptor_add interface to init usb_otg_descriptor

2015-06-16 Thread Li Jun
Allocate usb_otg_descriptor and initialize it according to gadget otg options, if none of options is not set, keep bmAttributes setting as current gadget drivers, with this new interface, usb_otg_descriptor can include bcdOTG if OTG 2.0 or later, and otg features can be decided by the combination

[PATCH v3 13/22] usb: gadget: audio: init usb_otg_descriptor via usb_otg_descriptor_add

2015-06-16 Thread Li Jun
Use usb_otg_descriptor_add to allocate and initialize usb_otg_descriptor, free it while composite unbind. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/gadget/legacy/audio.c | 33 +++-- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git

[PATCH v3 17/22] usb: gadget: mass_storage: init usb_otg_descriptor via usb_otg_descriptor_add

2015-06-16 Thread Li Jun
Use usb_otg_descriptor_add to allocate and initialize usb_otg_descriptor, free it while composite unbind. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/gadget/legacy/mass_storage.c | 34 ++-- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git

[PATCH v3 03/22] usb: add OTG feature options to gadget structure.

2015-06-16 Thread Li Jun
From: Macpaul Lin macp...@gmail.com Add ADP, HNP and SRP feature options and otg version to gadget structure. Signed-off-by: Macpaul Lin macp...@gmail.com Signed-off-by: Li Jun jun...@freescale.com --- include/linux/usb/gadget.h | 11 +++ 1 file changed, 11 insertions(+) diff --git

[PATCH v2 3/3] ARM: dts: Add RK3288 efuse node

2015-06-16 Thread Caesar Wang
Add the efuse node on RK3288, we can get some information when enable the efuse driver. e.g.: the CPU version, leakage. Signed-off-by: Caesar Wang w...@rock-chips.com --- Changes in v2: - Add the dts node on RK3288. arch/arm/boot/dts/rk3288.dtsi | 5 + 1 file changed, 5 insertions(+)

[PATCH v2 1/3] soc/rockchip: Add efuse bindings for Rockchip SoC efuse driver

2015-06-16 Thread Caesar Wang
Add efuse bindings for RK3066, RK3188, RK3288 and RK3368. Signed-off-by: Jianqun Xu jay...@rock-chips.com Signed-off-by: Caesar Wang w...@rock-chips.com --- Changes in v2: - Change the document decription. .../devicetree/bindings/fuse/rockchip,rockchip-efuse.txt | 14 ++ 1 file

[PATCH v3 19/22] usb: gadget: ncm: init usb_otg_descriptor via usb_otg_descriptor_add

2015-06-16 Thread Li Jun
Use usb_otg_descriptor_add to allocate and initialize usb_otg_descriptor, free it while composite unbind. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/gadget/legacy/ncm.c | 33 +++-- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git

[PATCH v3 14/22] usb: gadget: cdc2: init usb_otg_descriptor via usb_otg_descriptor_add

2015-06-16 Thread Li Jun
Use usb_otg_descriptor_add to allocate and initialize usb_otg_descriptor, free it while composite unbind. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/gadget/legacy/cdc2.c | 34 +++--- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git

[PATCH v3 15/22] usb: gadget: g_ffs: init usb_otg_descriptor via usb_otg_descriptor_add

2015-06-16 Thread Li Jun
Use usb_otg_descriptor_add to allocate and initialize usb_otg_descriptor, free it while composite unbind. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/gadget/legacy/g_ffs.c | 34 +++--- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git

[PATCH v3 21/22] usb: gadget: serial: init usb_otg_descriptor via usb_otg_descriptor_add

2015-06-16 Thread Li Jun
Use usb_otg_descriptor_add to allocate and initialize usb_otg_descriptor, free it while composite unbind. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/gadget/legacy/serial.c | 34 -- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git

[PATCH v3 20/22] usb: gadget: printer: init usb_otg_descriptor via usb_otg_descriptor_add

2015-06-16 Thread Li Jun
Use usb_otg_descriptor_add to allocate and initialize usb_otg_descriptor, free it while composite unbind. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/gadget/legacy/printer.c | 30 +++--- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git

[PATCH v3 22/22] usb: gadget: zero: init usb_otg_descriptor via usb_otg_descriptor_add

2015-06-16 Thread Li Jun
Use usb_otg_descriptor_add to allocate and initialize usb_otg_descriptor, free it while composite unbind. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/gadget/legacy/zero.c | 37 +++-- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git

[PATCH v3 16/22] usb: gadget: hid: init usb_otg_descriptor via usb_otg_descriptor_add

2015-06-16 Thread Li Jun
Use usb_otg_descriptor_add to allocate and initialize usb_otg_descriptor, free it while composite unbind. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/gadget/legacy/hid.c | 35 --- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git

[PATCH v3 18/22] usb: gadget: multi: init usb_otg_descriptor via usb_otg_descriptor_add

2015-06-16 Thread Li Jun
Use usb_otg_descriptor_add to allocate and initialize usb_otg_descriptor, free it while composite unbind. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/gadget/legacy/multi.c | 49 +++ 1 file changed, 34 insertions(+), 15 deletions(-) diff --git

Re: [PATCH v3 04/22] usb: gadget: composite: add USB_DT_OTG request handling

2015-06-16 Thread Roger Quadros
On Tue, 16 Jun 2015 14:51:54 +0800 Li Jun jun...@freescale.com wrote: From: Macpaul Lin macp...@gmail.com Copy usb_otg_descriptor from config's descriptor if host requests USB_DT_OTG. Signed-off-by: Macpaul Lin macp...@gmail.com Signed-off-by: Li Jun jun...@freescale.com Reviewed-by:

Re: [PATCH v4 2/2] cap11xx: add LED support

2015-06-16 Thread Jacek Anaszewski
On 06/16/2015 04:46 AM, Matt Ranostay wrote: Several cap11xx variants have LEDs that be can be controlled, this patchset implements this functionality. Signed-off-by: Matt Ranostay mranos...@gmail.com --- drivers/input/keyboard/cap11xx.c | 128 ++- 1 file

[PATCH v3 00/22] usb gadget update for OTG 2.0

2015-06-16 Thread Li Jun
Changes for v3: - For simple, add one more otg descriptor structure: usb_otg20_descriptor for OTG 2.0 and later release as Alan suggested. - Use disable flags for OTG features property. - Move out memory allocation from usb_otg_descriptor_init() to its caller. Changes for v2: - Use

[PATCH v3 08/22] usb: chipidea: update ci_otg_is_fsm_mode conditions

2015-06-16 Thread Li Jun
After introduce usb otg properties, update ci_otg_is_fsm_mode conditions to be depending on both usb hardware properties and usb driver config, also resolve a compile issue in debug.c after the API change. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/chipidea/ci.h| 3 ++-

Re: [PATCH v3 01/22] usb: add usb_otg20_descriptor for OTG 2.0 and above

2015-06-16 Thread Roger Quadros
On Tue, 16 Jun 2015 14:51:51 +0800 Li Jun jun...@freescale.com wrote: From: Macpaul Lin macp...@gmail.com OTG 2.0 introduces bcdOTG in otg descriptor to identify the OTG and EH supplement release number with which the OTG device is compliant, this patch adds structure usb_otg20_descriptor

Re: [PATCH 1/4] mfd: 88pm800: add device tree support

2015-06-16 Thread Vaibhav Hiremath
On Monday 01 June 2015 02:08 PM, Lee Jones wrote: On Sat, 30 May 2015, Vaibhav Hiremath wrote: Thanks for your review. and sorry for delayed response. Add DT support to the 88pm800 driver along with below properties - marvell,88pm800-irq-write-clear : Idicates whether

  1   2   >