* [U-Boot] [PATCH] spi: kirkwood: add orion-spi compatible string
@ 2018-05-07 22:54 Chris Packham
2018-05-08 5:17 ` Jagan Teki
2018-07-09 18:52 ` Michael Walle
0 siblings, 2 replies; 4+ messages in thread
From: Chris Packham @ 2018-05-07 22:54 UTC (permalink / raw)
To: u-boot
This matches the compatible string used by the Linux kernel. This will
allow u-boot to use the same device tree files.
Signed-off-by: Chris Packham <judge.packham@gmail.com>
---
This applies on top of Jagan's series
http://patchwork.ozlabs.org/project/uboot/list/?series=33927
drivers/spi/kirkwood_spi.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwood_spi.c
index 036fc36b8329..6a5ab8a1cba4 100644
--- a/drivers/spi/kirkwood_spi.c
+++ b/drivers/spi/kirkwood_spi.c
@@ -226,6 +226,10 @@ static int mvebu_spi_ofdata_to_platdata(struct udevice *bus)
return 0;
}
+static const struct mvebu_spi_dev orion_spi_dev_data = {
+ .is_errata_50mhz_ac = false,
+};
+
static const struct mvebu_spi_dev armada_xp_spi_dev_data = {
.is_errata_50mhz_ac = false,
};
@@ -239,6 +243,10 @@ static const struct mvebu_spi_dev armada_380_spi_dev_data = {
};
static const struct udevice_id mvebu_spi_ids[] = {
+ {
+ .compatible = "marvell,orion-spi",
+ .data = (ulong)&orion_spi_dev_data
+ },
{
.compatible = "marvell,armada-375-spi",
.data = (ulong)&armada_375_spi_dev_data
--
2.17.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] spi: kirkwood: add orion-spi compatible string
2018-05-07 22:54 [U-Boot] [PATCH] spi: kirkwood: add orion-spi compatible string Chris Packham
@ 2018-05-08 5:17 ` Jagan Teki
2018-08-01 6:50 ` Jagan Teki
2018-07-09 18:52 ` Michael Walle
1 sibling, 1 reply; 4+ messages in thread
From: Jagan Teki @ 2018-05-08 5:17 UTC (permalink / raw)
To: u-boot
On Tue, May 8, 2018 at 4:24 AM, Chris Packham <judge.packham@gmail.com> wrote:
> This matches the compatible string used by the Linux kernel. This will
> allow u-boot to use the same device tree files.
>
> Signed-off-by: Chris Packham <judge.packham@gmail.com>
> ---
> This applies on top of Jagan's series
> http://patchwork.ozlabs.org/project/uboot/list/?series=33927
>
> drivers/spi/kirkwood_spi.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwood_spi.c
> index 036fc36b8329..6a5ab8a1cba4 100644
> --- a/drivers/spi/kirkwood_spi.c
> +++ b/drivers/spi/kirkwood_spi.c
> @@ -226,6 +226,10 @@ static int mvebu_spi_ofdata_to_platdata(struct udevice *bus)
> return 0;
> }
>
> +static const struct mvebu_spi_dev orion_spi_dev_data = {
> + .is_errata_50mhz_ac = false,
> +};
> +
> static const struct mvebu_spi_dev armada_xp_spi_dev_data = {
> .is_errata_50mhz_ac = false,
> };
> @@ -239,6 +243,10 @@ static const struct mvebu_spi_dev armada_380_spi_dev_data = {
> };
>
> static const struct udevice_id mvebu_spi_ids[] = {
> + {
> + .compatible = "marvell,orion-spi",
> + .data = (ulong)&orion_spi_dev_data
Reviewed-by: Jagan Teki <jagan@openedev.com>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] spi: kirkwood: add orion-spi compatible string
2018-05-07 22:54 [U-Boot] [PATCH] spi: kirkwood: add orion-spi compatible string Chris Packham
2018-05-08 5:17 ` Jagan Teki
@ 2018-07-09 18:52 ` Michael Walle
1 sibling, 0 replies; 4+ messages in thread
From: Michael Walle @ 2018-07-09 18:52 UTC (permalink / raw)
To: u-boot
Am 2018-05-08 00:54, schrieb Chris Packham:
> This matches the compatible string used by the Linux kernel. This will
> allow u-boot to use the same device tree files.
This patch is still missing to make SPI on kirkwoods work. Is there
anything missing which prevents it from being applied?
-michael
>
> Signed-off-by: Chris Packham <judge.packham@gmail.com>
> ---
> This applies on top of Jagan's series
> http://patchwork.ozlabs.org/project/uboot/list/?series=33927
>
> drivers/spi/kirkwood_spi.c | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwood_spi.c
> index 036fc36b8329..6a5ab8a1cba4 100644
> --- a/drivers/spi/kirkwood_spi.c
> +++ b/drivers/spi/kirkwood_spi.c
> @@ -226,6 +226,10 @@ static int mvebu_spi_ofdata_to_platdata(struct
> udevice *bus)
> return 0;
> }
>
> +static const struct mvebu_spi_dev orion_spi_dev_data = {
> + .is_errata_50mhz_ac = false,
> +};
> +
> static const struct mvebu_spi_dev armada_xp_spi_dev_data = {
> .is_errata_50mhz_ac = false,
> };
> @@ -239,6 +243,10 @@ static const struct mvebu_spi_dev
> armada_380_spi_dev_data = {
> };
>
> static const struct udevice_id mvebu_spi_ids[] = {
> + {
> + .compatible = "marvell,orion-spi",
> + .data = (ulong)&orion_spi_dev_data
> + },
> {
> .compatible = "marvell,armada-375-spi",
> .data = (ulong)&armada_375_spi_dev_data
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] spi: kirkwood: add orion-spi compatible string
2018-05-08 5:17 ` Jagan Teki
@ 2018-08-01 6:50 ` Jagan Teki
0 siblings, 0 replies; 4+ messages in thread
From: Jagan Teki @ 2018-08-01 6:50 UTC (permalink / raw)
To: u-boot
On Tue, May 8, 2018 at 10:47 AM, Jagan Teki <jagannadh.teki@gmail.com> wrote:
> On Tue, May 8, 2018 at 4:24 AM, Chris Packham <judge.packham@gmail.com> wrote:
>> This matches the compatible string used by the Linux kernel. This will
>> allow u-boot to use the same device tree files.
>>
>> Signed-off-by: Chris Packham <judge.packham@gmail.com>
>> ---
>> This applies on top of Jagan's series
>> http://patchwork.ozlabs.org/project/uboot/list/?series=33927
>>
>> drivers/spi/kirkwood_spi.c | 8 ++++++++
>> 1 file changed, 8 insertions(+)
>>
>> diff --git a/drivers/spi/kirkwood_spi.c b/drivers/spi/kirkwood_spi.c
>> index 036fc36b8329..6a5ab8a1cba4 100644
>> --- a/drivers/spi/kirkwood_spi.c
>> +++ b/drivers/spi/kirkwood_spi.c
>> @@ -226,6 +226,10 @@ static int mvebu_spi_ofdata_to_platdata(struct udevice *bus)
>> return 0;
>> }
>>
>> +static const struct mvebu_spi_dev orion_spi_dev_data = {
>> + .is_errata_50mhz_ac = false,
>> +};
>> +
>> static const struct mvebu_spi_dev armada_xp_spi_dev_data = {
>> .is_errata_50mhz_ac = false,
>> };
>> @@ -239,6 +243,10 @@ static const struct mvebu_spi_dev armada_380_spi_dev_data = {
>> };
>>
>> static const struct udevice_id mvebu_spi_ids[] = {
>> + {
>> + .compatible = "marvell,orion-spi",
>> + .data = (ulong)&orion_spi_dev_data
>
> Reviewed-by: Jagan Teki <jagan@openedev.com>
Applied to u-boot-spi/master
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-08-01 6:50 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-07 22:54 [U-Boot] [PATCH] spi: kirkwood: add orion-spi compatible string Chris Packham
2018-05-08 5:17 ` Jagan Teki
2018-08-01 6:50 ` Jagan Teki
2018-07-09 18:52 ` Michael Walle
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.