public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: Shawn Guo <shawnguo@kernel.org>
To: Fabio Estevam <festevam@gmail.com>
Cc: robh+dt@kernel.org, otavio@ossystems.com.br,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 2/6] ARM: dts: imx7d-pico: Add support for the dwarf baseboard
Date: Tue, 10 Mar 2020 22:35:49 +0800	[thread overview]
Message-ID: <20200310143548.GA21213@dragon> (raw)
In-Reply-To: <20200224193200.2773-2-festevam@gmail.com>

On Mon, Feb 24, 2020 at 04:31:56PM -0300, Fabio Estevam wrote:
> Add support for the imx7d pico board with dwarf baseboard combination.
> 
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
> ---
>  .../devicetree/bindings/arm/fsl.yaml          |  1 +

Have bindings as a separate patch.  Or just merge it into patch #1.

>  arch/arm/boot/dts/Makefile                    |  1 +
>  arch/arm/boot/dts/imx7d-pico-dwarf.dts        | 87 +++++++++++++++++++
>  3 files changed, 89 insertions(+)
>  create mode 100644 arch/arm/boot/dts/imx7d-pico-dwarf.dts
> 
> diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml
> index bad56df60f87..098aee4930a0 100644
> --- a/Documentation/devicetree/bindings/arm/fsl.yaml
> +++ b/Documentation/devicetree/bindings/arm/fsl.yaml
> @@ -286,6 +286,7 @@ properties:
>                - fsl,imx7d-sdb             # i.MX7 SabreSD Board
>                - fsl,imx7d-sdb-reva        # i.MX7 SabreSD Rev-A Board
>                - novtech,imx7d-meerkat96   # i.MX7 Meerkat96 Board
> +              - technexion,imx7d-pico-dwarf   # TechNexion i.MX7D Pico-Dwarf
>                - technexion,imx7d-pico-hobbit  # TechNexion i.MX7D Pico-Hobbit
>                - technexion,imx7d-pico-pi      # TechNexion i.MX7D Pico-Pi
>                - toradex,colibri-imx7d                   # Colibri iMX7 Dual Module
> diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
> index 732933318a61..888eaa8b1f92 100644
> --- a/arch/arm/boot/dts/Makefile
> +++ b/arch/arm/boot/dts/Makefile
> @@ -615,6 +615,7 @@ dtb-$(CONFIG_SOC_IMX7D) += \
>  	imx7d-mba7.dtb \
>  	imx7d-meerkat96.dtb \
>  	imx7d-nitrogen7.dtb \
> +	imx7d-pico-dwarf.dtb \
>  	imx7d-pico-hobbit.dtb \
>  	imx7d-pico-pi.dtb \
>  	imx7d-sbc-imx7.dtb \
> diff --git a/arch/arm/boot/dts/imx7d-pico-dwarf.dts b/arch/arm/boot/dts/imx7d-pico-dwarf.dts
> new file mode 100644
> index 000000000000..ff734936b77b
> --- /dev/null
> +++ b/arch/arm/boot/dts/imx7d-pico-dwarf.dts
> @@ -0,0 +1,87 @@
> +// SPDX-License-Identifier: (GPL-2.0 OR MIT)
> +//
> +// Copyright 2015 Technexion Ltd.
> +//
> +// Author: Wig Cheng  <wig.cheng@technexion.com>
> +//	   Richard Hu <richard.hu@technexion.com>
> +//	   Tapani Utriainen <tapani@technexion.com>
> +/dts-v1/;
> +
> +#include "imx7d-pico.dtsi"
> +/ {
> +	model = "TechNexion PICO-IMX7D and DWARF baseboard";
> +	compatible = "technexion,imx7d-pico-dwarf", "fsl,imx7d";
> +
> +	sound {
> +		compatible = "fsl,imx-audio-sgtl5000";
> +		model = "imx7d-sgtl5000";
> +		audio-cpu = <&sai1>;
> +		audio-codec = <&sgtl5000>;
> +		audio-routing =
> +			"LINE_IN", "Line In Jack",
> +			"MIC_IN", "Mic Jack",
> +			"Mic Jack", "Mic Bias",
> +			"Headphone Jack", "HP_OUT";
> +	};
> +
> +	sys_mclk: clock-sys-mclk {
> +		compatible = "fixed-clock";
> +		#clock-cells = <0>;
> +		clock-frequency = <24576000>;
> +	};
> +};
> +
> +&i2c1 {
> +	clock_frequency = <100000>;
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&pinctrl_i2c1>;
> +	status = "okay";
> +
> +	sgtl5000: codec@a {

audio-codec for node name.

Shawn

> +		reg = <0x0a>;
> +		compatible = "fsl,sgtl5000";
> +		clocks = <&sys_mclk>;
> +		VDDA-supply = <&reg_2p5v>;
> +		VDDIO-supply = <&reg_3p3v>;
> +	};
> +
> +	pressure-sensor@60 {
> +		compatible = "fsl,mpl3115";
> +		reg = <0x60>;
> +	};
> +};
> +
> +&i2c4 {
> +	clock_frequency = <100000>;
> +	pinctrl-names = "default";
> +	pinctrl-0 = <&pinctrl_i2c1>;
> +	status = "okay";
> +
> +	pca9554: io-expander@25 {
> +		compatible = "nxp,pca9554";
> +		gpio-controller;
> +		#gpio-cells = <2>;
> +		#interrupt-cells = <2>;
> +		reg = <0x25>;
> +	};
> +
> +	touchscreen@38 {
> +		compatible = "edt,edt-ft5x06";
> +		reg = <0x38>;
> +		pinctrl-names = "default";
> +		pinctrl-0 = <&pinctrl_touchscreen>;
> +		interrupt-parent = <&gpio2>;
> +		interrupts = <13 IRQ_TYPE_EDGE_FALLING>;
> +		reset-gpios = <&pca9554 4 GPIO_ACTIVE_LOW>;
> +		touchscreen-size-x = <800>;
> +		touchscreen-size-y = <480>;
> +	};
> +};
> +
> +&iomuxc {
> +	pinctrl_touchscreen: touchscreengrp {
> +		fsl,pins = <
> +			MX7D_PAD_EPDC_DATA13__GPIO2_IO13	0x14
> +		>;
> +	};
> +};
> -- 
> 2.17.1
> 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2020-03-10 14:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-24 19:31 [PATCH 1/6] dt-bindings: arm: fsl: Add TechNexion boards Fabio Estevam
2020-02-24 19:31 ` [PATCH 2/6] ARM: dts: imx7d-pico: Add support for the dwarf baseboard Fabio Estevam
2020-03-10 14:35   ` Shawn Guo [this message]
2020-03-10 14:43     ` Otavio Salvador
2020-02-24 19:31 ` [PATCH 3/6] ARM: dts: imx6ul-pico-hobbit: Add ADC support Fabio Estevam
2020-03-10 14:36   ` Shawn Guo
2020-03-10 18:15     ` Fabio Estevam
2020-02-24 19:31 ` [PATCH 4/6] ARM: dts: imx7d-pico: Add support for the nymph baseboard Fabio Estevam
2020-02-24 19:31 ` [PATCH 5/6] ARM: dts: imx6ul-pico: Add support for the dwarf baseboard Fabio Estevam
2020-02-24 19:32 ` [PATCH 6/6] ARM: dts: imx6qdl: Add imx6qdl-pico support Fabio Estevam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200310143548.GA21213@dragon \
    --to=shawnguo@kernel.org \
    --cc=festevam@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=otavio@ossystems.com.br \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox