Re: [PATCH] serial: 8250: Make ISA ports optional

2015-01-08 Thread Peter Hurley
On 01/08/2015 05:36 PM, One Thousand Gnomes wrote: One idea that has come up in the past but never saw an implementation is to make the ttyS namespace and minor numbers completely generic and let any serial port driver use it. This would be a major rework, but have the added advantage of

Re: [PATCH] serial: 8250: Make ISA ports optional

2015-01-08 Thread Peter Hurley
On 01/08/2015 05:05 PM, Arnd Bergmann wrote: On Thursday 08 January 2015 11:11:51 Peter Hurley wrote: This interface is just storage and minor allocation, since the port-reuse behavior will be limited to the universal driver. From a sub-driver perspective, the shared storage is actually a

Re: [RFC] usb: dwc3: add DWC3_SKIP_USB3PHY and DWC3_SKIP_USB2_PHY quirks

2015-01-08 Thread Jisheng Zhang
Hi Felipe, On Thu, 8 Jan 2015 09:08:15 -0800 Felipe Balbi ba...@ti.com wrote: Hi, On Mon, Dec 08, 2014 at 09:35:51PM +0800, Jisheng Zhang wrote: On platforms which has native usb hosts/phys and pci-dwc3 controller, the dwc3 core may get the wrong usb2_phy and usb3_phy by

Re: [PATCH] ARM: omap2plus_defconfig: Enable misc options for BeagleBoard-X15 platform

2015-01-08 Thread Felipe Balbi
hi, On Thu, Jan 08, 2015 at 03:49:11PM -0600, Nishanth Menon wrote: On Thu, Jan 8, 2015 at 3:25 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Thu, Jan 08, 2015 at 03:14:40PM -0600, Nishanth Menon wrote: @@ -205,6 +206,7 @@ CONFIG_PINCTRL_SINGLE=y CONFIG_DEBUG_GPIO=y

Re: [PATCH] ARM: omap2plus_defconfig: Enable misc options for BeagleBoard-X15 platform

2015-01-08 Thread Felipe Balbi
On Thu, Jan 08, 2015 at 03:14:40PM -0600, Nishanth Menon wrote: BeagleBoard-X15 has options such as rtc, fan that need to be functional Signed-off-by: Nishanth Menon n...@ti.com Reviewed-by: Felipe Balbi ba...@ti.com --- Applies on

Re: [PATCH] ARM: omap2plus_defconfig: Enable misc options for BeagleBoard-X15 platform

2015-01-08 Thread Nishanth Menon
On Thu, Jan 8, 2015 at 3:25 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Thu, Jan 08, 2015 at 03:14:40PM -0600, Nishanth Menon wrote: @@ -205,6 +206,7 @@ CONFIG_PINCTRL_SINGLE=y CONFIG_DEBUG_GPIO=y CONFIG_GPIO_SYSFS=y CONFIG_GPIO_TWL4030=y +CONFIG_GPIO_PALMAS=y other than the power

Re: [PATCH] serial: 8250: Make ISA ports optional

2015-01-08 Thread Arnd Bergmann
On Thursday 08 January 2015 11:11:51 Peter Hurley wrote: This interface is just storage and minor allocation, since the port-reuse behavior will be limited to the universal driver. From a sub-driver perspective, the shared storage is actually a hindrance, so that reduces the requirement to

Re: [PATCH] serial: 8250: Make ISA ports optional

2015-01-08 Thread One Thousand Gnomes
One idea that has come up in the past but never saw an implementation is to make the ttyS namespace and minor numbers completely generic and let any serial port driver use it. This would be a major rework, but have the added advantage of cleaning up a number of other namespace issues as well.

Re: [GIT PULL] omap fixes against v3.19-rc1

2015-01-08 Thread Olof Johansson
On Tue, Jan 06, 2015 at 03:18:14PM -0800, Tony Lindgren wrote: The following changes since commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672: Linux 3.19-rc1 (2014-12-20 17:08:50 -0800) are available in the git repository at:

[PATCH v2 2/2] phy: ti-pipe3: Fix SATA across suspend/resume

2015-01-08 Thread Roger Quadros
Failed test case: Boot without SATA drive connected. Suspend/resume the board and then connect SATA drive. It fails to enumerate. Due to Errata i783 SATA Lockup After SATA DPLL Unlock/Relock we can't allow SATA DPLL to be in the unlocked state. The SATA refclk (sata_ref_clk) is the source of the

