Message ID | 1557226378-10131-30-git-send-email-suzuki.poulose@arm.com |
---|---|
State | Superseded |
Headers | show |
Series | coresight: Support for ACPI bindings | expand |
On Tue, May 07, 2019 at 11:52:56AM +0100, Suzuki K Poulose wrote: > All AMBA devices are handled via ACPI AMBA scan notifier > infrastructure. The platform devices get the ACPI id > added to their driver. > > Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net> > Cc: Mathieu Poirier <mathieu.poirier@linaro.org> > Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> > --- > drivers/acpi/acpi_amba.c | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/drivers/acpi/acpi_amba.c b/drivers/acpi/acpi_amba.c > index 7f77c07..eef5a69 100644 > --- a/drivers/acpi/acpi_amba.c > +++ b/drivers/acpi/acpi_amba.c > @@ -24,6 +24,15 @@ > > static const struct acpi_device_id amba_id_list[] = { > {"ARMH0061", 0}, /* PL061 GPIO Device */ > + {"ARMHC500", 0}, /* ARM CoreSight ETM4x */ > + {"ARMHC501", 0}, /* ARM CoreSight ETR */ > + {"ARMHC502", 0}, /* ARM CoreSight STM */ > + {"ARMHC503", 0}, /* ARM CoreSight Debug */ > + {"ARMHC979", 0}, /* ARM CoreSight TPIU */ > + {"ARMHC97C", 0}, /* ARM CoreSight SoC-400 TMC, SoC-600 ETF/ETB */ > + {"ARMHC98D", 0}, /* ARM CoreSight Dynamic Replicator */ > + {"ARMHC9CA", 0}, /* ARM CoreSight CATU */ > + {"ARMHC9FF", 0}, /* ARM CoreSight Funnel */ > {"", 0}, Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org> > }; > > -- > 2.7.4 >
diff --git a/drivers/acpi/acpi_amba.c b/drivers/acpi/acpi_amba.c index 7f77c07..eef5a69 100644 --- a/drivers/acpi/acpi_amba.c +++ b/drivers/acpi/acpi_amba.c @@ -24,6 +24,15 @@ static const struct acpi_device_id amba_id_list[] = { {"ARMH0061", 0}, /* PL061 GPIO Device */ + {"ARMHC500", 0}, /* ARM CoreSight ETM4x */ + {"ARMHC501", 0}, /* ARM CoreSight ETR */ + {"ARMHC502", 0}, /* ARM CoreSight STM */ + {"ARMHC503", 0}, /* ARM CoreSight Debug */ + {"ARMHC979", 0}, /* ARM CoreSight TPIU */ + {"ARMHC97C", 0}, /* ARM CoreSight SoC-400 TMC, SoC-600 ETF/ETB */ + {"ARMHC98D", 0}, /* ARM CoreSight Dynamic Replicator */ + {"ARMHC9CA", 0}, /* ARM CoreSight CATU */ + {"ARMHC9FF", 0}, /* ARM CoreSight Funnel */ {"", 0}, };
All AMBA devices are handled via ACPI AMBA scan notifier infrastructure. The platform devices get the ACPI id added to their driver. Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net> Cc: Mathieu Poirier <mathieu.poirier@linaro.org> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> --- drivers/acpi/acpi_amba.c | 9 +++++++++ 1 file changed, 9 insertions(+) -- 2.7.4