Re: [PATCH v2 2/2] devicetree: Add devicetree bindings documentation for Cadence SPI

2014-04-04 Thread Harini Katakam
Hi Peter, On Sat, Apr 5, 2014 at 4:44 AM, Peter Crosthwaite wrote: > On Sat, Apr 5, 2014 at 12:30 AM, Harini Katakam > wrote: >> Hi, >> >> On Fri, Apr 4, 2014 at 7:38 PM, Harini Katakam >> wrote: >>> Hi Mark, >>> >>> On Fri, Apr 4, 2014 at 6:16 PM, Mark Brown wrote: On Fri, Apr 04, 2014 a

[PATCH 1/3] Documentation: add Device tree bindings for Hisilicon hip04 ethernet

2014-04-04 Thread Zhangfei Gao
This patch adds the Device Tree bindings for the Hisilicon hip04 Ethernet controller, including 100M / 1000M controller. Signed-off-by: Zhangfei Gao --- .../bindings/net/hisilicon-hip04-net.txt | 88 1 file changed, 88 insertions(+) create mode 100644 Documenta

[PATCH 2/3] net: hisilicon: new hip04 MDIO driver

2014-04-04 Thread Zhangfei Gao
Hisilicon hip04 platform mdio driver Reuse Marvell phy drivers/net/phy/marvell.c Signed-off-by: Zhangfei Gao --- drivers/net/ethernet/Kconfig|1 + drivers/net/ethernet/Makefile |1 + drivers/net/ethernet/hisilicon/Kconfig | 31 + drivers/net/ether

[PATCH 3/3] net: hisilicon: new hip04 ethernet driver

2014-04-04 Thread Zhangfei Gao
Support Hisilicon hip04 ethernet driver, including 100M / 1000M controller Signed-off-by: Zhangfei Gao --- drivers/net/ethernet/hisilicon/Makefile|2 +- drivers/net/ethernet/hisilicon/hip04_eth.c | 777 2 files changed, 778 insertions(+), 1 deletion(-) crea

[PATCH v7 0/3] add hisilicon hip04 ethernet driver

2014-04-04 Thread Zhangfei Gao
v7: Remove select NET_CORE in 0002 v6: Suggest by Russell: Use netdev_sent_queue & netdev_completed_queue to solve latency issue Also shorten the period of timer, which is used to wakeup the queue since no tx completed interrupt. v5: no big change, fix typo v4: Modify accoringly to the suggeti

[RESEND PATCH v3 8/9] tty: cadence: Document DT binding

2014-04-04 Thread Soren Brinkmann
Add binding documentation for the Cadence UART. Signed-off-by: Soren Brinkmann Acked-by: Peter Crosthwaite Acked-by: Rob Herring Tested-by: Michal Simek --- Changes in v3: None Changes in v2: None .../devicetree/bindings/serial/cdns,uart.txt | 20 1 file changed

[RESEND PATCH v3 2/9] tty: xuartps: Initialize ports according to aliases

2014-04-04 Thread Soren Brinkmann
From: Michal Simek Register port numbers according to order in DT aliases. If aliases are not defined, order in DT is used. If aliases are defined, register port id based on that. This patch ensures proper ttyPS0/1 assignment. [soren]: Combined integer declarations in probe(), removed warning me

[RESEND PATCH v3 3/9] tty: xuartps: Clean up

2014-04-04 Thread Soren Brinkmann
This is all white space and comment clean up. Mostly reformatting comments. Signed-off-by: Soren Brinkmann Tested-by: Michal Simek --- Changes in v3: None Changes in v2: None drivers/tty/serial/xilinx_uartps.c | 210 + 1 file changed, 74 insertions(+), 136

[RESEND PATCH v3 5/9] tty: xuartps: Refactor read-modify-writes

2014-04-04 Thread Soren Brinkmann
A lot of read-modify-write sequences used a one-line statement which nests a readl() within a writel(). Convert this into code sequences that make the three steps more obvious. Signed-off-by: Soren Brinkmann Tested-by: Michal Simek --- Changes in v3: None Changes in v2: None drivers/tty/seria

[RESEND PATCH v3 4/9] tty: xuartps: Print warning in clock notifier