Re: [PATCH v2 06/21] ARM: tegra: remove old LIC support

2015-01-08 Thread Thierry Reding
On Wed, Jan 07, 2015 at 05:42:41PM +, Marc Zyngier wrote: [...] diff --git a/arch/arm/mach-tegra/irq.c b/arch/arm/mach-tegra/irq.c [...] void __init tegra_init_irq(void) { - int i; - void __iomem *distbase; - - if (of_find_matching_node(NULL, tegra_ictlr_match)) -

[PATCH v2] ARM: DRA7: hwmod: Fix boot crash with DEBUG_LL enabled on UART3

2015-01-08 Thread Lokesh Vutla
With commit '7dedd34: ARM: OMAP2+: hwmod: Fix a crash in _setup_reset() with DEBUG_LL' we moved from parsing cmdline to identify uart used for earlycon to using the requsite hwmod CONFIG_DEBUG_OMAPxUARTy FLAGS. On DRA7 UART3 hwmod doesn't have this flag enabled, and atleast on BeagleBoard-X15,

Re: [PATCH] serial: 8250: Make ISA ports optional

2015-01-08 Thread One Thousand Gnomes
On Mon, 5 Jan 2015 22:09:45 -0500 Peter Hurley pe...@hurleysoftware.com wrote: Some arches have no need to create unprobed 8250 ports; these phantom ports are primarily required for ISA ports which have no probe mechanism or to provide non-operational ports for userspace to configure (via

Re: [PATCH v2 01/21] ARM: tegra: irq: nuke leftovers from non-DT support

2015-01-08 Thread Thierry Reding
On Wed, Jan 07, 2015 at 05:42:36PM +, Marc Zyngier wrote: The GIC is now always initialized from DT on tegra, and there is no point in keeping non-DT init code. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- arch/arm/mach-tegra/irq.c | 8 1 file changed, 8 deletions(-)

Re: [PATCH] ARM: dts: Revert disabling of smc91x for n900

2015-01-08 Thread Pali Rohár
On Wednesday 07 January 2015 17:40:06 Tony Lindgren wrote: [ 1.943] getting value of option 'RD flags set' [ 1.948] SETUP: WR VND DEVICEreq 42 value index length 001b [ 1.956] Image 'kernel' won't fit to the partition, still loading it (4814592 bytes, while maximum is

Re: [PATCH v2 02/21] irqchip: tegra: add DT-based support for legacy interrupt controller

2015-01-08 Thread Thierry Reding
On Wed, Jan 07, 2015 at 05:42:37PM +, Marc Zyngier wrote: Tegra's LIC (Legacy Interrupt Controller) has been so far only supported as a weird extension of the GIC, which is not exactly pretty. The stacked irq domain framework fits this pretty well, and allows Nit: s/irq/IRQ/ the LIC

Re: [PATCH v2 03/21] ARM: tegra: skip gic_arch_extn setup if DT has a LIC node

2015-01-08 Thread Thierry Reding
On Wed, Jan 07, 2015 at 05:42:38PM +, Marc Zyngier wrote: If we detect that our DT has a LIC node, don't setup gic_arch_extn, and skip tegra_legacy_irq_syscore_init as well. This is only a temporary measure until that code is removed for good. Signed-off-by: Marc Zyngier

Re: [PATCH v2] ARM: dts: cm-t3x: add NAND support

2015-01-08 Thread Roger Quadros
On 08/01/15 02:16, Tony Lindgren wrote: * Dmitry Lifshitz lifsh...@compulab.co.il [141229 23:42]: On 12/29/2014 03:06 PM, Roger Quadros wrote: On 28/12/14 16:30, Dmitry Lifshitz wrote: --- a/arch/arm/boot/dts/omap3-cm-t3x30.dtsi +++ b/arch/arm/boot/dts/omap3-cm-t3x30.dtsi @@ -50,7 +50,8 @@

Re: [PATCH v2 05/21] DT: tegra: add binding for the legacy interrupt controller

2015-01-08 Thread Thierry Reding
On Wed, Jan 07, 2015 at 05:42:40PM +, Marc Zyngier wrote: Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- .../interrupt-controller/nvidia,tegra-ictlr.txt| 39 ++ 1 file changed, 39 insertions(+) create mode 100644

Re: [PATCH 2/2] ARM: DRA7xx: hwmod: set DSS submodule parent hwmods

2015-01-08 Thread Paul Walmsley
Hi Tomi, your detailed description of the problem is really great; thanks for the summary. On Mon, 5 Jan 2015, Tomi Valkeinen wrote: On 03/01/15 00:50, Paul Walmsley wrote: On Fri, 19 Dec 2014, Tomi Valkeinen wrote: Set DSS core hwmod as the parent for all the DSS submodules. This

Re: [PATCH v2 04/21] ARM: tegra: update DTs to expose legacy interrupt controller

2015-01-08 Thread Thierry Reding
On Wed, Jan 07, 2015 at 05:42:39PM +, Marc Zyngier wrote: Describe the legacy interrupt controller in every tegra DTSI files, and make it the parent of most interrupts. Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- arch/arm/boot/dts/tegra114.dtsi | 16 +++-

Re: [PATCH 2/2] ARM: DRA7xx: hwmod: set DSS submodule parent hwmods

2015-01-08 Thread Tomi Valkeinen
On 08/01/15 12:15, Paul Walmsley wrote: For DSS, the bit 0, DSS_DESHDCP_CLKEN is critical. While the bit is rather undocumented, it presumably enables a clock for DSS's HDCP. Now, we don't support HDPC in the display driver, but unfortunately the clock is required for the DSS hardware to

[PATCH] dtc: parser: Add label while overriding nodes

2015-01-08 Thread Nikhil Devshatwar
Current device tree compiler allows to define multiple labels when defining the device node the first time. Typically device nodes are defined in DTSI files. Now these nodes can be overriden for updating some of the properties. Typically, device nodes are overridden in DTS files. When working

Re: [PATCH v2 08/21] irqchip: crossbar: convert dra7 crossbar to stacked domains

2015-01-08 Thread Nishanth Menon
On 17:42-20150107, Marc Zyngier wrote: [..] diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index 10b725c..048cfeb 100644 --- a/arch/arm/boot/dts/dra7-evm.dts +++ b/arch/arm/boot/dts/dra7-evm.dts @@ -423,7 +423,7 @@ status = okay; pinctrl-names =

Re: [PATCH v2 02/21] irqchip: tegra: add DT-based support for legacy interrupt controller

2015-01-08 Thread Nishanth Menon
On 17:42-20150107, Marc Zyngier wrote: Tegra's LIC (Legacy Interrupt Controller) has been so far only supported as a weird extension of the GIC, which is not exactly pretty. The stacked irq domain framework fits this pretty well, and allows the LIC code to be turned into a standalone

Re: [PATCH v2 08/21] irqchip: crossbar: convert dra7 crossbar to stacked domains

2015-01-08 Thread Nishanth Menon
On 17:42-20150107, Marc Zyngier wrote: a few more minor comments follow: [..] --- a/drivers/irqchip/irq-crossbar.c +++ b/drivers/irqchip/irq-crossbar.c [..] @@ -33,6 +34,7 @@ * @write: register write function pointer */ struct crossbar_device { + raw_spinlock_t lock; ^^ kernel

Re: [PATCH v2 13/21] DT: omap4/5: add binding for the wake-up generator

2015-01-08 Thread Nishanth Menon
On 17:42-20150107, Marc Zyngier wrote: Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- .../interrupt-controller/ti,omap4-wugen-mpu| 32 ++ 1 file changed, 32 insertions(+) create mode 100644

Re: [PATCH v2 14/21] ARM: imx6: convert GPC to stacked domains

2015-01-08 Thread Nishanth Menon
On 17:42-20150107, Marc Zyngier wrote: IMX6 has been (ab)using the gic_arch_extn to provide wakeup from suspend, and it makes a lot of sense to convert this code to use stacked domains instead. This patch does just this, updating the DT files to actually reflect what the HW provides.

Re: [PATCH v2 15/21] ARM: exynos4/5: convert pmu wakeup to stacked domains

2015-01-08 Thread Nishanth Menon
On 17:42-20150107, Marc Zyngier wrote: Exynos has been (ab)using the gic_arch_extn to provide wakeup from suspend, and it makes a lot of sense to convert this code to use stacked domains instead. This patch does just this, updating the DT files to actually reflect what the HW provides.

Re: [RFC] usb: dwc3: add DWC3_SKIP_USB3PHY and DWC3_SKIP_USB2_PHY quirks

2015-01-08 Thread Felipe Balbi
Hi, On Mon, Dec 08, 2014 at 09:35:51PM +0800, Jisheng Zhang wrote: On platforms which has native usb hosts/phys and pci-dwc3 controller, the dwc3 core may get the wrong usb2_phy and usb3_phy by devm_usb_get_phy(). It depends on which usb phy driver is initialized firstly, the usb_phy_generic

Re: [PATCH v2 05/21] DT: tegra: add binding for the legacy interrupt controller

2015-01-08 Thread Nishanth Menon
On 17:42-20150107, Marc Zyngier wrote: Signed-off-by: Marc Zyngier marc.zyng...@arm.com --- .../interrupt-controller/nvidia,tegra-ictlr.txt| 39 ++ 1 file changed, 39 insertions(+) create mode 100644

Re: [PATCH v2 07/21] genirq: Add irqchip_set_wake_parent

2015-01-08 Thread Nishanth Menon
On 17:42-20150107, Marc Zyngier wrote: This proves to be usefull with stacked domains, when the current ^^ useful ? minor: +WARNING: 'usefull' may be misspelled - perhaps 'useful'? +#6: +This proves to be usefull with stacked domains, when the current +CHECK: extern

Re: [PATCH v2 12/21] ARM: omap: convert wakeupgen to stacked domains

2015-01-08 Thread Nishanth Menon
On 17:42-20150107, Marc Zyngier wrote: OMAP4/5 has been (ab)using the gic_arch_extn to provide wakeup from suspend, and it makes a lot of sense to convert this code to use stacked domains instead. This patch does just this, updating the DT files to actually reflect what the HW provides.

Re: [PATCH] serial: 8250: Make ISA ports optional

2015-01-08 Thread Peter Hurley
On 01/08/2015 08:10 AM, One Thousand Gnomes wrote: On Mon, 5 Jan 2015 22:09:45 -0500 Peter Hurley pe...@hurleysoftware.com wrote: Some arches have no need to create unprobed 8250 ports; these phantom ports are primarily required for ISA ports which have no probe mechanism or to provide

Re: [PATCH v2 10/21] irqchip: GIC: get rid of routable domain

2015-01-08 Thread Nishanth Menon
On 17:42-20150107, Marc Zyngier wrote: The only user of the so called routable domain functionnality minor: s/functionnality/functionality? -- Regards, Nishanth Menon -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org

Re: [PATCH 1/5] mfd: tps65218: make INT[12] and STATUS registers volatile

2015-01-08 Thread Felipe Balbi
On Tue, Jan 06, 2015 at 11:37:34AM -0600, Felipe Balbi wrote: On Fri, Dec 26, 2014 at 01:28:20PM -0600, Felipe Balbi wrote: STATUS register can be modified by the HW, so we should bypass cache because of that. In the case of INT[12] registers, they are the ones that actually clear the

Re: [PATCH] ARM: dts: Revert disabling of smc91x for n900

2015-01-08 Thread Tony Lindgren
* Pali Rohár pali.ro...@gmail.com [150108 01:04]: On Wednesday 07 January 2015 17:40:06 Tony Lindgren wrote: [ 1.943] getting value of option 'RD flags set' [ 1.948] SETUP: WR VND DEVICEreq 42 value index length 001b [ 1.956] Image 'kernel' won't fit to the

[PATCH] ARM: omap2plus_defconfig: Enable misc options for BeagleBoard-X15 platform

2015-01-08 Thread Nishanth Menon
BeagleBoard-X15 has options such as rtc, fan that need to be functional Signed-off-by: Nishanth Menon n...@ti.com --- Applies on git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap.git branch: omap-for-v3.20/defconfig 4af41284e83c ARM: omap2plus_defconfig: enable TPS65218 power

Re: [PATCH] ARM: omap2plus_defconfig: Enable misc options for BeagleBoard-X15 platform

2015-01-08 Thread Felipe Balbi
Hi, On Thu, Jan 08, 2015 at 03:14:40PM -0600, Nishanth Menon wrote: @@ -205,6 +206,7 @@ CONFIG_PINCTRL_SINGLE=y CONFIG_DEBUG_GPIO=y CONFIG_GPIO_SYSFS=y CONFIG_GPIO_TWL4030=y +CONFIG_GPIO_PALMAS=y other than the power button, do you have anything else attached to a palmas GPIO ? We might