I2C dummy, regmap, irq domain issue

2012-07-31 Thread Graeme Gregory
I have an interesting issue with the combination of i2c dummy devices, regmap-irq and domains. I have been adding device tree support to the palmas mfd driver. The palmas device has 3 i2c addresses it responds to so it has one normal i2c device and 2 dummy devices to claim the 2nd/3rd addresses

Re: [net-next: PATCH v3 0/7] Armada 7k/8k PP2 ACPI support

2018-01-18 Thread graeme . gregory
Tables/Armada70x0/Dsdt.asl#L131 > > I will appreciate any comments or remarks. > Nice work, this looks pretty neat to me, for series. Reviewed-by: Graeme Gregory Thanks Graeme > Best regards, > Marcin > > Changelog: > v2 -> v3: > * 1/7, 2/7 > - Add Rafael's Acked-

Re: [PATCH 09/11] mfd: tps65910: Make it explicitly non-modular

2018-11-22 Thread Graeme Gregory
that information > was (or is now) contained at the top of the file in the comments. > This is all fine with me. Acked-by: Graeme Gregory Thanks > Cc: Tony Lindgren > Cc: Lee Jones > Cc: Graeme Gregory > Cc: Jorge Eduardo Candelaria > Cc: linux-o...@vger.kernel.org > Signed-off-by

Re: [PATCH v4 18/18] Documentation: ACPI for ARM64

2014-09-17 Thread Graeme Gregory
On Wed, Sep 17, 2014 at 02:44:10AM +0100, Matthew Garrett wrote: > On Fri, Sep 12, 2014 at 10:00:16PM +0800, Hanjun Guo wrote: > > > +Common _DSD bindings should be submitted to ASWG to be included in the > > +document :- > > + > >

Re: [PATCH 4/4] [RFC PATCH for Juno 2/2] tty: SBSA compatible UART

2014-09-17 Thread Graeme Gregory
On Wed, Sep 17, 2014 at 11:40:29AM +0100, One Thousand Gnomes wrote: > > Firstly provide some useful information about the hardware. It's no good > wavng your arms at a document that requires agreeing to a giant ARM T > to get access to. Most of don't work for ARM and we'd have to get our own >

Re: [PATCH v4 18/18] Documentation: ACPI for ARM64

2014-09-17 Thread Graeme Gregory
On Thu, Sep 18, 2014 at 01:22:10AM +0200, Arnd Bergmann wrote: > On Wednesday 17 September 2014, Graeme Gregory wrote: > > It sounds like from the discussions in other threads that ARM64 should > > be following x86 and re-using DT bindings here. In which case there is > > not

Re: [PATCH v4 05/18] ARM64 / ACPI: Introduce sleep-arm.c

2014-09-12 Thread Graeme Gregory
On Fri, Sep 12, 2014 at 03:51:02PM +0100, Catalin Marinas wrote: > On Fri, Sep 12, 2014 at 03:00:03PM +0100, Hanjun Guo wrote: > > --- a/drivers/acpi/Makefile > > +++ b/drivers/acpi/Makefile > > @@ -23,7 +23,11 @@ acpi-y += nvs.o > > > > # Power management related

Re: [PATCH v4 05/18] ARM64 / ACPI: Introduce sleep-arm.c

2014-09-12 Thread Graeme Gregory
On Fri, Sep 12, 2014 at 04:49:03PM +0100, Catalin Marinas wrote: > On Fri, Sep 12, 2014 at 04:18:51PM +0100, Graeme Gregory wrote: > > On Fri, Sep 12, 2014 at 03:51:02PM +0100, Catalin Marinas wrote: > > > On Fri, Sep 12, 2014 at 03:00:03PM +0100, Hanjun Guo wrote: > >

Re: [PATCH v4 05/18] ARM64 / ACPI: Introduce sleep-arm.c

2014-09-12 Thread Graeme Gregory
On Fri, Sep 12, 2014 at 03:43:36PM -0400, Jon Masters wrote: > On 09/12/2014 10:00 AM, Hanjun Guo wrote: > > From: Graeme Gregory > > > > ACPI 5.1 does not currently support S states for ARM64 hardware but > > ACPI code will call acpi_target_system_state() for dev

Re: [PATCH v3 00/17] Introduce ACPI for ARM64 based on ACPI 5.1

