Re: [PATCH v6 1/3] dma: at_xdmac: creation of the atmel eXtended DMA Controller driver

2014-10-16 Thread Ludovic Desroches
On Thu, Oct 16, 2014 at 09:42:33PM +0530, Vinod Koul wrote: > On Thu, Oct 16, 2014 at 04:10:48PM +0200, Ludovic Desroches wrote: > > > This is pretty odd, I dont see a reason why we can have proper case values > > > and converted ones. It would have made sense if we use this for conversion > > > bu

Re: [PATCHv3] arm: dts: socfpga: Add SPI nodes to SOCFPGA DT.

2014-10-16 Thread Steffen Trumtrar
Hi! On Thu, Oct 16, 2014 at 05:07:31PM -0500, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > Add 2 SPI nodes to SOCFPGA device tree. > > Signed-off-by: Thor Thayer > --- > v2: Remove extra files. Move SPIDEV into board specific file. > > v3: Remove dts file since SPIDEV is not a

Re: [PATCH v11 0/3] Add drm driver for Rockchip Socs

2014-10-16 Thread Heiko Stübner
Hi Mark, Am Freitag, 17. Oktober 2014, 12:22:53 schrieb Mark yao: > On 2014年10月17日 08:46, Dave Airlie wrote: > > On 17 October 2014 10:40, Mark yao wrote: > >> Hi > >> I think Rockchip drm driver is ready now, can it land? > > > > I probably want to wait until -rc1 though I suppose since its a n

Re: [RFC v3 PATCH 1/5] of: Add standard property for poweroff capability

2014-10-16 Thread Heiko Stübner
Hi Romain, Am Freitag, 17. Oktober 2014, 08:01:31 schrieb PERIER Romain: > Hi all, > > I am just curious but where do you plan to merge this serie ? in > git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git ? The single dts patch will be going into my dts branch and the rest will

Re: [RFC v3 PATCH 1/5] of: Add standard property for poweroff capability

2014-10-16 Thread PERIER Romain
Hi all, I am just curious but where do you plan to merge this serie ? in git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git ? You have conflicts because I use linux-next as base repository. Thanks for your feebacks (all of you). Romain 2014-10-15 16:03 GMT+02:00 Mark Brown : >

Re: [v3] spi: orion: support armada extended baud rates

