mbox series

[v2,0/5] arm64: dts: meson: add support for ODROID-HC4

Message ID 20210131055358.21293-1-christianshewitt@gmail.com (mailing list archive)
Headers show
Series arm64: dts: meson: add support for ODROID-HC4 | expand

Message

Christian Hewitt Jan. 31, 2021, 5:53 a.m. UTC
This series fixes minor sort-order issues in the Amlogic bindings yaml and
dtb Makefile, then converts the existing ODROID-C2 dts into dtsi so we can
support its new sister product the ODROID-HC4.

I've also given the devices different audio card names. This is partly
cosmetic, but also because HC4 is HDMI-only while C4 can be used with
other i2c audio devices via an expansion connector so users may want to
use different alsa configs.

Patches to support the spifc chip are still being upstreamed [0] so this
will be addressed in a follow up. A WIP patch for the dts change can be
found in my amlogic-5.11.y dev branch [1].

For reference, here's dmesg from LibreELEC on 5.11-rc5 [2].

Changes since v1:
- fix ODRIOD typo in patch 3
- fix SPI-NOT size in patch 5
- add Neil's Acks/Reviews

[0] https://patchwork.ozlabs.org/project/linux-mtd/patch/20201220224314.2659-1-andreas@rammhold.de/
[1] https://github.com/chewitt/linux/commits/amlogic-5.11.y
[2] http://ix.io/2NCi

Christian Hewitt (5):
  dt-bindings: arm: amlogic: sort SM1 bindings
  arm64: dts: meson: sort Amlogic dtb Makefile
  arm64: dts: meson: convert meson-sm1-odroid-c4 to dtsi
  dt-bindings: arm: amlogic: add ODROID-HC4 bindings
  arm64: dts: meson: add initial device-tree for ODROID-HC4

 .../devicetree/bindings/arm/amlogic.yaml      |   5 +-
 arch/arm64/boot/dts/amlogic/Makefile          |   3 +-
 .../boot/dts/amlogic/meson-sm1-odroid-c4.dts  | 427 +----------------
 .../boot/dts/amlogic/meson-sm1-odroid-hc4.dts |  96 ++++
 .../boot/dts/amlogic/meson-sm1-odroid.dtsi    | 441 ++++++++++++++++++
 5 files changed, 543 insertions(+), 429 deletions(-)
 create mode 100644 arch/arm64/boot/dts/amlogic/meson-sm1-odroid-hc4.dts
 create mode 100644 arch/arm64/boot/dts/amlogic/meson-sm1-odroid.dtsi

Comments

Kevin Hilman Feb. 2, 2021, 12:42 a.m. UTC | #1
Hi Christian,

Christian Hewitt <christianshewitt@gmail.com> writes:

> This series fixes minor sort-order issues in the Amlogic bindings yaml and
> dtb Makefile, then converts the existing ODROID-C2 dts into dtsi so we can
> support its new sister product the ODROID-HC4.
>
> I've also given the devices different audio card names. This is partly
> cosmetic, but also because HC4 is HDMI-only while C4 can be used with
> other i2c audio devices via an expansion connector so users may want to
> use different alsa configs.
>
> Patches to support the spifc chip are still being upstreamed [0] so this
> will be addressed in a follow up. A WIP patch for the dts change can be
> found in my amlogic-5.11.y dev branch [1].
>
> For reference, here's dmesg from LibreELEC on 5.11-rc5 [2].
>
> Changes since v1:
> - fix ODRIOD typo in patch 3
> - fix SPI-NOT size in patch 5
> - add Neil's Acks/Reviews

Could you please rebase this on top of my v5.12/dt64 branch[1]?  This
has conflicts with some stuff already queued up there.

Thanks,

Kevin

[1] https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic.git/log/?h=v5.12/dt64
Christian Hewitt Feb. 2, 2021, 2:25 a.m. UTC | #2
> On 2 Feb 2021, at 4:42 am, Kevin Hilman <khilman@baylibre.com> wrote:
> 
> Hi Christian,
> 
> Christian Hewitt <christianshewitt@gmail.com> writes:
> 
>> This series fixes minor sort-order issues in the Amlogic bindings yaml and
>> dtb Makefile, then converts the existing ODROID-C2 dts into dtsi so we can
>> support its new sister product the ODROID-HC4.
>> 
>> I've also given the devices different audio card names. This is partly
>> cosmetic, but also because HC4 is HDMI-only while C4 can be used with
>> other i2c audio devices via an expansion connector so users may want to
>> use different alsa configs.
>> 
>> Patches to support the spifc chip are still being upstreamed [0] so this
>> will be addressed in a follow up. A WIP patch for the dts change can be
>> found in my amlogic-5.11.y dev branch [1].
>> 
>> For reference, here's dmesg from LibreELEC on 5.11-rc5 [2].
>> 
>> Changes since v1:
>> - fix ODRIOD typo in patch 3
>> - fix SPI-NOT size in patch 5
>> - add Neil's Acks/Reviews
> 
> Could you please rebase this on top of my v5.12/dt64 branch[1]?  This
> has conflicts with some stuff already queued up there.
> 
> Thanks,
> 
> Kevin
> 
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic.git/log/?h=v5.12/dt64

Oops. v3 sent based on that branch. Thanks.

Christian