2014-09-11 Thread Graeme Gregory
On Thu, Sep 11, 2014 at 04:57:24PM +0100, Sudeep Holla wrote: > > > On 11/09/14 16:37, Catalin Marinas wrote: > >On Thu, Sep 11, 2014 at 02:29:34PM +0100, Grant Likely wrote: > >>Regarding the requests to refactor ACPICA to work better for ARM. I > >>completely agree that it should be done, but

Re: [Linaro-acpi] [RFC PATCH for Juno 1/2] net: smsc911x add support for probing from ACPI

2014-09-01 Thread Graeme Gregory
On Mon, Sep 01, 2014 at 05:17:51PM +0200, Arnd Bergmann wrote: > On Monday 01 September 2014 23:06:00 Hanjun Guo wrote: > > +#ifdef CONFIG_ACPI > > +/* Configure some sensible defaults for ACPI mode */ > > +static int smsc911x_probe_config_acpi(struct smsc911x_platform_config > > *config, > > +

Re: [Linaro-acpi] [RFC PATCH for Juno 1/2] net: smsc911x add support for probing from ACPI

2014-09-01 Thread Graeme Gregory
On Mon, Sep 01, 2014 at 05:53:33PM +0100, Catalin Marinas wrote: > On Mon, Sep 01, 2014 at 04:28:54PM +0100, Graeme Gregory wrote: > > On Mon, Sep 01, 2014 at 05:17:51PM +0200, Arnd Bergmann wrote: > > > On Monday 01 September 2014 23:06:00 Hanjun Guo wrote: > >

Re: [RFC PATCH for Juno 2/2] tty: SBSA compatible UART

2014-09-01 Thread Graeme Gregory
On Mon, Sep 01, 2014 at 06:12:48PM +0100, Catalin Marinas wrote: > On Mon, Sep 01, 2014 at 04:06:01PM +0100, Hanjun Guo wrote: > > From: Graeme Gregory > > > > This is a subset of pl011 UART which does not supprt DMA or baud rate > > changing. > > > > It

Re: [RFC PATCH for Juno 1/2] net: smsc911x add support for probing from ACPI

2014-09-01 Thread Graeme Gregory
On Mon, Sep 01, 2014 at 07:11:44PM +0200, Arnd Bergmann wrote: > On Monday 01 September 2014 18:04:47 Catalin Marinas wrote: > > On Mon, Sep 01, 2014 at 04:06:00PM +0100, Hanjun Guo wrote: > > > +#ifdef CONFIG_ACPI > > > +/* Configure some sensible defaults for ACPI mode */ > > > +static int

Re: [PATCH v3 03/17] ARM64 / ACPI: Introduce lowlevel suspend function

2014-09-09 Thread Graeme Gregory
On Tue, Sep 09, 2014 at 05:35:29PM +0100, Catalin Marinas wrote: > On Mon, Sep 01, 2014 at 03:57:41PM +0100, Hanjun Guo wrote: > > From: Graeme Gregory > > > > acpi_wakeup_address is used on x86 as the address bios jumps into > > when machine wakes up from susp

[PATCH] virtio_mmio: add ACPI probing

2015-07-28 Thread Graeme Gregory
Added the match table and pointers for ACPI probing to the driver. This uses the same identifier for virt devices as being used for qemu ARM64 ACPI support. http://git.linaro.org/people/shannon.zhao/qemu.git/commit/d0bf1955a3ecbab4b51d46f8c5dda02b7e14a17e Signed-off-by: Graeme Gregory

Re: [PATCH 5/5] irqchip: GIC: Switch ACPI support to stacked domains

2015-07-21 Thread Graeme Gregory
On Tue, Jul 21, 2015 at 11:08:00AM +0100, Marc Zyngier wrote: > Now that the basic ACPI GSI code is irq domain aware, make sure > that the ACPI support in the GIC doesn't pointlessly deviate from > the DT path. > > Signed-off-by: Marc Zyngier > --- > drivers/irqchip/irq-gic.c | 17

Re: [PATCH 0/5] Making the generic ACPI GSI layer irqdomain aware