2014-04-04 Thread Soren Brinkmann
Print a warning if the clock notifier rejects a clock frequency change to facilitate debugging (see: http://thread.gmane.org/gmane.linux.ports.arm.kernel/304329/focus=304379) Signed-off-by: Soren Brinkmann Tested-by: Michal Simek --- Changes in v3: None Changes in v2: None drivers/tty/serial/

[RESEND PATCH v3 6/9] tty: xuartps: Don't write IRQ disable register to enable interrupts

2014-04-04 Thread Soren Brinkmann
A comment states, that, according to the data sheet, to enable interrupts the disable register should be written, but the enable register could be left untouched. And it suspsects a HW bug requiring to write both. Reviewing the data sheet, these statements seem wrong. Just as one would expect. Writ

[RESEND PATCH v3 9/9] ARM: zynq: DT: Migrate UART to Cadence binding

2014-04-04 Thread Soren Brinkmann
The Zynq UART is Cadence IP and the driver has been renamed accordingly. Migrate the DT to use the new binding for the UART driver. Signed-off-by: Soren Brinkmann Acked-by: Peter Crosthwaite Acked-by: Rob Herring Tested-by: Michal Simek --- This change depends on 'tty: xuartps: Rebrand driver

[RESEND PATCH v3 1/9] tty: xuartps: Fix kernel-doc errors in the driver

2014-04-04 Thread Soren Brinkmann
From: Michal Simek No functional changes. Signed-off-by: Michal Simek --- Changes in v3: None Changes in v2: - this patch has been added --- drivers/tty/serial/xilinx_uartps.c | 109 + 1 file changed, 49 insertions(+), 60 deletions(-) diff --git a/driver

Re: [PATCH v7 1/6] pci: Introduce pci_register_io_range() helper function.

2014-04-04 Thread Bjorn Helgaas
On Fri, Mar 14, 2014 at 03:34:27PM +, Liviu Dudau wrote: > Some architectures do not share x86 simple view of the PCI I/O space > and instead use a range of addresses that map to bus addresses. For > some architectures these ranges will be expressed by OF bindings > in a device tree file. It's

Re: [PATCH v7 4/6] pci: Introduce a domain number for pci_host_bridge.

2014-04-04 Thread Bjorn Helgaas
On Fri, Mar 14, 2014 at 03:34:30PM +, Liviu Dudau wrote: > Make it easier to discover the domain number of a bus by storing > the number in pci_host_bridge for the root bus. Several architectures > have their own way of storing this information, so it makes sense > to try to unify the code. I

[PATCH] ARM: shmobile: r8a7791: add EHCI clock DT support

2014-04-04 Thread Sergei Shtylyov
Add the USB EHCI clock to the R8A7791 device tree. Signed-off-by: Sergei Shtylyov --- The patch is against 'renesas-devel-3.14-20140403' tag of Simon Horman's 'renesas.git' repo. arch/arm/boot/dts/r8a7791.dtsi| 25 +++-- include/dt-bindings/clock/r8a7791-clock

Re: [PATCH v7 5/6] pci: Export find_pci_host_bridge() function.

2014-04-04 Thread Bjorn Helgaas
On Fri, Mar 14, 2014 at 03:34:31PM +, Liviu Dudau wrote: > This is a useful function and we should make it visible outside the > generic PCI code. Export it as a GPL symbol. > > Signed-off-by: Liviu Dudau > Tested-by: Tanmay Inamdar > --- > drivers/pci/host-bridge.c | 3 ++- > 1 file change

[PATCH v2 2/5] ARM: zynq: dt: Convert to preprocessor includes

2014-04-04 Thread Soren Brinkmann
Convert all Zynq DT files to the dtc preprocessor include syntax. This allows to include header files in the devicetrees like other SoC-types already do. Inspired-by: Steffen Trumtrar (http://www.spinics.net/lists/arm-kernel/msg319832.html) Signed-off-by: Soren Brinkmann --- Changes in v2: Non

[PATCH v2 1/5] ARM: zynq: DT: Add 'clock-latency' property

2014-04-04 Thread Soren Brinkmann
Specify the 'clock-latency' property to avoid certain cpufreq governors from refusing to work with the following error: ondemand governor failed, too long transition latency of HW, fallback to performance governor Reported-by: Mike Looijmans Signed-off-by: Soren Brinkmann Tested-by: Mike Looi

[PATCH v2 4/5] dt-bindings: clock: Add Zynq-7000 header

2014-04-04 Thread Soren Brinkmann
Add header file with symbolic names for Zynq's clocks. Signed-off-by: Soren Brinkmann --- Changes in v2: - this patch has been added --- include/dt-bindings/clock/zynq-7000.h | 64 +++ 1 file changed, 64 insertions(+) create mode 100644 include/dt-bindings/clo

[PATCH v2 5/5] ARM: zynq: dt: Use #defines for clock specifiers

2014-04-04 Thread Soren Brinkmann
Use symbolic names instead of bare numbers to specify clocks. Signed-off-by: Soren Brinkmann --- Changes in v2: - this patch has been added --- arch/arm/boot/dts/zynq-7000.dtsi | 33 + 1 file changed, 21 insertions(+), 12 deletions(-) diff --git a/arch/arm/boo

Re: [PATCH v2 2/2] devicetree: Add devicetree bindings documentation for Cadence SPI

2014-04-04 Thread Peter Crosthwaite
On Sat, Apr 5, 2014 at 12:30 AM, Harini Katakam wrote: > Hi, > > On Fri, Apr 4, 2014 at 7:38 PM, Harini Katakam > wrote: >> Hi Mark, >> >> On Fri, Apr 4, 2014 at 6:16 PM, Mark Brown wrote: >>> On Fri, Apr 04, 2014 at 05:44:23PM +0530, Harini Katakam wrote: On Fri, Apr 4, 2014 at 3:39 PM, Ma

[PATCH v2 3/5] ARM: zynq: dt: Use #defines for interrupt specifiers

2014-04-04 Thread Soren Brinkmann
Use #defines from the common include file to describe interrupt specifiers. Signed-off-by: Soren Brinkmann --- Changes in v2: None arch/arm/boot/dts/zynq-7000.dtsi | 27 --- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/arch/arm/boot/dts/zynq-7000.dtsi

[PATCH v2 0/5] ARM: zynq: DT update

2014-04-04 Thread Soren Brinkmann
Hi, here's the complete series now. One fix for cpufreq from our vendor tree and migration to pre-processor syntax. Thanks, Sören Changes in v2: - Send full series (added patches 1, 4, 5) Soren Brinkmann (5): ARM: zynq: DT: Add 'clock-latency' property ARM: zynq: dt: Conver

Re: [PATCH v2 1/2] SPI: Add driver for Cadence SPI controller

2014-04-04 Thread Peter Crosthwaite
On Thu, Apr 3, 2014 at 9:10 PM, Harini Katakam wrote: > Add driver for Cadence SPI controller. This is used in Xilinx Zynq. > > Signed-off-by: Harini Katakam > --- > > v2 changes: > - Use xilinx compatible string too. > - Changes read register and write register functions to static inline. > - Re

Re: [PATCH 1/2] ARM: zynq: dt: Convert to preprocessor includes

2014-04-04 Thread Sören Brinkmann
Sorry this accidentally went out too early. I meant to include patches to convert the clocks as well. I'll send a v2 to include those patches. Sören -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majord...@vger.kernel.org More majordo

[PATCH 2/2] ARM: zynq: dt: Use #defines for interrupt specifiers

2014-04-04 Thread Soren Brinkmann
Use #defines from the common include file to describe interrupt specifiers. Signed-off-by: Soren Brinkmann --- --- arch/arm/boot/dts/zynq-7000.dtsi | 27 --- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/arch/arm/boot/dts/zynq-7000.dtsi b/arch/arm/boot/

[PATCH 1/2] ARM: zynq: dt: Convert to preprocessor includes

2014-04-04 Thread Soren Brinkmann
Convert all Zynq DT files to the dtc preprocessor include syntax. This allows to include header files in the devicetrees like other SoC-types already do. Inspired-by: Steffen Trumtrar (http://www.spinics.net/lists/arm-kernel/msg319832.html) Signed-off-by: Soren Brinkmann --- arch/arm/boot/dts

[PATCH v5 1/3] i2c: cadence: Document device tree bindings

2014-04-04 Thread Soren Brinkmann
Add device tree binding documentation for the Cadence I2C controller. Signed-off-by: Soren Brinkmann --- Changes in v5: - Document all properties - list clock-names as optional property (driver doesn't use it, though) - use lower case hex digits in 'reg' property - reword description of 'clo

[PATCH v5 2/3] i2c: Add driver for Cadence I2C controller

2014-04-04 Thread Soren Brinkmann
Add a driver for the Cadence I2C controller. This controller is for example found in Xilinx Zynq. Signed-off-by: Soren Brinkmann Tested-by: Michal Simek Reviewed-by: Harini Katakam --- Changes in v5: - change default speed to 100 kHz - report NACK errors with -ENXIO error code Changes in v4

[PATCH v5 3/3] ARM: zynq: dt: Add I2C nodes to Zynq device tree

2014-04-04 Thread Soren Brinkmann
Signed-off-by: Soren Brinkmann Tested-by: Michal Simek --- Changes in v5: - use lower case hex digits in 'reg' property Changes in v4: None Changes in v3: None Changes in v2: - replace 'pmbus' with 'ti' in compatibility strings of UCD devices --- arch/arm/boot/dts/zynq-7000.dtsi | 22 ++

Re: [PATCH v4 1/3] i2c: cadence: Document device tree bindings

2014-04-04 Thread Sören Brinkmann
On Fri, 2014-04-04 at 09:17PM +0200, Gerhard Sittig wrote: > On Thu, 2014-04-03 at 10:59 -0700, Soren Brinkmann wrote: > > > > Add device tree binding documentation for the Cadence I2C controller. > > > > [ ... ] > > > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/i2c/i2c-cadence.t

Re: [PATCH 74/75] ARM: l2c: always enable low power modes

2014-04-04 Thread Sören Brinkmann
On Fri, 2014-04-04 at 08:17PM +0100, Russell King - ARM Linux wrote: > On Fri, Apr 04, 2014 at 09:53:29AM -0700, Sören Brinkmann wrote: > > On Fri, 2014-03-28 at 03:51PM +, Russell King - ARM Linux wrote: > > > On Fri, Mar 28, 2014 at 10:42:54AM -0500, Rob Herring wrote: > > > > On Fri, Mar 28,

Re: [RFC PATCH 0/7] ARM: SMP: common "pen" secondary release method

2014-04-04 Thread Alex Elder
On 03/28/2014 04:12 PM, Alex Elder wrote: > This series proposes creating a single implementation of the "pen > release" (or spin-table) mechanism for starting secondary CPUs on > ARM SMP systems. This mechanism is currently implemented at least 5 > times in the kernel, each essentially identical

[PATCH v6 0/5] Krait L1/L2 EDAC driver

2014-04-04 Thread Stephen Boyd
This patchset adds support for the Krait L1/L2 cache error detection hardware. The second patch adds the Krait L2 indirection register code. This patch is in need of an ACK from ARM folks. The next two patches add the driver and the binding and the final patch fixes up the DT nodes to match the bi

[PATCH v6 3/5] devicetree: bindings: Document Krait cache error interrupts

2014-04-04 Thread Stephen Boyd
The Krait L1/L2 error reporting hardware is made up a per-CPU interrupt for the L1 cache and a SPI interrupt for the L2. Cc: Lorenzo Pieralisi Cc: Mark Rutland Cc: Kumar Gala Cc: Signed-off-by: Stephen Boyd --- Documentation/devicetree/bindings/arm/cache.txt | 48 - 1

Re: [PATCH 2/5] ARM: add SMP support for Broadcom mobile SoCs

2014-04-04 Thread Alex Elder
On 04/04/2014 12:55 PM, Stephen Boyd wrote: > On 04/03/14 19:18, Alex Elder wrote: >> + >> +/* >> + * Secondary startup method setup routine to extract the location of >> + * the secondary boot register from a "cpu" or "cpus" device tree >> + * node. Only the first seen secondary boot register val

Re: [PATCH 74/75] ARM: l2c: always enable low power modes

2014-04-04 Thread Russell King - ARM Linux
On Fri, Apr 04, 2014 at 09:53:29AM -0700, Sören Brinkmann wrote: > On Fri, 2014-03-28 at 03:51PM +, Russell King - ARM Linux wrote: > > On Fri, Mar 28, 2014 at 10:42:54AM -0500, Rob Herring wrote: > > > On Fri, Mar 28, 2014 at 10:20 AM, Russell King > > > wrote: > > > > Always enable the L2C l

Re: [PATCH v4 1/3] i2c: cadence: Document device tree bindings

2014-04-04 Thread Gerhard Sittig
On Thu, 2014-04-03 at 10:59 -0700, Soren Brinkmann wrote: > > Add device tree binding documentation for the Cadence I2C controller. > > [ ... ] > > --- /dev/null > +++ b/Documentation/devicetree/bindings/i2c/i2c-cadence.txt > @@ -0,0 +1,21 @@ > +Binding for the Cadence I2C controller > + > +Requ

[PATCH 4/4] devicetree: bindings: qcom,mmcc: Document GDSC binding

2014-04-04 Thread Stephen Boyd
Document the GDSC nodes present within the multimedia clock controller. Cc: Signed-off-by: Stephen Boyd --- .../devicetree/bindings/clock/qcom,mmcc.txt| 42 ++ 1 file changed, 42 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/qcom,mmcc.txt b/Doc

Re: [PATCH 2/5] ARM: add SMP support for Broadcom mobile SoCs

2014-04-04 Thread Alex Elder
On 04/04/2014 10:30 AM, Tim Kryger wrote: > On Thu, Apr 3, 2014 at 7:18 PM, Alex Elder wrote: > >> diff --git a/arch/arm/mach-bcm/platsmp.c b/arch/arm/mach-bcm/platsmp.c >> new file mode 100644 >> index 000..46a64f2 >> --- /dev/null >> +++ b/arch/arm/mach-bcm/platsmp.c > >> +/* Size of mappe

Re: [PATCH] clk: qcom: Various fixes for MSM8960's global clock controller

2014-04-04 Thread Stephen Boyd
On 04/04/14 09:32, Kumar Gala wrote: > * Remove CE2_SLEEP_CLK, doesn't exist on 8960 family SoCs > * Fix incorrect offset for PMIC_SSBI2_RESET > * Fix typo: > SIC_TIC -> SPS_TIC_H > SFAB_ADM0_M2_A_CLK -> SFAB_ADM0_M2_H_CLK > * Fix naming convention: > SFAB_CFPB_S_HCLK -> SFAB_CFPB

Re: [PATCH] clk: qcom: Add basic support for APQ8064 global clock controller clocks

2014-04-04 Thread Stephen Boyd
On 04/04/14 09:31, Kumar Gala wrote: > The APQ8064 and MSM8960 share a significant amount of clock data and > code between the two SoCs. Rather than duplicating the data we just add > support for a unqiue APQ8064 clock table into the MSM8960 code. > > For now add just enough clocks to get a basic

Re: [PATCH] ARM: qcom: Add initial IPQ8064 SoC and AP148 device trees

2014-04-04 Thread Stephen Boyd
On 04/04/14 09:29, Kumar Gala wrote: > diff --git a/arch/arm/boot/dts/qcom-ipq8064.dtsi > b/arch/arm/boot/dts/qcom-ipq8064.dtsi > new file mode 100644 > index 000..31f735c > --- /dev/null > +++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi > @@ -0,0 +1,122 @@ > +/dts-v1/; > + > +/include/ "skeleton.dt

Re: [PATCH] clk: qcom: Add support for IPQ8064's global clock controller (GCC)

2014-04-04 Thread Stephen Boyd
On 04/04/14 09:30, Kumar Gala wrote: > Add a driver for the global clock controller found on IPQ8064 based > platforms. This should allow most non-multimedia device drivers to probe > and control their clocks. > > This is currently missing clocks for SATA, USB, audio and networking > devices. > Th

Re: [PATCH 2/5] ARM: add SMP support for Broadcom mobile SoCs

2014-04-04 Thread Stephen Boyd
On 04/03/14 19:18, Alex Elder wrote: > + > +/* > + * Secondary startup method setup routine to extract the location of > + * the secondary boot register from a "cpu" or "cpus" device tree > + * node. Only the first seen secondary boot register value is used; > + * any others are ignored. The seco

Re: [PATCH 2/3] net: hisilicon: new hip04 MDIO driver

2014-04-04 Thread David Miller
When you make a new postings of a patch, you must resend the entire series, not just the patch which is being updated. -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/major

Re: [PATCH 1/9] pci-rcar-gen2: add devicetree support

2014-04-04 Thread Sergei Shtylyov
Hello. On 04/04/2014 09:09 PM, Bjorn Helgaas wrote: Add OF match table for pci-rcar-gen2 driver for device tree support. Signed-off-by: Ben Dooks I'm not sure what the status of this is. I saw comments about a missing #include, but I didn't see a fixed repost. Since there was none.

Re: [PATCH 1/9] pci-rcar-gen2: add devicetree support

2014-04-04 Thread Ben Dooks
On 04/04/14 18:09, Bjorn Helgaas wrote: On Thu, Mar 06, 2014 at 06:01:19PM +, Ben Dooks wrote: Add OF match table for pci-rcar-gen2 driver for device tree support. Signed-off-by: Ben Dooks I'm not sure what the status of this is. I saw comments about a missing #include, but I didn't see

Re: [PATCH 1/9] pci-rcar-gen2: add devicetree support

2014-04-04 Thread Bjorn Helgaas
On Thu, Mar 06, 2014 at 06:01:19PM +, Ben Dooks wrote: > Add OF match table for pci-rcar-gen2 driver for device tree support. > > Signed-off-by: Ben Dooks I'm not sure what the status of this is. I saw comments about a missing #include, but I didn't see a fixed repost. Ben, could you pleas

Re: [PATCH v2 6/6] PCI: designware: use new OF interrupt mapping when possible

2014-04-04 Thread Bjorn Helgaas
On Fri, Apr 04, 2014 at 11:03:41AM -0600, Bjorn Helgaas wrote: > On Wed, Mar 05, 2014 at 11:42:19AM -0700, Jason Gunthorpe wrote: > > On Wed, Mar 05, 2014 at 02:25:51PM +0100, Lucas Stach wrote: > > > - return pp->irq; > > > + irq = of_irq_parse_and_map_pci(dev, slot, pin); > > > + if (!irq) > > >

Re: [PATCH v2 6/6] PCI: designware: use new OF interrupt mapping when possible

2014-04-04 Thread Bjorn Helgaas
On Wed, Mar 05, 2014 at 11:42:19AM -0700, Jason Gunthorpe wrote: > On Wed, Mar 05, 2014 at 02:25:51PM +0100, Lucas Stach wrote: > > - return pp->irq; > > + irq = of_irq_parse_and_map_pci(dev, slot, pin); > > + if (!irq) > > + irq = pp->irq; > > In light of the two bugs that Tim fou

Re: [PATCH v2 3/6] PCI: rcar: use new OF interrupt mapping when possible

2014-04-04 Thread Bjorn Helgaas
On Wed, Mar 05, 2014 at 02:25:48PM +0100, Lucas Stach wrote: > This is the recommended method of doing the IRQ > mapping. Still fall back to the old method in order > to not break the just submitted board files. Hi Lucas, can you rebase this to Linus' current tree? This doesn't apply anymore beca

Re: [PATCH v2 2/6] PCI: tegra: use new OF interrupt mapping when possible

2014-04-04 Thread Bjorn Helgaas
On Wed, Mar 05, 2014 at 02:25:47PM +0100, Lucas Stach wrote: > This is the recommended method of doing the IRQ > mapping. For old devicetrees we fall back to the > previous practice. > > Signed-off-by: Lucas Stach > Acked-by: Arnd Bergmann Applied with Stephen's Tested-by to my pending/host-teg

Re: [PATCH 74/75] ARM: l2c: always enable low power modes

2014-04-04 Thread Sören Brinkmann
On Fri, 2014-03-28 at 03:51PM +, Russell King - ARM Linux wrote: > On Fri, Mar 28, 2014 at 10:42:54AM -0500, Rob Herring wrote: > > On Fri, Mar 28, 2014 at 10:20 AM, Russell King > > wrote: > > > Always enable the L2C low power modes on L2C-310 R3P0 and newer parts. > > > > I assume you want

[PATCH 3/3] ARM: socfpga: dts: add reset-controller

2014-04-04 Thread Steffen Trumtrar
Add the necessary #reset-cells property to the rst-mgr node and provide a header-file with all possible resets specified. Signed-off-by: Steffen Trumtrar --- arch/arm/boot/dts/socfpga.dtsi | 8 ++- include/dt-bindings/reset/altr,rst-mgr.h | 90 2 files

[PATCH] ARM: qcom: Add initial APQ8064 SoC and IFC6410 board device trees

2014-04-04 Thread Kumar Gala
Add basic APQ8064 SoC include device tree and support for basic booting on the IFC6410 board. Signed-off-by: Kumar Gala --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 12 +++ arch/arm/boot/dts/qcom-apq8064.dtsi| 151 +

[PATCH] clk: qcom: Various fixes for MSM8960's global clock controller

2014-04-04 Thread Kumar Gala
* Remove CE2_SLEEP_CLK, doesn't exist on 8960 family SoCs * Fix incorrect offset for PMIC_SSBI2_RESET * Fix typo: SIC_TIC -> SPS_TIC_H SFAB_ADM0_M2_A_CLK -> SFAB_ADM0_M2_H_CLK * Fix naming convention: SFAB_CFPB_S_HCLK -> SFAB_CFPB_S_H_CLK SATA_SRC_CLK -> SATA_CLK_SRC

Re: [PATCH v4 2/3] i2c: Add driver for Cadence I2C controller

2014-04-04 Thread Sören Brinkmann
On Fri, 2014-04-04 at 04:38PM +0200, Wolfram Sang wrote: > On Thu, Apr 03, 2014 at 10:59:26AM -0700, Soren Brinkmann wrote: > > Add a driver for the Cadence I2C controller. This controller is for > > example found in Xilinx Zynq. > > > > Signed-off-by: Soren Brinkmann > > Tested-by: Michal Simek

[PATCH 1/3] reset: add driver for socfpga

2014-04-04 Thread Steffen Trumtrar
Add a reset-controller driver for the socfpga platform. The reset-controller has four banks with up to 32 entries all encapsulated in one module block. Signed-off-by: Steffen Trumtrar --- drivers/reset/Makefile| 1 + drivers/reset/reset-socfpga.c | 149 +

[PATCH] clk: qcom: Add basic support for APQ8064 global clock controller clocks

2014-04-04 Thread Kumar Gala
The APQ8064 and MSM8960 share a significant amount of clock data and code between the two SoCs. Rather than duplicating the data we just add support for a unqiue APQ8064 clock table into the MSM8960 code. For now add just enough clocks to get a basic serial port going on an APQ8064 device. Signe

[PATCH 2/3] Documentation: dt: socfpga: add reset-cells property

2014-04-04 Thread Steffen Trumtrar
To be able to use the reset-controller framework, the property #reset-cells is mandatory. Signed-off-by: Steffen Trumtrar --- Documentation/devicetree/bindings/arm/altera/socfpga-reset.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/altera/

[PATCH 0/3] reset: add socfpga reset-controller

2014-04-04 Thread Steffen Trumtrar
Hi! This series converts the current rst-mgr entry in the socfpga.dtsi to a driver that registers with the reset-controller framework. 1/3 adds the driver, 2/3 updates the binding to reflect this 3/3 updates the socfpga.dtsi and adds the DT-header file Regards, Steffen Steffen Trumtrar (3): r

[PATCH] ARM: qcom: Add initial IPQ8064 SoC and AP148 device trees

2014-04-04 Thread Kumar Gala
Add basic IPQ8064 SoC include device tree and support for basic booting on the AP148 Reference board. Also, keep dtb build list and qcom_dt_match in sorted order. Signed-off-by: Kumar Gala --- arch/arm/boot/dts/Makefile | 8 +- arch/arm/boot/dts/qcom-ipq8064-ap148.dts | 12 +++

Re: [PATCH 1/9] crypto: qce: Add core driver implementation

2014-04-04 Thread Stanimir Varbanov
Hi Josh, Thanks for the comments! On 04/03/2014 09:19 PM, Josh Cartwright wrote: > Hey Stanimir- > > Just a few comments/questions from a quick scan of your patchset: > > On Thu, Apr 03, 2014 at 07:17:58PM +0300, Stanimir Varbanov wrote: > [..] >> +++ b/drivers/crypto/qce/core.c > [..] >> + >>

[PATCH 2/3] net: hisilicon: new hip04 MDIO driver

2014-04-04 Thread Zhangfei Gao
Hisilicon hip04 platform mdio driver Reuse Marvell phy drivers/net/phy/marvell.c Signed-off-by: Zhangfei Gao --- drivers/net/ethernet/Kconfig|1 + drivers/net/ethernet/Makefile |1 + drivers/net/ethernet/hisilicon/Kconfig | 31 + drivers/net/ether

[PATCH 2/3] net: hisilicon: new hip04 MDIO driver

2014-04-04 Thread Zhangfei Gao
Hisilicon hip04 platform mdio driver Reuse Marvell phy drivers/net/phy/marvell.c Signed-off-by: Zhangfei Gao --- drivers/net/ethernet/Kconfig|1 + drivers/net/ethernet/Makefile |1 + drivers/net/ethernet/hisilicon/Kconfig | 31 + drivers/net/ether

Re: [PATCH 2/3] net: hisilicon: new hip04 MDIO driver

2014-04-04 Thread David Miller
From: zhangfei Date: Fri, 04 Apr 2014 23:40:24 +0800 > Thanks Daivd, could I update following this thread first. You will need to address my feedback, as well as that which anyone else reviewing this series gives to you. It is not acceptable, ever, to "just fix it later". You must fix all issu

Re: [PATCH 2/3] net: hisilicon: new hip04 MDIO driver

2014-04-04 Thread zhangfei
On 04/04/2014 11:30 PM, David Miller wrote: From: Zhangfei Gao Date: Fri, 4 Apr 2014 23:16:36 +0800 +config HIP04_ETH + tristate "HISILICON P04 Ethernet support" + select NET_CORE + select PHYLIB + select MARVELL_PHY + select MFD_SYSCON + ---help--- +

Re: [PATCH 2/5] ARM: add SMP support for Broadcom mobile SoCs

2014-04-04 Thread Tim Kryger
On Thu, Apr 3, 2014 at 7:18 PM, Alex Elder wrote: > diff --git a/arch/arm/mach-bcm/platsmp.c b/arch/arm/mach-bcm/platsmp.c > new file mode 100644 > index 000..46a64f2 > --- /dev/null > +++ b/arch/arm/mach-bcm/platsmp.c > +/* Size of mapped Cortex A9 SCU address space */ > +#define SCU_SIZE

Re: [PATCH 2/3] net: hisilicon: new hip04 MDIO driver

2014-04-04 Thread David Miller
From: Zhangfei Gao Date: Fri, 4 Apr 2014 23:16:36 +0800 > +config HIP04_ETH > + tristate "HISILICON P04 Ethernet support" > + select NET_CORE > + select PHYLIB > + select MARVELL_PHY > + select MFD_SYSCON > + ---help--- > + If you wish to compile a kernel for a hard

[PATCH 2/3] net: hisilicon: new hip04 MDIO driver

2014-04-04 Thread Zhangfei Gao
Hisilicon hip04 platform mdio driver Reuse Marvell phy drivers/net/phy/marvell.c Signed-off-by: Zhangfei Gao --- drivers/net/ethernet/Kconfig|1 + drivers/net/ethernet/Makefile |1 + drivers/net/ethernet/hisilicon/Kconfig | 32 + drivers/net/ether

[PATCH 3/3] net: hisilicon: new hip04 ethernet driver

2014-04-04 Thread Zhangfei Gao
Support Hisilicon hip04 ethernet driver, including 100M / 1000M controller Signed-off-by: Zhangfei Gao --- drivers/net/ethernet/hisilicon/Makefile|2 +- drivers/net/ethernet/hisilicon/hip04_eth.c | 777 2 files changed, 778 insertions(+), 1 deletion(-) crea

[PATCH v6 0/3] add hisilicon hip04 ethernet driver

2014-04-04 Thread Zhangfei Gao
v6: Suggest by Russell: Use netdev_sent_queue & netdev_completed_queue to solve latency issue Also shorten the period of timer, which is used to wakeup the queue since no tx completed interrupt. v5: no big change, fix typo v4: Modify accoringly to the suggetion from Arnd, Florian, Eric, David U

[PATCH 1/3] Documentation: add Device tree bindings for Hisilicon hip04 ethernet

2014-04-04 Thread Zhangfei Gao
This patch adds the Device Tree bindings for the Hisilicon hip04 Ethernet controller, including 100M / 1000M controller. Signed-off-by: Zhangfei Gao --- .../bindings/net/hisilicon-hip04-net.txt | 88 1 file changed, 88 insertions(+) create mode 100644 Documenta

[PATCH 1/4] clk: propagate parent change up one level

2014-04-04 Thread Tomasz Stanislawski
This patch adds support for propagation of setup of clock's parent one level up. This feature is helpful when a driver changes topology of its clocks using clk_set_parent(). The problem occurs when on one platform/SoC driver's clock is located at MUX output but on the other platform/SoC there is

Re: [PATCH 59/75] ARM: l2c: prima2: remove cache size override

2014-04-04 Thread Barry Song
2014-04-04 22:10 GMT+08:00 Russell King - ARM Linux : > On Fri, Apr 04, 2014 at 09:40:31PM +0800, Barry Song wrote: >> 2014-03-28 23:19 GMT+08:00 Russell King : >> > Signed-off-by: Russell King >> > --- >> > arch/arm/boot/dts/marco.dtsi | 2 +- >> > arch/arm/boot/dts/prima2.dtsi | 2 +- >> > a

[PATCH 4/4] Revert "drm/exynos: add mout_hdmi clock in hdmi driver to change parent"

2014-04-04 Thread Tomasz Stanislawski
This reverts commit 59956d35a8618235ea715280b49447bb36f2c975. Signed-off-by: Tomasz Stanislawski --- drivers/gpu/drm/exynos/exynos_hdmi.c | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hd

[PATCH 3/4] clk: exynos4: enable clk_set_parent() propagation for sclk_hdmi and sclk_mixer clocks

2014-04-04 Thread Tomasz Stanislawski
This patch enables clk_set_parent() propagation for clocks used by s5p-tv and exynos-drm drivers. Signed-off-by: Tomasz Stanislawski --- drivers/clk/samsung/clk-exynos4.c |6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/clk/samsung/clk-exynos4.c b/drivers/clk

[PATCH 2/4] clk: exynos4: export sclk_hdmiphy clock

2014-04-04 Thread Tomasz Stanislawski
Export sclk_hdmiphy clock to be usable from DT. Signed-off-by: Tomasz Stanislawski --- drivers/clk/samsung/clk-exynos4.c |2 +- include/dt-bindings/clock/exynos4.h |1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/samsung/clk-exynos4.c b/drivers/clk/samsu

[PATCH 0/4] Update to Exynos clocks

2014-04-04 Thread Tomasz Stanislawski
This patchset adds some updates to clocks for Exynos4 platform and to the clock core. The patches are rebased on linux/next. An interesting part might be 'propagation of clk_set_parent()'. This feature simplifies configuration of complex topologyof clocks by drivers. Such a situation happens fo

[RFC 2/5] ARM: tegra: Add new PCIe regulator properties

2014-04-04 Thread Thierry Reding
These new properties more accurately reflect the real connections of the boards and therefore make it easier to match them up with schematics. Signed-off-by: Thierry Reding --- arch/arm/boot/dts/tegra20-harmony.dts | 10 +- arch/arm/boot/dts/tegra20-tamonten.dtsi | 7 +++ arch/arm

[RFC 4/5] PCI: tegra: Remove deprecated power supply properties

2014-04-04 Thread Thierry Reding
These power supply properties are no longer needed since the binding now contains the full set properties to accurately describe the power supply inputs of the Tegra PCIe block. Signed-off-by: Thierry Reding --- Documentation/devicetree/bindings/pci/nvidia,tegra20-pcie.txt | 5 - 1 file chan

[RFC 1/5] PCI: tegra: Overhaul regulator usage

2014-04-04 Thread Thierry Reding
The current usage of regulators for the Tegra PCIe block is wrong. It doesn't accurately reflect the actual supply inputs of the IP block and therefore isn't as flexible as it should be. Rectify this by describing all possible supply inputs in the device tree binding documentation and deprecate the

[RFC 0/5] PCI: tegra: Overhaul regulator usage

2014-04-04 Thread Thierry Reding
The current device tree binding for the regulator setup on Tegra PCIe is not accurate. While it does work for current use-cases, that's likely by accident rather than design. This series replaces the existing set of power-supply properties with a new set that accurately describes the inputs of the

[RFC 5/5] ARM: tegra: Remove legacy PCIe power supply properties

2014-04-04 Thread Thierry Reding
These properties are deprecated and no longer of any use. Signed-off-by: Thierry Reding --- arch/arm/boot/dts/tegra20-harmony.dts | 4 arch/arm/boot/dts/tegra20-tamonten.dtsi | 4 arch/arm/boot/dts/tegra20-trimslice.dts | 4 arch/arm/boot/dts/tegra30-beaver.dts| 5 - arc

Re: [PATCH v2 2/2] devicetree: Add devicetree bindings documentation for Cadence SPI

2014-04-04 Thread Harini Katakam
Hi Mark, On Fri, Apr 4, 2014 at 8:12 PM, Mark Brown wrote: > On Fri, Apr 04, 2014 at 07:38:14PM +0530, Harini Katakam wrote: > >> OK. I understand. >> Can you comment on the case where a decoder is used? > >> There is support for adding a decoder where extended slaves can be selected >> through t

Re: [PATCH v2 2/2] devicetree: Add devicetree bindings documentation for Cadence SPI

2014-04-04 Thread Mark Brown
On Fri, Apr 04, 2014 at 07:38:14PM +0530, Harini Katakam wrote: > OK. I understand. > Can you comment on the case where a decoder is used? > There is support for adding a decoder where extended slaves can be selected > through the IP's control register. > (This is not currently implemented in the

Re: [PATCH v4 2/3] i2c: Add driver for Cadence I2C controller

2014-04-04 Thread Wolfram Sang
On Thu, Apr 03, 2014 at 10:59:26AM -0700, Soren Brinkmann wrote: > Add a driver for the Cadence I2C controller. This controller is for > example found in Xilinx Zynq. > > Signed-off-by: Soren Brinkmann > Tested-by: Michal Simek > Reviewed-by: Harini Katakam Only minor stuff, but since you rese

Re: [PATCH v2 2/2] devicetree: Add devicetree bindings documentation for Cadence SPI

2014-04-04 Thread Harini Katakam
Hi, On Fri, Apr 4, 2014 at 7:38 PM, Harini Katakam wrote: > Hi Mark, > > On Fri, Apr 4, 2014 at 6:16 PM, Mark Brown wrote: >> On Fri, Apr 04, 2014 at 05:44:23PM +0530, Harini Katakam wrote: >>> On Fri, Apr 4, 2014 at 3:39 PM, Mark Brown wrote: >>> > On Fri, Apr 04, 2014 at 08:30:38AM +0530, Har

RE: [PATCH] of: fix of_update_property [v2]

2014-04-04 Thread Grant Likely
On Fri, 4 Apr 2014 08:30:42 +, "li.xi...@freescale.com" wrote: > > Subject: RE: [PATCH] of: fix of_update_property [v2] > > > > On Wed, 2 Apr 2014 05:29:53 +, "li.xi...@freescale.com" > > wrote: > > > > > > > > > > > @@ -1776,25 +1776,26 @@ int of_update_property(struct device_node *np,

Re: [PATCH 59/75] ARM: l2c: prima2: remove cache size override

2014-04-04 Thread Russell King - ARM Linux
On Fri, Apr 04, 2014 at 09:40:31PM +0800, Barry Song wrote: > 2014-03-28 23:19 GMT+08:00 Russell King : > > Signed-off-by: Russell King > > --- > > arch/arm/boot/dts/marco.dtsi | 2 +- > > arch/arm/boot/dts/prima2.dtsi | 2 +- > > arch/arm/mach-prima2/l2x0.c | 34 +---

Re: [PATCH v2] axs_nand - add driver for NAND controller used on Synopsys AXS dev boards

2014-04-04 Thread Ezequiel Garcia
On Apr 04, Alexey Brodkin wrote: > Signed-off-by: Alexey Brodkin > Maybe it would be nice adding some driver description here, so the commit log actually says something useful about the commit. [..] > Reviewed-by: Ezequiel Garcia > > +/** > + * axs_flag_wait_and_reset - Waits until requested

Re: [PATCH v2 2/2] devicetree: Add devicetree bindings documentation for Cadence SPI

2014-04-04 Thread Harini Katakam
Hi Mark, On Fri, Apr 4, 2014 at 6:16 PM, Mark Brown wrote: > On Fri, Apr 04, 2014 at 05:44:23PM +0530, Harini Katakam wrote: >> On Fri, Apr 4, 2014 at 3:39 PM, Mark Brown wrote: >> > On Fri, Apr 04, 2014 at 08:30:38AM +0530, Harini Katakam wrote: > >> >> This IP can drive 4 slaves. >> >> The CS

Re: [PATCH 59/75] ARM: l2c: prima2: remove cache size override

2014-04-04 Thread Barry Song
2014-03-28 23:19 GMT+08:00 Russell King : > Signed-off-by: Russell King > --- > arch/arm/boot/dts/marco.dtsi | 2 +- > arch/arm/boot/dts/prima2.dtsi | 2 +- > arch/arm/mach-prima2/l2x0.c | 34 +- > 3 files changed, 3 insertions(+), 35 deletions(-) > > diff --g

Re: [PATCH v2 2/2] devicetree: Add devicetree bindings documentation for Cadence SPI

2014-04-04 Thread Mark Brown
On Fri, Apr 04, 2014 at 05:44:23PM +0530, Harini Katakam wrote: > On Fri, Apr 4, 2014 at 3:39 PM, Mark Brown wrote: > > On Fri, Apr 04, 2014 at 08:30:38AM +0530, Harini Katakam wrote: > >> This IP can drive 4 slaves. > >> The CS line to be driven is selected in spi device structure and > >> that

[PATCH v4 1/8] OF: Introduce Device Tree resolve support.

2014-04-04 Thread Pantelis Antoniou
Introduce support for dynamic device tree resolution. Using it, it is possible to prepare a device tree that's been loaded on runtime to be modified and inserted at the kernel live tree. Export of of_resolve by Guenter Roeck Signed-off-by: Pantelis Antoniou --- .../devicetree/dynamic-resolutio

[PATCH v4 5/8] of: i2c: Export single device registration method

2014-04-04 Thread Pantelis Antoniou
From: Pantelis Antoniou Dynamically inserting i2c client device nodes requires the use of a single device registration method. Rework and export it. Signed-off-by: Pantelis Antoniou --- drivers/i2c/i2c-core.c | 99 +++--- include/linux/i2c.h| 10

[PATCH v4 4/8] OF: platform: Add overlay bus handler

2014-04-04 Thread Pantelis Antoniou
Add the bus handler registration needed for performing overlays containing platform devices. Signed-off-by: Pantelis Antoniou --- drivers/base/platform.c | 98 +++-- 1 file changed, 95 insertions(+), 3 deletions(-) diff --git a/drivers/base/platform.c

[PATCH v4 8/8] OF: selftest: Add overlay self-test support.

2014-04-04 Thread Pantelis Antoniou
This patch adds overlay tests to the OF selftest. It tests overlay device addition/removal and whether the apply revert sequence is correct. Signed-off-by: Pantelis Antoniou --- drivers/of/selftest.c | 368 drivers/of/testcase-data/testcases.dt

  1   2   >