2014-10-16 Thread Greg Ungerer
Hi Karl, On 15/10/14 23:10, Karl Beldan wrote: > On Tue, Oct 14, 2014 at 12:03:12PM +1000, Greg Ungerer wrote: >> Hi Karl, >> >> On 12/10/14 00:52, Karl Beldan wrote: >>> On 28/09/14 23:24:04, Greg Ungerer wrote: @@ -378,6 +452,10 @@ static int orion_spi_probe(struct platform_device *pd

Re: [PATCH v11 0/3] Add drm driver for Rockchip Socs

2014-10-16 Thread Mark yao
On 2014年10月17日 08:46, Dave Airlie wrote: On 17 October 2014 10:40, Mark yao wrote: Hi I think Rockchip drm driver is ready now, can it land? I probably want to wait until -rc1 though I suppose since its a new driver and self contained we might be able to see if Linus is interested in squeezing

Re: [PATCH v5 1/3] iommu/rockchip: rk3288 iommu driver

2014-10-16 Thread Daniel Kurtz
On Tue, Oct 14, 2014 at 4:02 PM, Daniel Kurtz wrote: > The rk3288 has several iommus. Each iommu belongs to a single master > device. There is one device (ISP) that has two slave iommus, but that > case is not yet supported by this driver. > > At subsys init, the iommu driver registers itself as

Re: [PATCH 2/2] ARM: dts: socfpga: Add a 3.3V fixed regulator node

2014-10-16 Thread Jaehoon Chung
Hi, Dinh. On 10/17/2014 06:03 AM, dingu...@opensource.altera.com wrote: > From: Dinh Nguyen > > Without the 3.3V regulator node, the SDMMC driver will give these warnings: > > dw_mmc ff704000.dwmmc0: No vmmc regulator found > dw_mmc ff704000.dwmmc0: No vqmmc regulator found > > This patch adds

[PATCH] spi/rockchip: spi controller must be disabled in tx callback too

2014-10-16 Thread Addy Ke
Signed-off-by: Addy Ke --- drivers/spi/spi-rockchip.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/spi/spi-rockchip.c b/drivers/spi/spi-rockchip.c index 153269b..87bc16f 100644 --- a/drivers/spi/spi-rockchip.c +++ b/drivers/spi/spi-rockchip.c @@ -418,8 +418,10 @@

Re: [PATCH v11 0/3] Add drm driver for Rockchip Socs

2014-10-16 Thread Dave Airlie
On 17 October 2014 10:40, Mark yao wrote: > Hi > I think Rockchip drm driver is ready now, can it land? I probably want to wait until -rc1 though I suppose since its a new driver and self contained we might be able to see if Linus is interested in squeezing it in. Can you send me a git pull requ

Re: [PATCH v11 0/3] Add drm driver for Rockchip Socs

2014-10-16 Thread Mark yao
Hi I think Rockchip drm driver is ready now, can it land? Thanks. On 2014年10月08日 18:23, Mark Yao wrote: This a series of patches is a DRM Driver for Rockchip Socs, add support for vop devices. Future patches will add additional encoders/connectors, such as eDP, HDMI. The basic "crtc" for rockch

Re: [PATCH v11 1/5] thermal: rockchip: add driver for thermal

2014-10-16 Thread Vladimir Zapolskiy
Hi Caesar, On 16.10.2014 16:31, Caesar Wang wrote: Thermal is TS-ADC Controller module supports user-defined mode and automatic mode. User-defined mode refers,TSADC all the control signals entirely by software writing to register for direct control. Automaic mode refers to the module automatic

Re: [PATCH v11 1/5] thermal: rockchip: add driver for thermal

2014-10-16 Thread Dmitry Torokhov
Hi Caesar, On Thu, Oct 16, 2014 at 09:31:37PM +0800, Caesar Wang wrote: > Thermal is TS-ADC Controller module supports > user-defined mode and automatic mode. > > User-defined mode refers,TSADC all the control signals entirely by > software writing to register for direct control. > > Automaic mo

[PATCHv3] arm: dts: socfpga: Add SPI nodes to SOCFPGA DT.

2014-10-16 Thread tthayer
From: Thor Thayer Add 2 SPI nodes to SOCFPGA device tree. Signed-off-by: Thor Thayer --- v2: Remove extra files. Move SPIDEV into board specific file. v3: Remove dts file since SPIDEV is not allowed. --- arch/arm/boot/dts/socfpga.dtsi | 24 1 file changed, 24 insert

[PATCHv3] Add SPI nodes to Altera SOCFPGA DT

2014-10-16 Thread tthayer
From: Thor Thayer This patch adds the SPI nodes to the SOCFPGA device tree. Both nodes are left in the disabled state since no devices are present on the development boards. Thor Thayer (1): arm: dts: socfpga: Add SPI nodes to SOCFPGA DT. arch/arm/boot/dts/socfpga.dtsi | 24 +++

Re: [PATCH v11 1/5] thermal: rockchip: add driver for thermal

2014-10-16 Thread Dmitry Torokhov
Hi Caesar, On Thu, Oct 16, 2014 at 09:31:37PM +0800, Caesar Wang wrote: > + > +struct rockchip_tsadc_platform_data { > + unsigned long temp_passive; > + unsigned long hw_shut_temp; > + int reset_mode; > + > + void (*irq_handle)(void __iomem *reg); > + void (*initialize)(int res

Re: [PATCH v11 4/5] ARM: dts: add main Thermal info to rk3288

2014-10-16 Thread Dmitry Torokhov
Hi Caesar, On Thu, Oct 16, 2014 at 09:31:40PM +0800, Caesar Wang wrote: > This patch is depend on rk3288-thermal.dtsi,or > it will compile error. > > If the temperature over a period of time High,over 120C > the resulting TSHUT gave CRU module,let it reset > the entire chip,or via GPIO give PMIC.

Re: [PATCH v6 0/4] pmbus: ltc2978: add regulator support

2014-10-16 Thread Guenter Roeck
On Wed, Oct 15, 2014 at 01:55:06PM -0500, at...@opensource.altera.com wrote: > From: Alan Tull > > Each output has individual on/off control. > > New in v6: > * Much cleanup of the bindings document > * s/vout_en/vout/g > > Hopefully this is getting closer. We will still have the potential

[PATCH 2/2] ARM: dts: socfpga: Add a 3.3V fixed regulator node

2014-10-16 Thread dinguyen
From: Dinh Nguyen Without the 3.3V regulator node, the SDMMC driver will give these warnings: dw_mmc ff704000.dwmmc0: No vmmc regulator found dw_mmc ff704000.dwmmc0: No vqmmc regulator found This patch adds the regulator node, and points the SD/MMC to the regulator. Signed-off-by: Dinh Nguyen

[PATCH 0/2] ARM: dts: socfpga: fix booting with SD/MMC

2014-10-16 Thread dinguyen
From: Dinh Nguyen The SOCFPGA dev kit was hanging during bootup on the SD/MMC driver loading. The first patch fixes the booting and the 2nd patch adds a regulator node for the SD/MMC driver to use. Dinh Nguyen (2): ARM: dts: socfpga: Fix SD card detect ARM: dts: socfpga: Add a 3.3V fixed reg

[PATCH 1/2] ARM: dts: socfpga: Fix SD card detect

2014-10-16 Thread dinguyen
From: Dinh Nguyen Without this patch, the booting the SOCFPGA platform would hang at the SDMMC driver loading. There were 2 patches that caused this to happen: - Patch 9795a846e10 "mmc: dw_mmc: remove dw_mci_of_cd_gpio/wp_gpio()" removed looking for "cd-gpios", since mmc_of_parse was getting c

[PATCH 2/2] Documentation: devicetree: Add bindings for Wi2Wi w2sg0004 gps

2014-10-16 Thread Marek Belisko
Signed-off-by: H. Nikolaus Schaller Signed-off-by: Marek Belisko --- .../devicetree/bindings/misc/wi2wi,w2sg0004.txt| 44 ++ 1 file changed, 44 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/wi2wi,w2sg0004.txt diff --git a/Documentation/devicetr

[PATCH 1/2] misc: Add Wi2Wi w2sc0004 gps driver

2014-10-16 Thread Marek Belisko
This is a driver for the Wi2Wi GPS modules connected through an UART. The tricky part is that the module is turned on or off by an impulse on the control line - but it is only possible to get the real state by monitoring the UART RX input. Since the kernel can't know in which status the module is

Re: [PATCH v6 3/4] pmbus: add regulator support

2014-10-16 Thread Guenter Roeck
On Thu, Oct 16, 2014 at 01:40:23PM -0500, atull wrote: > On Thu, 16 Oct 2014, Guenter Roeck wrote: > > > On Wed, Oct 15, 2014 at 01:55:09PM -0500, at...@opensource.altera.com wrote: > > > From: Alan Tull > > > > > > Add support for simple on/off control of each channel. > > > > > > To add regul

Re: [PATCH v2 0/2] init some clock rate from dts for rk3288

2014-10-16 Thread Heiko Stübner
Am Donnerstag, 9. Oktober 2014, 21:50:28 schrieb Kever Yang: > This patch add init rate for PLLs and some bus clock from dts for rk3288, > add two clock rate of 400M and 500M into rate table for we will use it. > We need Doug's patch to make "aclk_cpu" get set properly: >

Re: [PATCH v6 1/4] hwmon: ltc2978: device tree bindings documentation

2014-10-16 Thread Guenter Roeck
On Wed, Oct 15, 2014 at 01:55:07PM -0500, at...@opensource.altera.com wrote: > From: Alan Tull > > Add device tree bindings documentation for ltc2978. > > Signed-off-by: Alan Tull > Cc: Guenter Roeck > Cc: Mark Rutland > Cc: Mark Brown > --- > v2: clean whitespace > > v3: list compatible st

Re: [PATCH v6 3/4] pmbus: add regulator support

2014-10-16 Thread Guenter Roeck
On Thu, Oct 16, 2014 at 01:40:23PM -0500, atull wrote: > On Thu, 16 Oct 2014, Guenter Roeck wrote: > > > On Wed, Oct 15, 2014 at 01:55:09PM -0500, at...@opensource.altera.com wrote: > > > From: Alan Tull > > > > > > Add support for simple on/off control of each channel. > > > > > > To add regul

Re: [PATCH v6 3/4] pmbus: add regulator support

2014-10-16 Thread atull
On Thu, 16 Oct 2014, Guenter Roeck wrote: > On Wed, Oct 15, 2014 at 01:55:09PM -0500, at...@opensource.altera.com wrote: > > From: Alan Tull > > > > Add support for simple on/off control of each channel. > > > > To add regulator support, the pmbus part driver needs to add > > regulator_desc inf

Re: [PATCH v6 3/4] pmbus: add regulator support

2014-10-16 Thread Guenter Roeck
On Wed, Oct 15, 2014 at 01:55:09PM -0500, at...@opensource.altera.com wrote: > From: Alan Tull > > Add support for simple on/off control of each channel. > > To add regulator support, the pmbus part driver needs to add > regulator_desc information and number of regulators to its > pmbus_driver_i

Re: [PATCH 08/20] mmc: host: pxamci: switch over to dmaengine use

2014-10-16 Thread Vasily Khoruzhick
On Wed, Oct 15, 2014 at 9:32 PM, Vasily Khoruzhick wrote: > Hi Daniel, > > On Wed, Aug 7, 2013 at 6:33 PM, Daniel Mack wrote: >> Successfully testes on a PXA3xx board. > > I know it could be a bit late, but I tested your pxa-dma-3.15 branch > rebased against 3.17 on pxa270 device, > and unfortuna

[PATCH v2 0/7] Add max77802 regulator operating mode support

2014-10-16 Thread Javier Martinez Canillas
Hello Mark, This is the second version of the series that adds operating modes support for the regulators in the max77802 PMIC. It address issues pointed out in "regulator: max77802: Add .{get,set}_mode callbacks" and also removes the patches you already picked on the topic branch. The first versi

[PATCH v2 2/7] regulator: max77802: Add set suspend mode for BUCKs and simplify code

2014-10-16 Thread Javier Martinez Canillas
The max77802 PMIC has a special enable pin (PWRREQ) that can be used by the Application Processor (AP) to power down and up voltage rails. The max77802 PMIC regulators have 3 different enable control logics. Some regulators support to be configured on different operational mode during normal opera

[PATCH v2 3/7] regulator: max77802: Don't treat OFF as an operating mode

2014-10-16 Thread Javier Martinez Canillas
The only operating modes that are supported by the regulators in the max77802 PMIC are Output ON (normal) and Output On in Low Power Mode. OFF was wrongly counted as an operating mode while is only a regulator status. Make clear in the code that OFF is not an operating mode. Signed-off-by: Javier

[PATCH v2 5/7] regulator: max77802: Document regulator opmode DT properties

2014-10-16 Thread Javier Martinez Canillas
Some regulators from the max77802 PMIC support to be configured in one of two operating mode: Output ON (normal) and Output On Low Power Mode. Not all regulators support these two modes and for some of them, the mode can be changed while the system is running in normal operation while others only s

[PATCH v2 4/7] regulator: max77802: Add header for operating modes

2014-10-16 Thread Javier Martinez Canillas
Add a header file for the max77802 constants that could be shared between the regulator driver and Device Tree source files. Also, remove standby and off opmodes since only normal and low power are valid operating modes. Signed-off-by: Javier Martinez Canillas --- Changes since v1: None driver

[PATCH v2 7/7] ARM: dts: Configure regulators for suspend on exynos Peach boards

2014-10-16 Thread Javier Martinez Canillas
The regulator core now has support to choose if a regulator has to be enabled or disabled during system suspend and also the max77802 driver supports changing the regulator operating mode during runtime and when the system enters into sleep mode. To lower power during suspend, configure the regula

[PATCH v2 6/7] regulator: max77802: Parse regulator operating mode properties

2014-10-16 Thread Javier Martinez Canillas
The max77802 PMIC regulators output can be configured in one of two modes: Output ON (normal) and Output ON in Low Power Mode. Some of the regulators support their operating mode to be changed on startup or by consumers when the system is running while others only support their operating mode to be

[PATCH v2 1/7] regulator: max77802: Add .{get,set}_mode callbacks

2014-10-16 Thread Javier Martinez Canillas
Some max77802 LDOs (1, 3, 20 and 21) support to be configured in Low Power Mode during system normal operation. Add function handlers for the .get_mode and .set_mode operations to set the mode on these LDOs. Signed-off-by: Javier Martinez Canillas --- Changes since v1: - Use a static inline fun

Re: [PATCH v6 1/3] dma: at_xdmac: creation of the atmel eXtended DMA Controller driver

2014-10-16 Thread Vinod Koul
On Thu, Oct 16, 2014 at 04:10:48PM +0200, Ludovic Desroches wrote: > > This is pretty odd, I dont see a reason why we can have proper case values > > and converted ones. It would have made sense if we use this for conversion > > but in case values in quite puzzling > > > > > + case 1: > > > +

[PATCH] spi/atmel: fix simple_return.cocci warnings

2014-10-16 Thread Fengguang Wu
drivers/spi/spi-atmel.c:1518:1-4: WARNING: end returns can be simpified and declaration on line 1514 can be dropped Simplify a trivial if-return sequence. Possibly combine with a preceding function call. Generated by: scripts/coccinelle/misc/simple_return.cocci CC: Wenyou Yang Signed-off-by:

Re: [PATCH v4 00/13] Add ACPI _DSD and unified device properties support

2014-10-16 Thread David Woodhouse
On Wed, 2014-10-15 at 17:43 +0200, Darren Hart wrote: > > So my objection here is that by keeping the of_* terms in the driver we > are required to include of, although it does safely convert to returning > NULL if !CONFIG_OF I suppose. New version removes everything but the of_match_id bits whic

Re: [PATCHv5 6/6] ARM: imx: Add Freescale LS1021A SMP support

2014-10-16 Thread Kumar Gala
On Oct 13, 2014, at 11:36 AM, Jingchang Lu wrote: > From: Jingchang Lu > > Freescale LS1021A SoCs deploy two cortex-A7 processors, > this adds bring-up support for the secondary core. > > Signed-off-by: Jingchang Lu > --- > arch/arm/mach-imx/Makefile | 2 +- > arch/arm/mach-imx/common.

Re: [PATCH v6 1/3] dma: at_xdmac: creation of the atmel eXtended DMA Controller driver

2014-10-16 Thread Ludovic Desroches
On Wed, Oct 15, 2014 at 07:00:04PM +0530, Vinod Koul wrote: > On Wed, Oct 01, 2014 at 04:59:23PM +0200, Ludovic Desroches wrote: > > New atmel DMA controller known as XDMAC, introduced with SAMA5D4 > > devices. > > > > + > > +static inline u32 at_xdmac_csize(u32 maxburst) > > +{ > > + u32 csize;

Re: [PATCH v3] thermal: Add QPNP PMIC temperature alarm driver

2014-10-16 Thread Ivan T. Ivanov
No responses. Probably because maintainers are in CC: and not in To:, fixing this. Ivan On Wed, 2014-10-01 at 18:53 +0300, Ivan T. Ivanov wrote: > Add support for the temperature alarm peripheral found inside > Qualcomm plug-and-play (QPNP) PMIC chips. The temperature alarm > peripheral output

[PATCH 2/3] drivers: cpuidle: add idle-state-name description to ARM idle states

2014-10-16 Thread Lorenzo Pieralisi
On ARM machines, where generally speaking the idle state numbering has no fixed and standard meaning it is useful to provide a description of the idle state inner workings for benchmarking and monitoring purposes. This patch adds a property to the idle states bindings that if present gives platfor

[PATCH 1/3] drivers: cpuidle: add status property to ARM idle states

2014-10-16 Thread Lorenzo Pieralisi
On some platforms the device tree bindings must provide the kernel with a status flag for idle states, that defines whether the idle state is operational or not in the current configuration. This patch adds a status property to the ARM idle states compliant with ePAPR v1.1 and updates the DT parsi

[PATCH 3/3] drivers: cpuidle: remove cpuidle-arm64 duplicate error messages

2014-10-16 Thread Lorenzo Pieralisi
Current CPUidle driver for arm64 machines spits errors upon idle state initialization and cpuidle driver registration failures. These error messages are already printed in core code so there is no need to print them again. This patch removes the duplicate print messages from the cpuidle-arm64 driv

Re: [PATCH v3 1/2] iio: vadc: Qualcomm SPMI PMIC voltage ADC driver

2014-10-16 Thread Ivan T. Ivanov
Hi, On Sat, 2014-10-04 at 12:51 +0100, Jonathan Cameron wrote: > On 02/10/14 13:08, Ivan T. Ivanov wrote: > > +iio maintainers > > > > On Thu, 2014-10-02 at 12:29 +0300, Ivan T. Ivanov wrote: > > > Hi Stan, > > > > > > > On 09/24/2014 03:56 PM, Stanimir Varbanov wrote: > > > > > > > > > >

Re: [PATCH v3] mtd: atmel_nand: make PMECC lookup table and offset property optional

2014-10-16 Thread Mark Rutland
[...] > >> That said, if we can build this dynamically, can't we always do so, and > >> never need this property? > > > > Since board like at91sam9x5, sama5d3xek has a rom lookup table. And > > the sama5d4ek has no rom lookup table. > > To present this, I make this property as optional. > > > > B

[PATCH v11 4/5] ARM: dts: add main Thermal info to rk3288

2014-10-16 Thread Caesar Wang
This patch is depend on rk3288-thermal.dtsi,or it will compile error. If the temperature over a period of time High,over 120C the resulting TSHUT gave CRU module,let it reset the entire chip,or via GPIO give PMIC. Signed-off-by: Caesar Wang --- arch/arm/boot/dts/rk3288.dtsi | 20 +++

[PATCH v11 5/5] ARM: dts: enable Thermal on rk3288-evb board

2014-10-16 Thread Caesar Wang
when a thermal temperature over TSHUT.Default to via CRU reset the entire chip on rk3288-evb Board Signed-off-by: Caesar Wang --- arch/arm/boot/dts/rk3288-evb.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm/boot/dts/rk3288-evb.dtsi inde

[PATCH v11 3/5] ARM: dts: add RK3288 Thermal data

2014-10-16 Thread Caesar Wang
This patch changes a dtsi file to contain the thermal data on RK3288 and later SoCs. This data will enable a thermal shutdown over 125C. Signed-off-by: Caesar Wang --- arch/arm/boot/dts/rk3288-thermal.dtsi | 57 +++ 1 file changed, 57 insertions(+) create mode 10

[PATCH v11 2/5] dt-bindings: document Rockchip thermal

2014-10-16 Thread Caesar Wang
This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off-by: zhaoyifeng Signed-off-by: Caesar Wang --- .../bindings/thermal/rockchip-thermal.txt | 45 ++ 1 file changed, 45 insertions(+) create mode 100644 Documentation/device

[PATCH v11 1/5] thermal: rockchip: add driver for thermal

2014-10-16 Thread Caesar Wang
Thermal is TS-ADC Controller module supports user-defined mode and automatic mode. User-defined mode refers,TSADC all the control signals entirely by software writing to register for direct control. Automaic mode refers to the module automatically poll TSADC output, and the results were checked.I

[PATCH v11 0/5] Rockchip soc thermal driver

2014-10-16 Thread Caesar Wang
This series patchs tested on rk3288 SDK board and pinky-v1,v2 board. I believe the driver can be used on the rk3288-evb board. Add this driver, The system can reset the entire chip when the thermal temperture over 120C, In case of rising over 125C when tha hardware shorting,The sodftware will shut

Re: [PATCH v6 2/3] ARM: dts: at_xdmac: add bindings documentation

2014-10-16 Thread Ludovic Desroches
On Wed, Oct 15, 2014 at 07:11:34PM +0530, Vinod Koul wrote: > On Wed, Oct 01, 2014 at 04:59:24PM +0200, Ludovic Desroches wrote: > > Add bindings documentation for the new Atmel DMA controller (XDMAC) > > introduced with SAMA5D4. > Seeing the example below, it doesnt seem to me that we cant reuse e

Re: [PATCH v3 1/3] power-domain: add power domain drivers for Rockchip platform

2014-10-16 Thread Ulf Hansson
Hi Jinkun, [...] > + > +static int rockchip_pd_power_on(struct generic_pm_domain *domain) > +{ > + int ret = 0; > + struct rockchip_domain *pd = to_rockchip_pd(domain); > + > + if (pd->dev == NULL) > + pr_err("pd->dev is NULL, power on failed!", __func__); > + > +

Re: [PATCH 0/5] Berlin BG2 AHCI and SATA PHY

2014-10-16 Thread Antoine Tenart
Hi Sebastian, On Sat, Oct 11, 2014 at 05:41:08PM +0200, Sebastian Hesselbarth wrote: > This patch set catches up with latest Berlin improvements provided > by Antoine - in particular SATA PHY support and AHCI generic for > Berlin BG2. > > Marvell BSP code for BG2 suggests more differences between

Re: [PATCH v10 1/5] thermal: rockchip: add driver for thermal

2014-10-16 Thread Caesar Wang
Vladimir, 在 2014年10月15日 02:08, Vladimir Zapolskiy 写道: On 14.10.2014 20:10, Caesar Wang wrote: Thermal is TS-ADC Controller module supports user-defined mode and automatic mode. User-defined mode refers,TSADC all the control signals entirely by software writing to register for direct control.

[PATCH v3 1/3] power-domain: add power domain drivers for Rockchip platform

2014-10-16 Thread jinkun.hong
From: "jinkun.hong" Add power domain drivers based on generic power domain for Rockchip platform, and support RK3288. Signed-off-by: Jack Dai Signed-off-by: jinkun.hong --- Changes in v3: - change use pm_clk_resume() and pm_clk_suspend() Changes in v2: - remove the "pd->pd.of_node = np" a

[PATCH v3 2/3] dt-bindings: add document of Rockchip power domain

2014-10-16 Thread jinkun.hong
From: "jinkun.hong" Signed-off-by: Jack Dai Signed-off-by: jinkun.hong --- Changes in v3: - DT structure has changed Changes in v2: - move clocks to "optional" .../bindings/arm/rockchip/power_domain.txt | 46 1 file changed, 46 insertions(+) create mode 1006

[PATCH v3 3/3] ARM: dts: add rk3288 power-domain node

2014-10-16 Thread jinkun.hong
From: "jinkun.hong" Signed-off-by: Jack Dai Signed-off-by: jinkun.hong --- Changes in v3: - Decomposition power-controller, changed to multiple controller (gpu-power-controller, hevc-power-controller) Changes in v2: - make pd_vio clocks all one entry per line and alphabetize. - power: pow

[PATCH v3 0/3] ARM: rk3288 : Add PM Domain support

2014-10-16 Thread jinkun.hong
From: "jinkun.hong" Add power domain drivers based on generic power domain for Rockchip platform, and support RK3288. Based on: - [PATCH v1 1/4] PM / clock_ops: Add pm_clk_add_clk() http://www.mail-archive.com/linux-kernel@vger.kernel.org/msg735599.html Changes in v3: - change use pm_clk_resu

Re: [PATCH 3/4] ARM: dts: add RK3288 suspend support

2014-10-16 Thread Mark Rutland
On Wed, Oct 15, 2014 at 09:49:04PM +0100, z...@rock-chips.com wrote: > From: Chris Zhong > > add pmu_intmem subnode for suspend, add suspend pinctrl > > Signed-off-by: Tony Xie > Signed-off-by: Chris Zhong > --- > > arch/arm/boot/dts/rk3288.dtsi | 11 +++ > 1 file changed, 11 inser

Re: [PATCH 1/2] spi/rockchip: fix bug that case spi can't go as fast as slave request

2014-10-16 Thread Mark Brown
On Thu, Oct 16, 2014 at 05:58:51PM +0800, addy ke wrote: Please fix your mailer to word wrap within paragraphs. > On 2014/10/16 17:34, Mark Brown wrote: > >> If we set the rate unconditionally here, clk_set_rate() will be executed > >> in each spi transfer. > > Is that really such a high cost?

Re: [PATCH 2/9] regulator: max77802: Add .{get,set}_mode callbacks

2014-10-16 Thread Javier Martinez Canillas
Hello Mark, Thanks a lot for your feedback. On 10/16/2014 10:36 AM, Mark Brown wrote: > On Wed, Oct 15, 2014 at 06:20:32PM +0200, Javier Martinez Canillas wrote: > >> +#define MAX77802_MODE(pval) ((pval == MAX77802_OPMODE_NORMAL) ? \ >> + REGULATOR_MODE_NORMAL : REGUL

Re: [PATCH 2/2] spi/rockchip: fix bug that cause spi transfer timed out in DMA duplex mode

2014-10-16 Thread Mark Brown
On Thu, Oct 16, 2014 at 05:26:02PM +0800, addy ke wrote: > The following changes is nessarry:(if tx complete, spi must be disabled too) > diff --git a/drivers/spi/spi-rockchip.c b/drivers/spi/spi-rockchip.c > index 153269b..87bc16f 100644 Please send this using the normal submission process. si

Re: [PATCH 1/2] spi/rockchip: fix bug that case spi can't go as fast as slave request

2014-10-16 Thread Mark Brown
On Thu, Oct 16, 2014 at 05:16:02PM +0800, addy ke wrote: > On 2014/10/15 21:04, Mark Brown wrote: > > On Wed, Oct 15, 2014 at 07:25:49PM +0800, Addy Ke wrote: > >> + if (WARN_ON(rs->speed > MAX_SCLK_OUT)) > >> + rs->speed = MAX_SCLK_OUT; > >> + /* the minimum divsor is 2 */ > >> + if

Re: [PATCH 4/5] ARM: berlin: Add AHCI and SATA PHY nodes to BG2

2014-10-16 Thread Antoine Tenart
Hi Sebastian, On Sat, Oct 11, 2014 at 05:41:12PM +0200, Sebastian Hesselbarth wrote: > > + ahci: sata@e9 { > + compatible = "marvell,berlin2-ahci", "generic-ahci"; > + reg = <0xe9 0x1000>; > + interrupts = ; > +

Re: [PATCH 1/2] spi/rockchip: fix bug that case spi can't go as fast as slave request

2014-10-16 Thread addy ke
On 2014/10/16 17:34, Mark Brown wrote: > On Thu, Oct 16, 2014 at 05:16:02PM +0800, addy ke wrote: >> On 2014/10/15 21:04, Mark Brown wrote: >>> On Wed, Oct 15, 2014 at 07:25:49PM +0800, Addy Ke wrote: > + if (WARN_ON(rs->speed > MAX_SCLK_OUT)) + rs->speed = MAX_SCLK_OUT; > >

Re: [PATCH RFT 0/8] Marvell PXA168 libphy handling and Berlin Ethernet

2014-10-16 Thread Antoine Tenart
Hi Sebastian, On Thu, Oct 09, 2014 at 02:38:58PM +0200, Sebastian Hesselbarth wrote: > This patch series deals with a removing a IP feature that can be found > on all currently supported Marvell Ethernet IP (pxa168_eth, mv643xx_eth, > mvneta). The MAC IP allows to automatically perform PHY auto-ne

Re: [PATCH v4 00/13] Add ACPI _DSD and unified device properties support

2014-10-16 Thread Rafael J. Wysocki
On Wednesday, October 15, 2014 05:43:01 PM Darren Hart wrote: > > On 10/15/14 17:17, Mark Rutland wrote: > > On Wed, Oct 15, 2014 at 03:46:39PM +0100, Darren Hart wrote: > > >> Mark, what would you propose we do differently to enable this driver to > >> be firmware-type agnostic? > > > > For thi

Re: [PATCH 2/2] spi/rockchip: fix bug that cause spi transfer timed out in DMA duplex mode

2014-10-16 Thread addy ke
Hi, Mark The following changes is nessarry:(if tx complete, spi must be disabled too) diff --git a/drivers/spi/spi-rockchip.c b/drivers/spi/spi-rockchip.c index 153269b..87bc16f 100644 --- a/drivers/spi/spi-rockchip.c +++ b/drivers/spi/spi-rockchip.c @@ -418,8 +418,10 @@ static void rockchip_spi_d

Re: [PATCH 1/2] spi/rockchip: fix bug that case spi can't go as fast as slave request

2014-10-16 Thread addy ke
hi, Mark On 2014/10/15 21:04, Mark Brown wrote: > On Wed, Oct 15, 2014 at 07:25:49PM +0800, Addy Ke wrote: > >> +if (WARN_ON(rs->speed > MAX_SCLK_OUT)) >> +rs->speed = MAX_SCLK_OUT; >> + >> +/* the minimum divsor is 2 */ >> +if (rs->max_freq < 2 * rs->speed) { >> +

Re: [PATCH V7 11/12] Documentation: bridge: Add documentation for ps8622 DT properties

2014-10-16 Thread Laurent Pinchart
Hi Ajay, On Friday 10 October 2014 18:33:05 Ajay kumar wrote: > On Wed, Oct 8, 2014 at 12:39 PM, Thierry Reding wrote: > > On Tue, Oct 07, 2014 at 05:49:24PM +0300, Laurent Pinchart wrote: > >> On Tuesday 07 October 2014 16:06:55 Ajay kumar wrote: > >> > On Tue, Oct 7, 2014 at 4:00 PM, Tomi Valkei

Re: [PATCH 3/9] regulator: max77802: Split regulator operations for BUCKs

2014-10-16 Thread Mark Brown
On Wed, Oct 15, 2014 at 06:20:33PM +0200, Javier Martinez Canillas wrote: > Not all the max77802 BUCKs regulators have the same functionality, for > example BUCKs 2-4 support the output to be configured as normal or Low > Power Mode by the PWRREQ enable pin while the other BUCKs only support > thei

Re: [PATCH 1/9] regulator: max77802: Add .set_suspend_{enable,disable} callbacks

2014-10-16 Thread Mark Brown
On Wed, Oct 15, 2014 at 06:20:31PM +0200, Javier Martinez Canillas wrote: > The max77802 PMIC has an enable pin (PWRREQ) that can be used to switch > regulators ON and OFF automatically by the Application Processor when > the system is leaving and entering sleep mode. Applied, thanks. signature.

Re: [PATCH 2/9] regulator: max77802: Add .{get,set}_mode callbacks

2014-10-16 Thread Mark Brown
On Wed, Oct 15, 2014 at 06:20:32PM +0200, Javier Martinez Canillas wrote: > +#define MAX77802_MODE(pval) ((pval == MAX77802_OPMODE_NORMAL) ? \ > + REGULATOR_MODE_NORMAL : REGULATOR_MODE_STANDBY) > + Make this a static inline function if there's any need for it, this

Re: [PATCH V7 11/12] Documentation: bridge: Add documentation for ps8622 DT properties

2014-10-16 Thread Ajay kumar
ping! On Fri, Oct 10, 2014 at 6:33 PM, Ajay kumar wrote: > On Wed, Oct 8, 2014 at 12:39 PM, Thierry Reding > wrote: >> On Tue, Oct 07, 2014 at 05:49:24PM +0300, Laurent Pinchart wrote: >>> Hi Ajay, >>> >>> On Tuesday 07 October 2014 16:06:55 Ajay kumar wrote: >>> > On Tue, Oct 7, 2014 at 4:00 PM