2015-07-21 Thread Graeme Gregory
On Tue, Jul 21, 2015 at 11:07:55AM +0100, Marc Zyngier wrote: > The irqdomain code is not entierely really ACPI friendly, as it has > some built-in knowledge of the device-tree. Nothing too harmful, but > enough to scare the ARM ACPI developpers which end up with their own > version of the square

[RFC PATCH] ACPI: sysfs expose root tables RSDP/RSDT/XSDT

2015-07-21 Thread Graeme Gregory
On some architectures /dev/mem is being removed. For debug/analysis tools like FWTS/acpidump we therefore need to expose the ACPI root tables in sysfs like the other tables. Signed-off-by: Graeme Gregory --- drivers/acpi/sysfs.c | 123 +++ 1 file

[RFC PATCH] Exporting extra tables for machines without /dev/mem

2015-07-21 Thread Graeme Gregory
Hi, I thought I would send this patch as an RFC. It is something I did when another linaro engineer was modifying acpica-tools to not require /dev/mem. It exports the 3 tables that are not currenly exported in sysfs. Currently I do not think there is any user of this because acpica-tools can

Re: [PATCH] virtio_mmio: add ACPI probing

2015-08-27 Thread Graeme Gregory
On Wed, Jul 29, 2015 at 09:17:08PM +0300, Michael S. Tsirkin wrote: > On Tue, Jul 28, 2015 at 10:44:02AM +0100, Graeme Gregory wrote: > > Added the match table and pointers for ACPI probing to the driver. > > > > This uses the same identifier for virt devices as being used fo

Re: [Linaro-acpi] [PATCH v3 1/5] ACPI: add in a bad_madt_entry() function to eventually replace the macro

2015-09-10 Thread Graeme Gregory
On Wed, Sep 09, 2015 at 03:09:47PM -0600, Al Stone wrote: > The existing BAD_MADT_ENTRY macro only checks that the size of the data > structure for an MADT subtable matches the length entry in the subtable. > This is, unfortunately, not reliable. Nor, as it turns out, does it have > anything to

Re: [Linaro-acpi] [PATCH v3 0/5] ACPI: Provide better MADT subtable sanity checks

2015-09-10 Thread Graeme Gregory
ompiled for x86 and ia64 with no > known failures. > > Changes for v3: >-- Reviewed-and-tested-by from Sudeep Holla for arm64 parts >-- Clearer language in error messages (Graeme Gregory, Timur Tabi) >-- Double checked that inserting call to bad_madt_entry() into the >

Re: [PATCH 2/2] net, thunder, bgx: Add support for ACPI binding.

2015-08-07 Thread Graeme Gregory
On Thu, Aug 06, 2015 at 05:33:10PM -0700, David Daney wrote: > From: David Daney > > Find out which PHYs belong to which BGX instance in the ACPI way. > > Set the MAC address of the device as provided by ACPI tables. This is > similar to the implementation for devicetree in >

Re: [PATCH v7 04/17] ARM64 / ACPI: Introduce early_param for "acpi" and pass acpi=force to enable ACPI

2015-01-21 Thread Graeme Gregory
On Wed, Jan 21, 2015 at 03:42:43PM +, Catalin Marinas wrote: > On Wed, Jan 21, 2015 at 03:29:52PM +, Jon Masters wrote: > > On 01/21/2015 10:23 AM, Catalin Marinas wrote: > > > I have some questions for the ACPI and EFI folk: > > > > > > 1. When booting with ACPI, are the EFI run-time

Re: [PATCH v7 06/17] ARM64 / ACPI: Make PCI optional for ACPI on ARM64

2015-01-18 Thread Graeme Gregory
On Sun, Jan 18, 2015 at 02:46:35PM +0800, Hanjun Guo wrote: > On 2015年01月18日 14:31, Jon Masters wrote: > >Hi Folks, > > > >Sorry for top posting from bed. The mainstream servers will all likely do > > PCIe but there are several that may not. They should not be excluded. That > said, > >if we

Re: [PATCH v8 02/21] acpi: fix acpi_os_ioremap for arm64

2015-02-05 Thread Graeme Gregory
On Thu, Feb 05, 2015 at 10:59:45AM +, Catalin Marinas wrote: > On Thu, Feb 05, 2015 at 10:47:23AM +, Ard Biesheuvel wrote: > > On 5 February 2015 at 10:41, Catalin Marinas > > wrote: > > > On Wed, Feb 04, 2015 at 06:58:14PM +, Mark Salter wrote: > > >> On Wed, 2015-02-04 at 17:57

