Re: [PATCH v2] mtd:spi-nor: Add Altera EPCQ Driver

2015-03-09 Thread Rafał Miłecki
On 10 March 2015 at 07:11, Viet Nga Dao wrote: > On Mon, Mar 9, 2015 at 2:31 PM, Rafał Miłecki wrote: >> On 11 February 2015 at 05:53, Viet Nga Dao wrote: >>> /* NOTE: double check command sets and memory organization when you add >>> * more nor chips. This current list focusses on newer chi

Re: [PATCH 1/5] soc: mediatek: Add SMI driver

2015-03-09 Thread Yingjoe Chen
On Mon, 2015-03-09 at 22:56 +0100, Arnd Bergmann wrote: > On Monday 09 March 2015 11:26:52 Yingjoe Chen wrote: > > On Fri, 2015-03-06 at 18:48 +0800, yong...@mediatek.com wrote: > > > From: Yong Wu > > > > > > This patch add SMI(Smart Multimedia Interface) driver. This driver is > > > respons

Re: [PATCH 1/5] soc: mediatek: Add SMI driver

2015-03-09 Thread Yingjoe Chen
On Mon, 2015-03-09 at 18:59 +0100, Paul Bolle wrote: > Hi Yong, > > Yong Wu schreef op ma 09-03-2015 om 19:57 [+0800]: > > On Fri, 2015-03-06 at 12:30 +0100, Paul Bolle wrote: > > > On Fri, 2015-03-06 at 18:48 +0800, yong...@mediatek.com wrote: > > > > --- a/drivers/soc/mediatek/Kconfig > > > > ++

Re: [PATCH v2] mtd:spi-nor: Add Altera EPCQ Driver

2015-03-09 Thread Viet Nga Dao
Hi Rafal, Thanks for your review. On Mon, Mar 9, 2015 at 2:31 PM, Rafał Miłecki wrote: > Hi Viet, > > I'm not too active in mtd subsystem, so I didn't notice your patch > earlier. However I would like to share few comments. > > On 11 February 2015 at 05:53, Viet Nga Dao wrote: >> From: Viet Nga

Re: [PATCH 2/5] iommu/mediatek: Add mt8173 IOMMU driver

2015-03-09 Thread Tomasz Figa
On Tue, Mar 10, 2015 at 12:41 PM, Yingjoe Chen wrote: > On Tue, 2015-03-10 at 02:00 +0900, Tomasz Figa wrote: >> On Mon, Mar 9, 2015 at 11:46 PM, Yingjoe Chen >> wrote: >> > On Mon, 2015-03-09 at 20:11 +0900, Tomasz Figa wrote: >> > <...> >> >> > +/* >> >> > + * pimudev is a global var for dma_a

Re: [PATCH 2/5] iommu/mediatek: Add mt8173 IOMMU driver

2015-03-09 Thread Yingjoe Chen
On Tue, 2015-03-10 at 02:00 +0900, Tomasz Figa wrote: > On Mon, Mar 9, 2015 at 11:46 PM, Yingjoe Chen > wrote: > > On Mon, 2015-03-09 at 20:11 +0900, Tomasz Figa wrote: > > <...> > >> > +/* > >> > + * pimudev is a global var for dma_alloc_coherent. > >> > + * It is not accepatable, we will delete

Re: [PATCH v2 3/4] cpufreq: mediatek: add Mediatek cpufreq driver

2015-03-09 Thread Viresh Kumar
On 6 March 2015 at 11:19, Pi-Cheng Chen wrote: > On 5 March 2015 at 17:55, Viresh Kumar wrote: > About putting > those stuff into regulator driver, I think you mean creating a > "virtual regulator > device" and put all the voltage controlling complex into the driver, right? > Maybe it's a good i

[PATCHv v6 1/9] arm64: dts: exynos: Add dts files for 64-bit Exynos5433 SoC

2015-03-09 Thread Chanwoo Choi
This patch adds new Exynos5433 dtsi to support 64-bit Exynos5433 SoC based on Octal core CPUs (quad Cortex-A57 and quad Cortex-A53). And Exynos5433 supports PSCI (Power State Coordination Interface) v0.1. This patch includes following dt node to support Exynos5433 SoC: 1. Octa core for big.LITTLE

[PATCH v6 2/9] arm64: dts: exynos: Add MSHC dt node for Exynos5433

2015-03-09 Thread Chanwoo Choi
From: Jaehoon Chung This patch adds MSHC (Mobile Storage Host Controller) dt node for Exynos5433 SoC. MSHC is an interface between the system the SD/MMC card. Cc: Kukjin Kim Cc: Mark Rutland Cc: Marc Zyngier Cc: Arnd Bergmann Cc: Olof Johansson Cc: Catalin Marinas Cc: Will Deacon Signed-o

[PATCH v6 5/9] arm64: dts: exynos: Add RTC and ADC dt node for Exynos5433 SoC

2015-03-09 Thread Chanwoo Choi
This patch adds RTC (Real Time Clock) dt node for Exynos5433 SoC and adds ADC dt node for Exynos5433 SoC. The c1b501564c98a94b4(iio: adc: exynos_adc: Add support for exynos7) commit supports the ADC for Exynos7. Exynos5433's ADC IP is the same with Exynos7's ADC IP. Exynos5433 has a little differen

[PATCH v6 3/9] arm64: dts: exynos: Add SPI/PDMA dt node for Exynos5433

2015-03-09 Thread Chanwoo Choi
This patch adds SPI (Serial Peripheral Interface) dt node for Exynos5433 SoC. SPI transfers serial data by using various peripherals. SPI includes 8-bit/16-bit/32-bit shift registers to transmit and receive data. PDMA is used for SPI communication. Cc: Kukjin Kim Cc: Mark Rutland Cc: Marc Zyngie

[PATCH v6 9/9] arm64: dts: exynos: Add thermal-zones dt node for Exynos5433 SoC

2015-03-09 Thread Chanwoo Choi
This patch adds the thermal-zones devicetree node for Exynos5433 SoC. The thermal-zones has five thermal-zones and then each thermal-zone contains each thermal-sensor to monitor the temperature of own IP. The {atlas0|apollo}_ thermal zone have the eight trip-points for interrupt method to detect th

[PATCH v6 4/9] arm64: dts: exynos: Add PMU dt node for Exynos5433

2015-03-09 Thread Chanwoo Choi
This patch adds PMU (Power Management Unit) dt node for Exynos5433 SoC and set the source clock for CLKOUT register as xxti . Cc: Kukjin Kim Signed-off-by: Chanwoo Choi [ideal.song: Add the setting of CLKOUT register] Signed-off-by: Inha Song Acked-by: Inki Dae --- Documentation/devicetree/bi

[PATCH v6 8/9] arm64: dts: exynos: Add TMU sensor dt node for Exynos5433 SoC

2015-03-09 Thread Chanwoo Choi
This patch adds the TMU (Thermal Management Unit) sensor devicetree node for Exynos5433. The Exynos5433 includes the five temperature sensors as following: - two temperature sensor for Cortex-A57 (ATLAS) - one temperature sensor for Cortex-A53 (APOLLO) - one temperature sensor for G3D IP - one temp

[PATCH v6 0/9] arm64: Add the support for new Exynos5433 SoC

2015-03-09 Thread Chanwoo Choi
This patchset adds new 64-bit Exynos5433 Samsung SoC which contains quad Cortex-A57 and quad Cortex-A53. It is desigend with the 20nm low power process. Depends on: - This patch-set has the dependency on following four patch-set. The Exynos5433 clock controller patch-set[1][2] was merged by Michae

[PATCH v6 6/9] arm64: dts: exynos: Add ADMA dt node for Exynos5433 SoC

2015-03-09 Thread Chanwoo Choi
From: Inha Song This patch adds ADMA (Advanced DMA) device tree node for Exynos5433 SoC. In Exynos5433 SoC, ADMA is used for I2S audio interface. Cc: Kukjin Kim Signed-off-by: Inha Song Acked-by: Inki Dae --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 11 +++ 1 file changed, 11 ins

[PATCH v6 7/9] arm64: dts: exynos: Add I2S dt node for Exynos5433 SoC

2015-03-09 Thread Chanwoo Choi
From: Inha Song This patch adds I2S device tree node for Exynos5433 SoC. In Exynos5433 SoC, I2S0 is used for audio interface. Signed-off-by: Inha Song Signed-off-by: Chanwoo Choi Acked-by: Inki Dae --- arch/arm64/boot/dts/exynos/exynos5433.dtsi | 17 + 1 file changed, 17 inse

Re: [PATCH v2 3/4] cpufreq: mediatek: add Mediatek cpufreq driver

2015-03-09 Thread Pi-Cheng Chen
On 10 March 2015 at 00:28, Russell King - ARM Linux wrote: > On Wed, Mar 04, 2015 at 04:49:15PM +0800, pi-cheng.chen wrote: >> +static int cpu_opp_table_get_freq_index(unsigned int freq) >> +{ >> + struct cpu_opp_table *opp_tbl = dvfs_info->opp_tbl; >> + int i; >> + >> + for (i = 0; op

Re: [PATCH] clk: mediatek: Export CPU mux clocks for CPU frequency control

2015-03-09 Thread Pi-Cheng Chen
On 5 March 2015 at 15:42, Sascha Hauer wrote: > > +Cc Viresh Kumar > > Viresh, this is the patch for the underlying clocks for the Mediatek > cpufreq driver. > > On Thu, Mar 05, 2015 at 10:43:21AM +0800, Pi-Cheng Chen wrote: >> Hi Sascha, >> >> On 4 March 2015 at 19:21, Sascha Hauer wrote: >> > O

Re: [PATCH 00/15] musb: Add support for the Allwinner sunxi musb controller

2015-03-09 Thread Chen-Yu Tsai
Hi Arnd, On Tue, Mar 10, 2015 at 5:44 AM, Arnd Bergmann wrote: > On Monday 09 March 2015 21:40:13 Hans de Goede wrote: >> Hi All, >> >> This patch set has been a while in the making, so I'm very happy to present >> the end result here, and I hope everyone likes it. > > Awesome work! > >> Before t

Re: [PATCH v4] media: i2c: add support for omnivision's ov2659 sensor

2015-03-09 Thread Sakari Ailus
Hi Prabhakar, On Sun, Mar 08, 2015 at 11:33:27AM +, Lad Prabhakar wrote: > From: Benoit Parrot > > this patch adds support for omnivision's ov2659 > sensor, the driver supports following features: > 1: Asynchronous probing > 2: DT support > 3: Media controller support > > Signed-off-by: Ben

Re: [PATCH v4] media: i2c: add support for omnivision's ov2659 sensor

2015-03-09 Thread Sakari Ailus
Hi Prabhakar, On Sun, Mar 08, 2015 at 11:33:27AM +, Lad Prabhakar wrote: ... > +static struct ov2659_platform_data * > +ov2659_get_pdata(struct i2c_client *client) > +{ > + struct ov2659_platform_data *pdata; > + struct device_node *endpoint; > + int ret; > + > + if (!IS_ENABLE

Re: [PATCH v5 1/9] arm64: dts: exynos: Add dts files for 64-bit Exynos5433 SoC

2015-03-09 Thread Chanwoo Choi
Hi Mark, On 03/06/2015 09:18 PM, Chanwoo Choi wrote: > Hi, > > On 03/06/2015 08:40 PM, Mark Rutland wrote: [snip] >> I take it CPUs boot at EL2? >> >> Do the CPUs boot at EL1 or EL2? > > Unfortunately, I cannot check the secure firmware for Exynos5433 SoC. > I think

Re: [PATCH v4 1/4] PCI: Export symbols of PCI functions

2015-03-09 Thread Alex Williamson
On Mon, 2015-03-09 at 17:21 -0700, Ray Jui wrote: > Export symbols of the following PCI functions so they can be referenced > by a PCI driver compiled as a kernel loadable module: > > pci_common_swizzle > pci_create_root_bus > pci_stop_root_bus > pci_remove_root_bus > pci_assign_unassigned_bus_res

Re: [PATCH] libfdt: Add fdt_path_offset_namelen()

2015-03-09 Thread David Gibson
On Fri, Mar 06, 2015 at 10:12:38AM -0500, Peter Hurley wrote: > Properties may contain path names which are not NUL-terminated. > For example, the 'stdout-path' property allows the form 'path:options', > where the ':' character terminates the path specifier. > > Allow these path names to be used i

[PATCH v5 1/4] PCI: Export symbols of PCI functions

2015-03-09 Thread Ray Jui
Export symbols of the following PCI functions so they can be referenced by a PCI driver compiled as a kernel loadable module: pci_common_swizzle pci_create_root_bus pci_stop_root_bus pci_remove_root_bus pci_assign_unassigned_bus_resources pci_fixup_irqs Signed-off-by: Ray Jui --- drivers/pci/pc

[PATCH v5 4/4] ARM: dts: enable PCIe support for Cygnus

2015-03-09 Thread Ray Jui
Add PCIe device nodes in bcm-cygnus.dtsi but keep them disabled there. Only enable them for bcm958300k where PCIe interfaces are populated Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 42 + arch/arm/boot/dts/bcm9

[PATCH v5 3/4] pci: iproc: Add Broadcom iProc PCIe support

2015-03-09 Thread Ray Jui
This adds the support for Broadcom iProc PCIe controller pcie-iproc.c servers as the common core driver, and front-end bus interface needs to be added to support different bus interfaces pcie-iproc-pltfm.c contains the support for the platform bus interface Signed-off-by: Ray Jui Reviewed-by: S

[PATCH v5 2/4] pci: iProc: define iProc PCIe platform bus binding

2015-03-09 Thread Ray Jui
Document the Broadcom iProc PCIe platform interface device tree binding Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- .../devicetree/bindings/pci/brcm,iproc-pcie.txt| 63 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree/bindings/pc

[PATCH v5 0/4] pci: iproc: Add Broadcom iProc PCIe support

2015-03-09 Thread Ray Jui
This patch series adds the support for Broadcom iProc PCIe controller pcie-iproc.c servers as the common core driver, and front-end bus interface needs to be added to support different bus interfaces pcie-iproc-pltfm.c contains the support for the platform bus interface Changes from v4: - iProc

Re: [PATCH/RFC v12 04/19] dt-binding: leds: Add common LED DT bindings macros

2015-03-09 Thread Bryan Wu
On Wed, Mar 4, 2015 at 11:56 PM, Jacek Anaszewski wrote: > On 03/04/2015 05:14 PM, Jacek Anaszewski wrote: >> >> Add macros for defining boost mode and trigger type properties >> of flash LED devices. >> >> Signed-off-by: Jacek Anaszewski >> Acked-by: Kyungmin Park >> Cc: Bryan Wu >> Cc: Richar

Re: [PATCH/RFC v12 03/19] Documentation: leds: Add description of LED Flash class extension

2015-03-09 Thread Bryan Wu
On Wed, Mar 4, 2015 at 8:14 AM, Jacek Anaszewski wrote: > The documentation being added contains overall description of the > LED Flash Class and the related sysfs attributes. > Thanks, merged! -Bryan > Signed-off-by: Jacek Anaszewski > Acked-by: Kyungmin Park > Cc: Bryan Wu > Cc: Richard Pu

Re: [PATCH v4 3/4] pci: iproc: Add Broadcom iProc PCIe support

2015-03-09 Thread Ray Jui
Sorry. I made a mistake. Please IGNORE this patch set. I'll re-send it again with proper module changes applied. Ray On 3/9/2015 5:21 PM, Ray Jui wrote: > This adds the support for Broadcom iProc PCIe controller > > pcie-iproc.c servers as the common core driver, and front-end bus > interface ne

[PATCH v4 1/4] PCI: Export symbols of PCI functions

2015-03-09 Thread Ray Jui
Export symbols of the following PCI functions so they can be referenced by a PCI driver compiled as a kernel loadable module: pci_common_swizzle pci_create_root_bus pci_stop_root_bus pci_remove_root_bus pci_assign_unassigned_bus_resources pci_fixup_irqs Signed-off-by: Ray Jui --- drivers/pci/pc

[PATCH v4 2/4] pci: iProc: define iProc PCIe platform bus binding

2015-03-09 Thread Ray Jui
Document the Broadcom iProc PCIe platform interface device tree binding Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- .../devicetree/bindings/pci/brcm,iproc-pcie.txt| 63 1 file changed, 63 insertions(+) create mode 100644 Documentation/devicetree/bindings/pc

[PATCH v4 4/4] ARM: dts: enable PCIe support for Cygnus

2015-03-09 Thread Ray Jui
Add PCIe device nodes in bcm-cygnus.dtsi but keep them disabled there. Only enable them for bcm958300k where PCIe interfaces are populated Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi | 42 + arch/arm/boot/dts/bcm9

[PATCH v4 3/4] pci: iproc: Add Broadcom iProc PCIe support

2015-03-09 Thread Ray Jui
This adds the support for Broadcom iProc PCIe controller pcie-iproc.c servers as the common core driver, and front-end bus interface needs to be added to support different bus interfaces pcie-iproc-pltfm.c contains the support for the platform bus interface Signed-off-by: Ray Jui Reviewed-by: S

[PATCH v4 0/4] pci: iproc: Add Broadcom iProc PCIe support

2015-03-09 Thread Ray Jui
This patch series adds the support for Broadcom iProc PCIe controller pcie-iproc.c servers as the common core driver, and front-end bus interface needs to be added to support different bus interfaces pcie-iproc-pltfm.c contains the support for the platform bus interface Changes from v3: - Expor

Re: [PATCH/RFC v12 02/19] leds: flash: document sysfs interface

2015-03-09 Thread Bryan Wu
On Wed, Mar 4, 2015 at 8:14 AM, Jacek Anaszewski wrote: > Add a documentation of LED Flash class specific sysfs attributes. > Thanks, merged! -Bryan > Signed-off-by: Jacek Anaszewski > Acked-by: Kyungmin Park > Cc: Bryan Wu > Cc: Richard Purdie > --- > Documentation/ABI/testing/sysfs-class-

Re: [PATCH v2 2/2] ARM: dts: am33xx: Move wkup_m3 node to soc node and add ranges

2015-03-09 Thread Suman Anna
Tony, On 03/05/2015 10:57 AM, Tony Lindgren wrote: > * Suman Anna [150305 08:47]: >> On 03/05/2015 09:40 AM, Tony Lindgren wrote: >>> * Dave Gerlach [150304 20:14]: >> Dave, >> >> Looks like the commit message disappeared during your patch preparation. >> Signed-off-by: Suman Anna Sig

Re: [PATCH v3 2/3] pci: iproc: Add Broadcom iProc PCIe support

2015-03-09 Thread Ray Jui
Hi Arnd, On 3/9/2015 5:35 AM, Arnd Bergmann wrote: > On Friday 06 March 2015 10:00:34 Ray Jui wrote: >>> >> >> Although I have not tested it, but to my best knowledge there shouldn't >> be any technical issue by making the PCIe iProc driver a loadable module >> and installing the module later afte

Re: [linux-sunxi] [PATCH 09/15] ARM: dts: sun4i: Add USB Dual Role Controller

2015-03-09 Thread Julian Calaby
Hi Hans, On Tue, Mar 10, 2015 at 7:40 AM, Hans de Goede wrote: > Add a node for the otg/drc usb controller to sun4i-a10.dtsi. > > Signed-off-by: Hans de Goede > --- > arch/arm/boot/dts/sun4i-a10.dtsi | 12 > drivers/usb/musb/Kconfig | 1 + > 2 files changed, 13 insertions(

Re: [PATCH/RFC v12 01/19] leds: flash: Remove synchronized flash strobe feature

2015-03-09 Thread Bryan Wu
On Wed, Mar 4, 2015 at 8:14 AM, Jacek Anaszewski wrote: > Synchronized flash strobe feature has been considered not fitting > for LED subsystem sysfs interface and thus is being removed. > OK, I will merge this. -Bryan > Signed-off-by: Jacek Anaszewski > Acked-by: Kyungmin Park > Cc: Bryan W

[PATCH 3/3] ARM: dts: rockchip: add hdmi analog power supplies to rk3288 boards

2015-03-09 Thread Heiko Stuebner
Add the recently added hdmi power supplies to evb and firefly boards. Signed-off-by: Heiko Stuebner --- arch/arm/boot/dts/rk3288-evb.dtsi | 2 ++ arch/arm/boot/dts/rk3288-firefly.dtsi | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm/boot/dt

[PATCH 2/3] drm/bridge: dw-hdmi: support optional supply regulators

2015-03-09 Thread Heiko Stuebner
At least the Rockchip variant of the dw_hdmi can have controllable power supplies providing 1.0 and 1.8V. Therefore add the possibility for the generic bridge driver to enable supplies provided by the hw-specific drivers. Signed-off-by: Heiko Stuebner --- .../devicetree/bindings/drm/bridge/dw_h

[PATCH 1/3] regulator: don't emit errors in {devm_}regulator_bulk_get when defering

2015-03-09 Thread Heiko Stuebner
When {devm_}regulator_get returns -EPROBE_DEFER the driver in question will try probing again at a later time. So don't spam the log with failure messages as this is an expected result of probe ordering. Signed-off-by: Heiko Stuebner --- drivers/regulator/core.c | 5 +++-- drivers/regulator/de

[PATCH 0/3] add power-supply support to dw_hdmi

2015-03-09 Thread Heiko Stuebner
At least the Rockchip variant of the dw_hdmi should control its supplying regulators. A cursory glance at the imx manual didn't any equivalent there, so I'm not sure if there are similar controllable regulators present. Patch1 is only a small fix to keep {devm_}regulator_bulk_get quiet in the defe

Re: [PATCH v5 3/3] ARM: dts: igep00x0: add wl18xx bindings

2015-03-09 Thread Tony Lindgren
* Eliad Peller [150309 14:03]: > On Mon, Mar 9, 2015 at 9:50 PM, Arnd Bergmann wrote: > > On Monday 09 March 2015 17:36:42 Eliad Peller wrote: > >> --- a/arch/arm/boot/dts/omap3-igep0030-rev-g.dts > >> +++ b/arch/arm/boot/dts/omap3-igep0030-rev-g.dts > >> @@ -64,4 +64,13 @@ > >> vmmc-supp

Re: [PATCH v2 04/18] clocksource: Add ARM System timer driver

2015-03-09 Thread Uwe Kleine-König
Hello, On Mon, Mar 09, 2015 at 10:12:32PM +0100, Paul Bolle wrote: > On Wed, 2015-03-04 at 13:08 +0100, Maxime Coquelin wrote: > > This is because I added also support for COMPILE_TEST coverage as per > > Uwe advice, > > and thought it was necessary to have an entry for this. > > Maybe I'm just wr

Re: [RFC PATCH v15 01/11] ARM: cpuidle: Register per cpuidle device

2015-03-09 Thread Andy Gross
On Mon, Mar 09, 2015 at 03:40:06PM -0600, Lina Iyer wrote: > >>for_each_possible_cpu(cpu) { > >>+ > >>ret = arm_cpuidle_init(cpu); > >>+ /* > >>+* This cpu does not support any idle states > >>+*/ > >>+ if (ret == -ENOSYS) > >>+

Re: [PATCH 1/5] soc: mediatek: Add SMI driver

2015-03-09 Thread Arnd Bergmann
On Monday 09 March 2015 11:26:52 Yingjoe Chen wrote: > On Fri, 2015-03-06 at 18:48 +0800, yong...@mediatek.com wrote: > > From: Yong Wu > > > > This patch add SMI(Smart Multimedia Interface) driver. This driver is > > responsible to enable/disable iommu and control the clocks of each > > loca

Re: [PATCH 1/5] soc: mediatek: Add SMI driver

2015-03-09 Thread Arnd Bergmann
On Monday 09 March 2015 18:59:37 Paul Bolle wrote: > Hi Yong, > > Yong Wu schreef op ma 09-03-2015 om 19:57 [+0800]: > > On Fri, 2015-03-06 at 12:30 +0100, Paul Bolle wrote: > > > On Fri, 2015-03-06 at 18:48 +0800, yong...@mediatek.com wrote: > > > > --- a/drivers/soc/mediatek/Kconfig > > > > +++

Re: [PATCH 05/15] musb: Do not use musb_read[b|w] / _write[b|w] wrappers in generic fifo functions

2015-03-09 Thread Arnd Bergmann
On Monday 09 March 2015 21:40:18 Hans de Goede wrote: > The generic fifo functions already use non wrapped accesses in various > cases through the iowrite#_rep functions, and all platforms which override > the default musb_read[b|w] / _write[b|w] functions also provide their own > fifo access funct

Re: [PATCH 02/15] phy-sun4i-usb: Add a helper function to update the iscr register

2015-03-09 Thread Arnd Bergmann
On Monday 09 March 2015 21:40:15 Hans de Goede wrote: > +void sun4i_usb_phy_update_iscr(struct phy *_phy, u32 clr, u32 set) > +{ > + struct sun4i_usb_phy *phy = phy_get_drvdata(_phy); > + struct sun4i_usb_phy_data *data = to_sun4i_usb_phy_data(phy); > + u32 iscr; > + > + isc

Re: [PATCH 00/15] musb: Add support for the Allwinner sunxi musb controller

2015-03-09 Thread Arnd Bergmann
On Monday 09 March 2015 21:40:13 Hans de Goede wrote: > Hi All, > > This patch set has been a while in the making, so I'm very happy to present > the end result here, and I hope everyone likes it. Awesome work! > Before talking about merging this there are 2 things which I would like to > point

Re: [RFC PATCH v15 01/11] ARM: cpuidle: Register per cpuidle device

2015-03-09 Thread Lina Iyer
On Mon, Mar 09 2015 at 15:29 -0600, Andy Gross wrote: On Mon, Mar 09, 2015 at 09:16:36AM -0600, Lina Iyer wrote: From: Daniel Lezcano Some architectures have some cpus which does not support idle states. Let the underlying low level code to return -ENOSYS when it is not possible to set an idl

Re: [PATCH] of: Kconfig: Let OF_UNITTEST depend on "I2C=y" and "I2C_MUX=y"

2015-03-09 Thread Arnd Bergmann
On Thursday 05 March 2015 09:06:54 Geert Uytterhoeven wrote: > On Wed, Mar 4, 2015 at 8:49 PM, Arnd Bergmann wrote: > > --- a/drivers/of/unittest.c > > +++ b/drivers/of/unittest.c > > @@ -979,7 +979,7 @@ static int of_path_platform_device_exists(const char > > *path) > > return pdev != NU

Re: [RFC PATCH v15 01/11] ARM: cpuidle: Register per cpuidle device

2015-03-09 Thread Andy Gross
On Mon, Mar 09, 2015 at 09:16:36AM -0600, Lina Iyer wrote: > From: Daniel Lezcano > > Some architectures have some cpus which does not support idle states. > > Let the underlying low level code to return -ENOSYS when it is not > possible to set an idle state. > > Signed-off-by: Daniel Lezcano

Re: [PATCH 2/4] soc: Mediatek: Add SCPSYS power domain driver

2015-03-09 Thread Kevin Hilman
Sascha Hauer writes: > Signed-off-by: Sascha Hauer A bit of a changelog here would be useful describing this driver, that it's only covering part of the device (e.g. power controller) with more to come, dependency on the syscon driver, etc. > --- > drivers/soc/mediatek/Kconfig |

Re: [PATCH v2 04/18] clocksource: Add ARM System timer driver

2015-03-09 Thread Paul Bolle
On Wed, 2015-03-04 at 13:08 +0100, Maxime Coquelin wrote: > This is because I added also support for COMPILE_TEST coverage as per > Uwe advice, > and thought it was necessary to have an entry for this. > Maybe I'm just wrong? I missed that you added COMPILE_TEST. A quick scan of your idea doesn't

Re: [PATCH v5 3/3] ARM: dts: igep00x0: add wl18xx bindings

2015-03-09 Thread Eliad Peller
On Mon, Mar 9, 2015 at 9:50 PM, Arnd Bergmann wrote: > On Monday 09 March 2015 17:36:42 Eliad Peller wrote: >> --- a/arch/arm/boot/dts/omap3-igep0030-rev-g.dts >> +++ b/arch/arm/boot/dts/omap3-igep0030-rev-g.dts >> @@ -64,4 +64,13 @@ >> vmmc-supply = <&lbep5clwmc_wlen>; >> bus-widt

Re: [PATCH v5 1/8] PM / Domains: Add DT bindings for power-on/off latencies

2015-03-09 Thread Kevin Hilman
Hi Geert, On Mon, Nov 17, 2014 at 5:30 AM, Geert Uytterhoeven wrote: > PM domain power on/off-latencies are properties of the hardware. > In legacy code, they're specified from platform code. > On DT platforms, their values should come from DT. Any plans to refresh/resend this patch now that the

Re: [PATCH v3 2/2] leds: add Qualcomm PM8941 WLED driver

2015-03-09 Thread Bryan Wu
On Tue, Feb 24, 2015 at 7:49 PM, Bjorn Andersson wrote: > From: Courtney Cavin > > This adds support for the WLED ('White' LED) block on Qualcomm's > PM8941 PMICs. > > Signed-off-by: Courtney Cavin > Signed-off-by: Bjorn Andersson > --- > > The details surrounding the OVP spike issue that Steph

Re: [PATCH v2] crypto: omap-sham: Check for return value from pm_runtime_get_sync

2015-03-09 Thread Pavel Machek
On Sun 2015-03-08 11:01:01, Pali Rohár wrote: > Function pm_runtime_get_sync could fail and we need to check return > value to prevent kernel crash. > > Signed-off-by: Pali Rohár Acked-by: Pavel Machek -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin

[PATCH v6 8/8] ARM: dts: cygnus: enable GPIO based hook detection

2015-03-09 Thread Ray Jui
This enables GPIO based phone hook detection for Broadcom BCM911360 phone factor board (bcm911360_entphn) Signed-off-by: Ray Jui --- arch/arm/boot/dts/bcm911360_entphn.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/bcm911360_entphn.dts b/arch/arm/boot

[PATCH v6 2/8] pinctrl: Broadcom Cygnus pinctrl device tree binding

2015-03-09 Thread Ray Jui
Device tree binding documentation for Broadcom Cygnus IOMUX driver Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- .../bindings/pinctrl/brcm,cygnus-pinmux.txt| 132 1 file changed, 132 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinct

Re: [PATCH 1/4] dt-bindings: soc: Add documentation for the MediaTek SCPSYS unit

2015-03-09 Thread Kevin Hilman
Sascha Hauer writes: > This adds documentation for the MediaTek SCPSYS unit found in MT8173 SoCs. Curious if this IP unique to the 8173? or maybe also used on 8135? ... > Signed-off-by: Sascha Hauer > --- > .../devicetree/bindings/soc/mediatek/scpsys.txt| 32 > ++ >

[PATCH 06/15] musb: Fix platform code being unable to override ep access ops

2015-03-09 Thread Hans de Goede
musb-core was setting the ops to the default indexed or flat handlers after checking for platform overrides. Reverse the order of this so that platform overrides actually work. Signed-off-by: Hans de Goede --- drivers/usb/musb/musb_core.c | 13 ++--- 1 file changed, 6 insertions(+), 7 de

[PATCH v6 1/8] pinctrl: bcm: consolidate Broadcom pinctrl drivers

2015-03-09 Thread Ray Jui
Consolidate Broadcom pinctrl drivers into drivers/pinctrl/bcm/* Signed-off-by: Ray Jui --- drivers/pinctrl/Kconfig | 19 +-- drivers/pinctrl/Makefile |3 +-- drivers/pinctrl/bcm/Kconfig | 21 +

[PATCH v6 7/8] ARM: dts: enable GPIO for Broadcom Cygnus

2015-03-09 Thread Ray Jui
This enables all 3 GPIO controllers including the ASIU GPIO, the chipcommonG GPIO, and the ALWAYS-ON GPIO, for Broadcom Cygnus SoC Signed-off-by: Ray Jui Reviewed-by: Scott Branden Tested-by: Dmitry Torokhov --- arch/arm/boot/dts/bcm-cygnus.dtsi | 30 ++ 1 file ch

Re: [RFC] Mediatek SCPSYS power domain support

2015-03-09 Thread Kevin Hilman
Sascha Hauer writes: > s series adds support for the MediaTek SCPSYS unit. > > The SCPSYS unit handles several power management related tasks such > as thermal measurement, DVFS, interrupt filter and low level sleep > control. > > The initial support only contains the generic power domain handlin

[PATCH v6 6/8] pinctrl: cygnus: add gpio/pinconf driver

2015-03-09 Thread Ray Jui
This adds the initial support of the Broadcom Cygnus GPIO/PINCONF driver that supports all 3 GPIO controllers on Cygnus including the ASIU GPIO controller, the chipCommonG GPIO controller, and the always-on GPIO controller. Basic PINCONF configurations such as bias pull up/down, and drive strength

[PATCH v6 4/8] ARM: dts: enable IOMUX for Broadcom Cygnus

2015-03-09 Thread Ray Jui
This enables the IOMUX support for Broadcom Cygnus SoC Signed-off-by: Ray Jui Tested-by: Dmitry Torokhov --- arch/arm/boot/dts/bcm-cygnus.dtsi |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/boot/dts/bcm-cygnus.dtsi index ff5fb6a..1cbae

[PATCH 12/15] ARM: dts: sun4i: Enable USB DRC on Chuwi V7 CW0825

2015-03-09 Thread Hans de Goede
Enable the otg/drc usb controller on the Chuwi V7 CW0825 tablet. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts | 31 + 1 file changed, 31 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10-chuwi-v7-cw0825.dts b/arch/arm/boot/dts/su

[PATCH v6 5/8] pinctrl: Cygnus: define Broadcom Cygnus GPIO/PINCONF binding

2015-03-09 Thread Ray Jui
Document the GPIO/PINCONF device tree binding for Broadcom Cygnus SoC Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- .../bindings/pinctrl/brcm,cygnus-gpio.txt | 98 1 file changed, 98 insertions(+) create mode 100644 Documentation/devicetree/bindings/pin

[PATCH v6 0/8] Add pinctrl support to Broadcom Cygnus SoC

2015-03-09 Thread Ray Jui
This patchset contains the pinmux (IOMUX) and GPIO/PINCONF support for Broadcom Cygnus SoC. The Cygnus IOMUX controller supports group based mux configuration and allows certain pins to be muxed to GPIO function individually. The IOMUX controller is supported by the pinctrl-cygnus-mux.c driver. C

[PATCH 11/15] ARM: dts: sun7i: Add USB Dual Role Controller

2015-03-09 Thread Hans de Goede
From: Roman Byshko Add a node for the otg/drc usb controller to sun7i-a20.dtsi Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun7i-a20.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi index fb56a1d..

[PATCH 14/15] ARM: dts: sun7i: Enable USB DRC on Cubietruck

2015-03-09 Thread Hans de Goede
From: Roman Byshko Enable the otg/drc usb controller on the cubietruck. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7

[PATCH v6 3/8] pinctrl: cygnus: add initial IOMUX driver support

2015-03-09 Thread Ray Jui
This adds the initial driver support for the Broadcom Cygnus IOMUX controller. The Cygnus IOMUX controller supports group based mux configuration but allows certain pins to be muxed to GPIO individually Signed-off-by: Ray Jui Reviewed-by: Scott Branden Tested-by: Dmitry Torokhov --- drivers/pi

[PATCH 15/15] ARM: dts: sun7i: Enable USB DRC on A20-OLinuxIno-Lime

2015-03-09 Thread Hans de Goede
Enable the otg/drc usb controller on the A20-OLinuxIno-Lime. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts | 29 ++ 1 file changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20-olinuxino-lime.dts b/arch/arm/boot/dts/sun7i-a

[PATCH 07/15] musb: Add support for the Allwinner sunxi musb controller

2015-03-09 Thread Hans de Goede
This is based on initial code to get the Allwinner sunxi musb controller supported by Chen-Yu Tsai and Roman Byshko. This adds support for the Allwinner sunxi musb controller in both host only and otg mode. Peripheral only mode is not supported, as no boards use that. This has been tested on a cu

[PATCH 08/15] ARM: dts: sunxi: Add syscon node for controlling SRAM mapping

2015-03-09 Thread Hans de Goede
From: Chen-Yu Tsai Allwinner SoCs have a system controller module that controls whether SRAM blocks are mapped to the CPU memory or specific peripherals. Signed-off-by: Chen-Yu Tsai [jensku...@gmail.com: duplicate syscon node to sun4i and sun5i] Signed-off-by: Jens Kuske Signed-off-by: Hans de

[PATCH 13/15] ARM: dts: sun5i: Enable USB DRC on UTOO P66

2015-03-09 Thread Hans de Goede
Enable the OTG controller on the UTOO P66 tablet. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun5i-a13-utoo-p66.dts | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts b/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts index d1d4

[PATCH 09/15] ARM: dts: sun4i: Add USB Dual Role Controller

2015-03-09 Thread Hans de Goede
Add a node for the otg/drc usb controller to sun4i-a10.dtsi. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun4i-a10.dtsi | 12 drivers/usb/musb/Kconfig | 1 + 2 files changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a1

[PATCH 03/15] musb: Make musb_write_rxfun* and musb_write_rxhub* work like their tx versions

2015-03-09 Thread Hans de Goede
For some reason the musb_write_rxfun* and musb_write_rxhub* functions had a different function prototype and some extra magic needed on the caller side compared to their tx counterparts, this commit makes them work the same as their tx counterparts. Signed-off-by: Hans de Goede --- drivers/usb/m

[PATCH 10/15] ARM: dts: sun5i: Add USB Dual Role Controller

2015-03-09 Thread Hans de Goede
Add a node for the otg/drc usb controller to sun5i-a1*.dtsi. Signed-off-by: Hans de Goede --- arch/arm/boot/dts/sun5i.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm/boot/dts/sun5i.dtsi index 97b4eb1..cf730d4 100644 --- a/arch/arm/bo

[PATCH 01/15] ARM: sunxi: Add register bit definitions for SRAM mapping syscon

2015-03-09 Thread Hans de Goede
From: Chen-Yu Tsai Signed-off-by: Chen-Yu Tsai Signed-off-by: Jens Kuske Acked-by: Lee Jones Signed-off-by: Hans de Goede --- include/linux/mfd/syscon/sun4i-sc.h | 42 + 1 file changed, 42 insertions(+) create mode 100644 include/linux/mfd/syscon/sun4i-sc

[PATCH 00/15] musb: Add support for the Allwinner sunxi musb controller

2015-03-09 Thread Hans de Goede
Hi All, This patch set has been a while in the making, so I'm very happy to present the end result here, and I hope everyone likes it. Before talking about merging this there are 2 things which I would like to point out: a) The musb controller in the sunxi SoCs uses some SRAM which needs to be m

[PATCH 04/15] musb: Make busctl_offset an io-op rather then a define

2015-03-09 Thread Hans de Goede
The Allwinner (sunxi) implementation of the musb has its busctl registers indexed by the MUSB_INDEX register rather then in a flat address space. This commit turns MUSB_BUSCTL_OFFSET from a macro into an io-op which can be overridden from the platform ops. Signed-off-by: Hans de Goede --- drive

[PATCH 05/15] musb: Do not use musb_read[b|w] / _write[b|w] wrappers in generic fifo functions

2015-03-09 Thread Hans de Goede
The generic fifo functions already use non wrapped accesses in various cases through the iowrite#_rep functions, and all platforms which override the default musb_read[b|w] / _write[b|w] functions also provide their own fifo access functions, so we can safely drop the unnecessary indirection from t

[PATCH 02/15] phy-sun4i-usb: Add a helper function to update the iscr register

2015-03-09 Thread Hans de Goede
Add sun4i_usb_phy_update_iscr() helper function to allow the otg driver to update the sun4i usb phy0 Interface Status and Control Register. Signed-off-by: Hans de Goede --- drivers/phy/phy-sun4i-usb.c | 13 + include/linux/phy/phy-sun4i-usb.h | 26 ++ 2

[PATCH v2 1/2] ARM: dts: add cubietech cubieboard4

2015-03-09 Thread tyler . baker
From: Tyler Baker Add a Cubietech Cubieboard4 device tree and instruct make to build it. This device tree has been derived from the sun9i-a80-optimus.dts as they are very similar in design[1]. Notably, I2C3 is not used on Cubieboard4 and the LED/PWM definitions will need to be updated in the futu

[PATCH v2 2/2] ARM: dts: add vendor prefix for cubietech

2015-03-09 Thread tyler . baker
From: Tyler Baker Add a cubietech vendor prefix, as it is missing. The cubietruck, cubieboard2, and cubieboard all already reference this prefix. Signed-off-by: Tyler Baker --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentati

[PATCH v2 0/2] ARM: dts: add dts files for Cubieboard4

2015-03-09 Thread tyler . baker
From: Tyler Baker This series adds basic support for the Cubietech Cubieboard4. The Cubietech Cubieboard4 is a A80 based development board with 2GB DDR3, 8GB eMMC, Micro SD, HDMI, VGA, 3.5mm audio jack. One USB OTG port and four USB 2.0 ports. The sun9i-a80-optimus device tree[1] has been used

Re: [PATCH v2 3/6] mtd: nand: vf610_nfc: add device tree bindings

2015-03-09 Thread Bill Pringlemeir
On 9 Mar 2015, ste...@agner.ch wrote: > Signed-off-by: Bill Pringlemeir > Signed-off-by: Stefan Agner > --- > .../devicetree/bindings/mtd/vf610-nfc.txt | 39 ++ > 1 file changed, 39 insertions(+) create mode 100644 > Documentation/devicetree/bindings/mtd/vf610-nfc.txt > > dif

Re: [RFC/PATCHv2 3/3] spi: dw-spi: Pointers select 16b vs. 32b DesignWare access

2015-03-09 Thread Andy Shevchenko
On Mon, Mar 9, 2015 at 9:47 PM, Thor Thayer wrote: > On 03/09/2015 01:54 PM, Andy Shevchenko wrote: > Yes, I just need the 32 bit write. I was trying to remain consistent but I > agree that only changing only writes would minimize the changes. Which is still makes me anxious. I have briefly rea

Re: [PATCH v5 3/8] pinctrl: cygnus: add initial IOMUX driver support

2015-03-09 Thread Paul Bolle
Ray Jui schreef op ma 09-03-2015 om 12:40 [-0700]: > I don't see this as an "issue" to be quite honest. (Off topic: is issue a, well, strong word? To my (non-English) mind it's rather neutral, carrying by itself less urgency than, say, problem. If I'm wrong I might have confused quite a few people

Re: [PATCH v5 3/3] ARM: dts: igep00x0: add wl18xx bindings

2015-03-09 Thread Arnd Bergmann
On Monday 09 March 2015 17:36:42 Eliad Peller wrote: > --- a/arch/arm/boot/dts/omap3-igep0030-rev-g.dts > +++ b/arch/arm/boot/dts/omap3-igep0030-rev-g.dts > @@ -64,4 +64,13 @@ > vmmc-supply = <&lbep5clwmc_wlen>; > bus-width = <4>; > non-removable; > + > + #address-cell

Re: [PATCH v5 2/3] wl18xx: add basic device-tree support

2015-03-09 Thread Arnd Bergmann
On Monday 09 March 2015 17:36:41 Eliad Peller wrote: > @@ -323,11 +388,14 @@ out: > static void wl1271_remove(struct sdio_func *func) > { > struct wl12xx_sdio_glue *glue = sdio_get_drvdata(func); > + struct wlcore_platdev_data *pdev_data = glue->core->dev.platform_data; > + st

Re: [RFC/PATCHv2 3/3] spi: dw-spi: Pointers select 16b vs. 32b DesignWare access

2015-03-09 Thread Thor Thayer
On 03/09/2015 01:54 PM, Andy Shevchenko wrote: On Mon, Mar 9, 2015 at 8:01 PM, Thor Thayer wrote: On 03/07/2015 01:52 PM, Andy Shevchenko wrote: On Sat, Mar 7, 2015 at 1:46 AM, wrote: From: Thor Thayer Altera's Arria10 SoC interconnect requires a 32 bit write for APB peripherals. Th

  1   2   3   >