All of lore.kernel.org
 help / color / mirror / Atom feed
From: Neil Armstrong <narmstrong@baylibre.com>
To: Artem Lapkin <email2tema@gmail.com>
Cc: u-boot@lists.denx.de, u-boot-amlogic@groups.io,
	khilman@baylibre.com, christianshewitt@gmail.com,
	martin.blumenstingl@googlemail.com, art@khadas.com,
	nick@khadas.com, gouwa@khadas.com
Subject: Re: [PATCH] ARM: dts: meson: Use devicetree for SMBIOS settings for Khadas VIM boards
Date: Tue, 27 Jul 2021 10:33:44 +0200	[thread overview]
Message-ID: <6cff934d-8f44-88e1-a106-8d4f0882a1c1@baylibre.com> (raw)
In-Reply-To: <20210727012319.1024276-1-art@khadas.com>

On 27/07/2021 03:23, Artem Lapkin wrote:
> Khadas vim series: Use devicetree for SMBIOS settings
> Add settings and enable the default sysinfo driver so that these can come
> from the device tree.
> 
> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
> Signed-off-by: Artem Lapkin <art@khadas.com>
> ---
>  .../meson-g12b-a311d-khadas-vim3-u-boot.dtsi  | 23 +++++++++++++++++++
>  .../meson-gxl-s905x-khadas-vim-u-boot.dtsi    | 23 +++++++++++++++++++
>  .../arm/dts/meson-gxm-khadas-vim2-u-boot.dtsi | 21 +++++++++++++++++
>  .../dts/meson-sm1-khadas-vim3l-u-boot.dtsi    | 23 +++++++++++++++++++
>  4 files changed, 90 insertions(+)
> 
> diff --git a/arch/arm/dts/meson-g12b-a311d-khadas-vim3-u-boot.dtsi b/arch/arm/dts/meson-g12b-a311d-khadas-vim3-u-boot.dtsi
> index 489efa15..fcd6f053 100644
> --- a/arch/arm/dts/meson-g12b-a311d-khadas-vim3-u-boot.dtsi
> +++ b/arch/arm/dts/meson-g12b-a311d-khadas-vim3-u-boot.dtsi
> @@ -6,3 +6,26 @@
>  
>  #include "meson-g12-common-u-boot.dtsi"
>  #include "meson-khadas-vim3-u-boot.dtsi"
> +
> +/ {
> +	smbios {
> +		compatible = "u-boot,sysinfo-smbios";
> +
> +		smbios {
> +			system {
> +				manufacturer = "khadas";
> +				product = "VIM3";
> +			};
> +
> +			baseboard {
> +				manufacturer = "khadas";
> +				product = "VIM3";
> +			};
> +
> +			chassis {
> +				manufacturer = "khadas";
> +				product = "VIM3";
> +			};
> +		};
> +	};
> +};
> diff --git a/arch/arm/dts/meson-gxl-s905x-khadas-vim-u-boot.dtsi b/arch/arm/dts/meson-gxl-s905x-khadas-vim-u-boot.dtsi
> index 39270ea7..20e36d1b 100644
> --- a/arch/arm/dts/meson-gxl-s905x-khadas-vim-u-boot.dtsi
> +++ b/arch/arm/dts/meson-gxl-s905x-khadas-vim-u-boot.dtsi
> @@ -5,3 +5,26 @@
>   */
>  
>  #include "meson-gxl-u-boot.dtsi"
> +
> +/ {
> +	smbios {
> +		compatible = "u-boot,sysinfo-smbios";
> +
> +		smbios {
> +			system {
> +				manufacturer = "khadas";
> +				product = "VIM";
> +			};
> +
> +			baseboard {
> +				manufacturer = "khadas";
> +				product = "VIM";
> +			};
> +
> +			chassis {
> +				manufacturer = "khadas";
> +				product = "VIM";
> +			};
> +		};
> +	};
> +};
> diff --git a/arch/arm/dts/meson-gxm-khadas-vim2-u-boot.dtsi b/arch/arm/dts/meson-gxm-khadas-vim2-u-boot.dtsi
> index c1763336..41480c9a 100644
> --- a/arch/arm/dts/meson-gxm-khadas-vim2-u-boot.dtsi
> +++ b/arch/arm/dts/meson-gxm-khadas-vim2-u-boot.dtsi
> @@ -10,6 +10,27 @@
>  	aliases {
>  		spi0 = &spifc;
>  	};
> +
> +	smbios {
> +		compatible = "u-boot,sysinfo-smbios";
> +
> +		smbios {
> +			system {
> +				manufacturer = "khadas";
> +				product = "VIM2";
> +			};
> +
> +			baseboard {
> +				manufacturer = "khadas";
> +				product = "VIM2";
> +			};
> +
> +			chassis {
> +				manufacturer = "khadas";
> +				product = "VIM2";
> +			};
> +		};
> +	};
>  };
>  
>  &sd_emmc_c {
> diff --git a/arch/arm/dts/meson-sm1-khadas-vim3l-u-boot.dtsi b/arch/arm/dts/meson-sm1-khadas-vim3l-u-boot.dtsi
> index a591c0c9..06b81f23 100644
> --- a/arch/arm/dts/meson-sm1-khadas-vim3l-u-boot.dtsi
> +++ b/arch/arm/dts/meson-sm1-khadas-vim3l-u-boot.dtsi
> @@ -6,3 +6,26 @@
>  
>  #include "meson-sm1-u-boot.dtsi"
>  #include "meson-khadas-vim3-u-boot.dtsi"
> +
> +/ {
> +	smbios {
> +		compatible = "u-boot,sysinfo-smbios";
> +
> +		smbios {
> +			system {
> +				manufacturer = "khadas";
> +				product = "VIM3L";
> +			};
> +
> +			baseboard {
> +				manufacturer = "khadas";
> +				product = "VIM3L";
> +			};
> +
> +			chassis {
> +				manufacturer = "khadas";
> +				product = "VIM3L";
> +			};
> +		};
> +	};
> +};
> 



Applied to u-boot-amlogic,

Thanks,
Neil


      parent reply	other threads:[~2021-07-27  8:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-27  1:23 [PATCH] ARM: dts: meson: Use devicetree for SMBIOS settings for Khadas VIM boards Artem Lapkin
2021-07-27  1:23 ` [PATCH] configs: Enable SMBIOS " Artem Lapkin
2021-07-27  8:33   ` Neil Armstrong
2021-07-27  8:33 ` Neil Armstrong [this message]

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=6cff934d-8f44-88e1-a106-8d4f0882a1c1@baylibre.com \
    --to=narmstrong@baylibre.com \
    --cc=art@khadas.com \
    --cc=christianshewitt@gmail.com \
    --cc=email2tema@gmail.com \
    --cc=gouwa@khadas.com \
    --cc=khilman@baylibre.com \
    --cc=martin.blumenstingl@googlemail.com \
    --cc=nick@khadas.com \
    --cc=u-boot-amlogic@groups.io \
    --cc=u-boot@lists.denx.de \
    /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 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.