Re: [PATCH v8 02/21] acpi: fix acpi_os_ioremap for arm64

2015-02-05 Thread Graeme Gregory
On Thu, Feb 05, 2015 at 12:07:20PM +, Catalin Marinas wrote: > On Thu, Feb 05, 2015 at 11:14:43AM +0000, Graeme Gregory wrote: > > On Thu, Feb 05, 2015 at 10:59:45AM +, Catalin Marinas wrote: > > > On Thu, Feb 05, 2015 at 10:47:23AM +, Ard Biesheuvel wrote: > >

Re: [PATCH v8 08/21] dt / chosen: Add linux,uefi-stub-generated-dtb property

2015-02-02 Thread Graeme Gregory
On Mon, Feb 02, 2015 at 01:40:33PM +, Leif Lindholm wrote: > On Mon, Feb 02, 2015 at 08:45:36PM +0800, Hanjun Guo wrote: > > When system supporting both DT and ACPI but firmware providing > > no dtb, we can use this linux,uefi-stub-generated-dtb property > > to let kernel know that we can try

Re: [PATCH v8 05/21] ACPI / sleep: Introduce sleep_arm.c

2015-02-03 Thread Graeme Gregory
On Mon, Feb 02, 2015 at 11:18:24PM +0100, Rafael J. Wysocki wrote: > On Monday, February 02, 2015 08:45:33 PM Hanjun Guo wrote: > > From: Graeme Gregory > > > > ACPI 5.1 does not currently support S states for ARM64 hardware but > > ACPI code will call acpi_target_syst

Re: [PATCH v2 6/9] irqchip / gic: Add stacked irqdomain support for ACPI based GICv2 init

2015-06-30 Thread Graeme Gregory
On Tue, Jun 30, 2015 at 01:17:14PM +0100, Marc Zyngier wrote: > On 30/06/15 12:50, Hanjun Guo wrote: > > Hi Marc, > > > > On 06/29/2015 04:39 PM, Marc Zyngier wrote: > >> On 27/06/15 04:52, Hanjun Guo wrote: > >>> On 06/24/2015 01:38 AM, Lorenzo Pieralisi wrote: > On Tue, Jun 23, 2015 at

Re: [PATCH v5 18/18] Documentation: ACPI for ARM64

2015-01-01 Thread Graeme Gregory
On Wed, Dec 31, 2014 at 04:34:46PM +0800, Hanjun Guo wrote: > On 2014年12月31日 04:13, ashw...@codeaurora.org wrote: > >Hi Hanjun, > > > >Overall the document looks good to us. Some minor clarifications below. > > > >>-- Forwarded message -- &g

Re: [PATCH V6 2/2] PCI/ACPI: hisi: Add ACPI support for HiSilicon SoCs Host Controllers

2016-11-23 Thread Graeme Gregory
On Tue, Nov 22, 2016 at 03:05:29PM +, Gabriele Paoloni wrote: > Hi Tomasz > > > -Original Message- > > From: Tomasz Nowicki [mailto:t...@semihalf.com] > > Sent: 22 November 2016 13:58 > > To: liudongdong (C); helg...@kernel.org; a...@arndb.de; > > raf...@kernel.org;

Re: [SPCR] mmio32 iotype access requirements for X-Gene 8250(_dw) UART

2017-05-16 Thread Graeme Gregory
On Sat, Dec 03, 2016 at 05:06:31AM -0500, Jon Masters wrote: > Hi Duc, all, > > (and changing the subject and trimming/adjusting the CC) > > On 12/02/2016 02:39 PM, Duc Dang wrote: > > On Fri, Dec 2, 2016 at 12:11 AM, Jon Masters wrote: > >> You're welcome. > >> > >> (Unrelated) Note that I

Re: [PATCH v4 1/1] PCI/ACPI: xgene: Add ECAM quirk for X-Gene PCIe controller

2017-05-16 Thread Graeme Gregory
e and configure > controller registers to select and address the target secondary device. > > The quirk will only be applied for X-Gene PCIe MCFG table with > OEM revison 1, 2, 3 or 4 (PCIe controller v1 and v2 on X-Gene SoCs). > > Signed-off-by: Duc Dang Tested on our Linaro mo

Re: [PATCH v10 3/4] ARM64: ACPI: enable ACPI_SPCR_TABLE

2016-09-08 Thread Graeme Gregory
On Thu, Sep 08, 2016 at 12:16:55PM +0100, Will Deacon wrote: > On Wed, Sep 07, 2016 at 12:30:19PM +0300, Aleksey Makarov wrote: > > > > On 09/05/2016 03:36 PM, Aleksey Makarov wrote: > > > SBBR mentions SPCR as a mandatory ACPI table. So enable it for ARM64 > > > > > > Earlycon should be set up

Re: [PATCH v10 3/4] ARM64: ACPI: enable ACPI_SPCR_TABLE

2016-09-09 Thread Graeme Gregory
On Thu, Sep 08, 2016 at 12:34:16PM -0400, Mark Salter wrote: > On Thu, 2016-09-08 at 12:16 +0100, Will Deacon wrote: > > On Wed, Sep 07, 2016 at 12:30:19PM +0300, Aleksey Makarov wrote: > > > > > > > > > On 09/05/2016 03:36 PM, Aleksey Makarov wrote: > > > > > > > > SBBR mentions SPCR as a

Re: [PATCH v6 09/16] drivers: acpi: iort: add support for ARM SMMU platform devices creation

2016-11-01 Thread Graeme Gregory
On Fri, Oct 28, 2016 at 04:50:07PM +0100, Lorenzo Pieralisi wrote: > On Tue, Oct 18, 2016 at 05:04:07PM +0100, Lorenzo Pieralisi wrote: > > In ARM ACPI systems, IOMMU components are specified through static > > IORT table entries. In order to create platform devices for the > > corresponding ARM

Re: [Linaro-acpi] [PATCH V6 12/13] pci, pci-thunder-ecam: Add ACPI support for ThunderX ECAM.

2016-04-19 Thread Graeme Gregory
On Tue, Apr 19, 2016 at 11:41:29AM +0100, G Gregory wrote: > On 19 April 2016 at 11:26, Tomasz Nowicki wrote: > > On 15.04.2016 19:06, Tomasz Nowicki wrote: > >> > >> Passes 1.x miss PCI enhanced allocation (EA) header for fixed-BARs, > >> thus these passes should use Cavium-specific config

Re: [PATCH 2/3] ACPI: scan add call to probe amba devices

2015-12-01 Thread Graeme Gregory
On Tue, Dec 01, 2015 at 03:16:53AM +0100, Rafael J. Wysocki wrote: > On Wednesday, September 30, 2015 11:38:49 AM Graeme Gregory wrote: > > Call the amba device creation function in the default enumeration path, > > this is the same location platform devices are probed. >

Re: [PATCH 3/3] serial: amba-pl011: add ACPI support to AMBA probe

2015-12-01 Thread Graeme Gregory
On Tue, Dec 01, 2015 at 03:21:47AM +0100, Rafael J. Wysocki wrote: > On Wednesday, September 30, 2015 11:38:50 AM Graeme Gregory wrote: > > In ACPI this device is only defined in SBSA mode so > > if we are probing from ACPI use this mode. > > > > Cc: Rafael J. Wysocki

Re: [PATCH v4 3/3] serial: amba-pl011: add ACPI support to AMBA probe

2016-01-06 Thread Graeme Gregory
On Tue, Jan 05, 2016 at 10:23:08AM -0600, Timur Tabi wrote: > G Gregory wrote: > >>>I'm confused by this patch. We already have code like this in > >>>tty-next, in the form of sbsa_uart_probe(): > >>> >

Re: [PATCH] ACPI: Add phylib support code for mdio

2015-12-03 Thread Graeme Gregory
On Thu, Dec 03, 2015 at 09:54:43AM +0800, yankejian wrote: > Add support for getting the PHY devices on an MDIO bus by ACPI. > Currently many of the ethernet drivers are open coding a solution > for reading data out of ACPI to find the correct PHY device. > This patch implements a set of common

Re: [PATCH 3/9] ACPI: add struct acpi_amba_quirk for AMD pl330 specific device config

2015-12-04 Thread Graeme Gregory
On Fri, Dec 04, 2015 at 11:24:20AM +0800, Wang Hongcheng wrote: > AMD pl330 is a UART DMA device, it shares one ACPI item with UART. So > a platform device and an acpi device will be created according to > AMD0020 ACPI dev. And its mem base address must have an offset. As a > result,

Re: [PATCH v15 0/6] arm64, numa: Add numa support for arm64 platforms

2016-04-05 Thread Graeme Gregory
On 22/03/16 21:45, David Daney wrote: On 03/22/2016 11:48 AM, Jon Masters wrote: On 03/08/2016 06:59 PM, David Daney wrote: From: David Daney v15: - Make the distance-map node optional (again), if it is not in the device tree, default values are used. - Minor

Re: [PATCH v3 6/9] irqchip/gic-v3: Parse and export virtual GIC information

2016-03-22 Thread Graeme Gregory
On Tue, Mar 08, 2016 at 11:29:30AM +, Julien Grall wrote: > Fill up the recently introduced gic_kvm_info with the virtual GIC > information. > > Signed-off-by: Julien Grall > Cc: Thomas Gleixner > Cc: Jason Cooper > Cc: Marc Zyngier > > --- > Changes in v3: > - Add ACPI

Re: [RFC PATCH 0/4] Add ACPI support for pinctrl configuration

2016-04-06 Thread Graeme Gregory
On Tue, Apr 05, 2016 at 06:00:31PM -0600, Al Stone wrote: > On 04/05/2016 02:56 AM, Charles Garcia-Tobin wrote: > > > > > > On 04/04/2016 23:52, "Mark Rutland" wrote: > > > >> Hi, > >> > >> On Thu, Mar 31, 2016 at 02:44:41PM +0300, Irina Tirdea wrote: > >>> This is a proposal for adding ACPI

Re: [PATCH v7 0/5] ACPI: parse the SPCR table

2016-04-06 Thread Graeme Gregory
ntroduces a new function acpi_console_check(). > >> This function is called when a new uart is registered at serial_core.c > >> the same way OF code checks for console. If the registered uart is the > >> console specified by SPCR table, this function calls > >&g

Re: [RFC PATCH V5 0/5] ECAM quirks handling for ARM64 platforms

2016-08-08 Thread Graeme Gregory
MCFG IDs along with custom pci_ops structure and initialization > call. > > As an example, the last patch presents quirk handling mechanism usage for > ThunderX PEM driver. > Series looks good to me. Reviewed-by: Graeme Gregory > v4 -> v5 > - rebase against v4.8-rc1 &g

Re: [PATCH v8 4/4] serial: pl011: add console matching function

2016-08-03 Thread Graeme Gregory
On Mon, Jun 20, 2016 at 04:19:14PM +0100, Russell King - ARM Linux wrote: > On Mon, Jun 20, 2016 at 03:26:39PM +0300, Aleksey Makarov wrote: > > > > On 06/02/2016 09:02 PM, Aleksey Makarov wrote: > > > > > > On 05/20/2016 04:03 PM, Aleksey Makarov wrote: > > > > Hi Russell, > > > > Can you

Re: [PATCH v6 00/10] acpi, clocksource: add GTDT driver and GTDT support in arm_arch_timer

2016-07-05 Thread Graeme Gregory
On Mon, Jul 04, 2016 at 02:53:20PM +0200, Rafael J. Wysocki wrote: > On Fri, Jul 1, 2016 at 11:04 PM, Rafael J. Wysocki wrote: > > On Friday, July 01, 2016 04:23:40 PM Will Deacon wrote: > >> On Thu, Jun 30, 2016 at 09:48:02PM +0800, Hanjun Guo wrote: > >> > On 2016/6/30 21:27, Rafael J. Wysocki

Re: [PATCH 1/8] arm64: move acpi/dt decision earlier in boot process

2016-02-23 Thread Graeme Gregory
On Mon, Feb 22, 2016 at 04:45:17PM +0100, Matthias Brugger wrote: > > > On 22/02/16 14:46, Aleksey Makarov wrote: > >From: Leif Lindholm > > > >In order to support selecting earlycon via either ACPI or DT, move > >the decision on whether to attempt ACPI configuration into the > >early_param

Re: [Linaro-acpi] [PATCH v9 5/5] Watchdog: introduce ARM SBSA watchdog driver

2015-11-09 Thread Graeme Gregory
Hi Fu Wei, Looks ok to me. Reviewed by: Graeme Gregory Thanks On Mon, Nov 09, 2015 at 03:31:19PM +0800, fu@linaro.org wrote: > From: Fu Wei > > This driver bases on linux kernel watchdog framework, and > use "pretimeout" in the framework. It supports getting ti

[PATCH 0/3] Add AMBA bus probing support to ACPI

2015-09-30 Thread Graeme Gregory
As discussed when Shannon Zhao sent a patch to add platform_device support to pl061 driver. Russel and other maintainers prefered that ACPI learned how to create AMBA devices rather than converting/adding platform_device support to AMBA drivers.

[PATCH 3/3] serial: amba-pl011: add ACPI support to AMBA probe

2015-09-30 Thread Graeme Gregory
In ACPI this device is only defined in SBSA mode so if we are probing from ACPI use this mode. Cc: Rafael J. Wysocki Cc: Len Brown Cc: Russell King Cc: Greg Kroah-Hartman Signed-off-by: Graeme Gregory --- drivers/tty/serial/amba-pl011.c | 32 +--- 1 file changed

[PATCH 1/3] ACPI: amba bus probing support

2015-09-30 Thread Graeme Gregory
Cc: Russell King Signed-off-by: Graeme Gregory --- drivers/acpi/Makefile| 1 + drivers/acpi/acpi_amba.c | 157 +++ include/linux/acpi.h | 1 + 3 files changed, 159 insertions(+) create mode 100644 drivers/acpi/acpi_amba.c diff --git

[PATCH 2/3] ACPI: scan add call to probe amba devices

2015-09-30 Thread Graeme Gregory
Call the amba device creation function in the default enumeration path, this is the same location platform devices are probed. Cc: Rafael J. Wysocki Cc: Len Brown Cc: Russell King Signed-off-by: Graeme Gregory --- drivers/acpi/scan.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion

Re: [PATCH 2/3] ACPI: parse SPCR and enable matching console

2016-02-01 Thread Graeme Gregory
On Mon, Jan 25, 2016 at 05:45:22PM +0600, Aleksey Makarov wrote: > 'ARM Server Base Boot Requiremets' [1] mention SPCR > (Serial Port Console Redirection Table) [2] as a mandatory ACPI table > that specifies the configuration of serial console. > > Parse this table and check if any registered

Re: [PATCH 2/3] ACPI: parse SPCR and enable matching console

2016-02-01 Thread Graeme Gregory
On Mon, Feb 01, 2016 at 09:01:26AM +, Graeme Gregory wrote: > On Mon, Jan 25, 2016 at 05:45:22PM +0600, Aleksey Makarov wrote: > > 'ARM Server Base Boot Requiremets' [1] mention SPCR > > (Serial Port Console Redirection Table) [2] as a mandatory ACPI table > > that specif

Re: [RFC v1] MFD: Change TWL6025 references to TWL6032

2013-06-13 Thread Graeme Gregory
On Thu, Jun 13, 2013 at 01:21:01PM +0300, Oleksandr Kozaruk wrote: > On 06/07/2013 05:44 PM, g...@slimlogic.co.uk wrote: > >On 2013-06-07 15:36, Mark Brown wrote: > >>On Fri, Jun 07, 2013 at 01:53:10PM +0300, Oleksandr Kozaruk wrote: > >>>From: Graeme Gregory &g

Re: ACPI vs Device Tree - moving forward

2013-08-26 Thread Graeme Gregory
On Mon, Aug 26, 2013 at 11:32:44AM +0200, Linus Walleij wrote: > On Sat, Aug 24, 2013 at 2:13 AM, Guenter Roeck wrote: > > > Did the group conclude that the idea of FDT augmenting ACPI is not feasible > > ? > > I don't think anyone really knows. For example: how to specify a few > config

Re: [PATCH 0/4] extcon: palmas: clean-up/fixes and suspend/resume susupport.

2013-07-09 Thread Graeme Gregory
Whole series looks good to me. Acked-by: Graeme Gregory On Tue, Jul 09, 2013 at 06:34:20PM +0530, Laxman Dewangan wrote: > This patch series does following: > - Remove unused member from extcon palmas structure. > - Fix to support of detecting cable properly with multiple inser

<    1   2   3