U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Neil Armstrong <neil.armstrong@linaro.org>
To: Caleb Connolly <caleb.connolly@linaro.org>,
	Tom Rini <trini@konsulko.com>, Sumit Garg <sumit.garg@linaro.org>,
	Jaehoon Chung <jh80.chung@samsung.com>,
	Simon Glass <sjg@chromium.org>
Cc: u-boot@lists.denx.de, u-boot-qcom@groups.io
Subject: Re: [PATCH v6 15/24] soc: qcom: add build infrastructure
Date: Mon, 15 Jul 2024 14:29:01 +0200	[thread overview]
Message-ID: <f2fd1f99-acfe-42e8-aad8-66f7cb21950a@linaro.org> (raw)
In-Reply-To: <20240715-b4-qcom-rpmh-v6-15-0c948a25d018@linaro.org>

On 15/07/2024 12:08, Caleb Connolly wrote:
> Add Kconfig / Makefiles to build rpmh and cmd-db drivers.
> 
> Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
> ---
>   drivers/soc/Kconfig       |  1 +
>   drivers/soc/Makefile      |  1 +
>   drivers/soc/qcom/Kconfig  | 27 +++++++++++++++++++++++++++
>   drivers/soc/qcom/Makefile |  4 ++++
>   4 files changed, 33 insertions(+)
> 
> diff --git a/drivers/soc/Kconfig b/drivers/soc/Kconfig
> index cee506fe4747..8ef408d9ba1b 100644
> --- a/drivers/soc/Kconfig
> +++ b/drivers/soc/Kconfig
> @@ -47,8 +47,9 @@ config SOC_XILINX_VERSAL_NET
>   	  Enable this option to select SoC device id driver for Xilinx Versal NET.
>   	  This allows other drivers to verify the SoC familiy & revision using
>   	  matching SoC attributes.
>   
> +source "drivers/soc/qcom/Kconfig"
>   source "drivers/soc/samsung/Kconfig"
>   source "drivers/soc/ti/Kconfig"
>   
>   endmenu
> diff --git a/drivers/soc/Makefile b/drivers/soc/Makefile
> index 5ec89a053165..00e6a5ac8e2b 100644
> --- a/drivers/soc/Makefile
> +++ b/drivers/soc/Makefile
> @@ -2,8 +2,9 @@
>   #
>   # Makefile for the U-Boot SOC specific device drivers.
>   
>   obj-$(CONFIG_SOC_AMD_VERSAL2) += soc_amd_versal2.o
> +obj-$(CONFIG_SOC_QCOM) += qcom/
>   obj-$(CONFIG_SOC_SAMSUNG) += samsung/
>   obj-$(CONFIG_SOC_TI) += ti/
>   obj-$(CONFIG_SOC_DEVICE) += soc-uclass.o
>   obj-$(CONFIG_SOC_DEVICE_TI_K3) += soc_ti_k3.o
> diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig
> new file mode 100644
> index 000000000000..4aa7833930c7
> --- /dev/null
> +++ b/drivers/soc/qcom/Kconfig
> @@ -0,0 +1,27 @@
> +# SPDX-License-Identifier: GPL-2.0-only
> +#
> +# QCOM Soc drivers
> +#
> +menuconfig SOC_QCOM
> +	bool "Qualcomm SOC drivers support"
> +	help
> +	  Say Y here if you want to enable Qualcomm SOC drivers support.
> +
> +if SOC_QCOM
> +
> +config QCOM_COMMAND_DB
> +	bool "Qualcomm Command DB"
> +	help
> +	  Command DB queries shared memory by key string for shared system
> +	  resources. Platform drivers that require to set state of a shared
> +	  resource on a RPM-hardened platform must use this database to get
> +	  SoC specific identifier and information for the shared resources.
> +
> +config QCOM_RPMH
> +	bool "Qualcomm RPMh support"
> +	depends on QCOM_COMMAND_DB
> +	help
> +	  Say y here to support the Qualcomm RPMh (resource peripheral manager)
> +	  if you need to control regulators on Qualcomm platforms, say y here.
> +
> +endif # SOC_QCOM
> diff --git a/drivers/soc/qcom/Makefile b/drivers/soc/qcom/Makefile
> new file mode 100644
> index 000000000000..78fae8bbfa16
> --- /dev/null
> +++ b/drivers/soc/qcom/Makefile
> @@ -0,0 +1,4 @@
> +# SPDX-License-Identifier: GPL-2.0+
> +
> +obj-$(CONFIG_QCOM_COMMAND_DB) += cmd-db.o
> +obj-$(CONFIG_QCOM_RPMH) += rpmh-rsc.o rpmh.o
> 

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>

  reply	other threads:[~2024-07-15 12:29 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-15 10:07 [PATCH v6 00/24] qcom: rpmh core and regulator support Caleb Connolly
2024-07-15 10:08 ` [PATCH v6 01/24] dm: core: scan reserved-memory nodes Caleb Connolly
2024-07-15 11:39   ` Simon Glass
2024-07-15 10:08 ` [PATCH v6 02/24] linux/bitmap.h: add bitmap_empty helper Caleb Connolly
2024-07-15 10:08 ` [PATCH v6 03/24] soc: qcom: import rpmh and cmd-db drivers from Linux Caleb Connolly
2024-07-15 10:08 ` [PATCH v6 04/24] soc: qcom: cmd-db: adjust headers for U-Boot Caleb Connolly
2024-07-15 10:08 ` [PATCH v6 05/24] soc: qcom: cmd-db: drop unused functions Caleb Connolly
2024-07-15 10:08 ` [PATCH v6 06/24] soc: qcom: cmd-db: adjust probe for U-Boot Caleb Connolly
2024-07-15 11:39   ` Simon Glass
2024-07-15 21:42     ` Caleb Connolly
2024-07-16  7:04       ` Simon Glass
2024-07-16  7:16         ` Caleb Connolly
2024-07-19 15:04           ` Simon Glass
2024-07-19 19:45             ` Caleb Connolly
2024-07-20 12:36               ` Simon Glass
2024-07-15 10:08 ` [PATCH v6 07/24] soc: qcom: cmd-db: adjust for U-Boot API Caleb Connolly
2024-07-15 10:08 ` [PATCH v6 08/24] soc: qcom: rpmh-rsc: drop unused multi-threading and non-active TCS support Caleb Connolly
2024-07-15 10:08 ` [PATCH v6 09/24] soc: qcom: rpmh-rsc: adjust headers for U-Boot Caleb Connolly
2024-07-15 10:08 ` [PATCH v6 10/24] soc: qcom: rpmh-rsc: adjust probe " Caleb Connolly
2024-07-15 10:08 ` [PATCH v6 11/24] soc: qcom: rpmh-rsc: remaining U-Boot API changes Caleb Connolly
2024-07-15 10:08 ` [PATCH v6 12/24] soc: qcom: rpmh: adjust headers for U-Boot Caleb Connolly
2024-07-15 10:08 ` [PATCH v6 13/24] soc: qcom: rpmh: drop unused functions Caleb Connolly
2024-07-15 10:08 ` [PATCH v6 14/24] soc: qcom: rpmh: U-Boot API changes Caleb Connolly
2024-07-15 10:08 ` [PATCH v6 15/24] soc: qcom: add build infrastructure Caleb Connolly
2024-07-15 12:29   ` Neil Armstrong [this message]
2024-07-15 10:08 ` [PATCH v6 16/24] power: regulator: import qcom-rpmh-regulator from Linux Caleb Connolly
2024-07-15 10:08 ` [PATCH v6 17/24] power: regulator: qcom-rpmh-regulator: adjust headers for U-Boot Caleb Connolly
2024-07-15 10:08 ` [PATCH v6 18/24] power: regulator: qcom-rpmh-regulator: port over lineage_range helpers Caleb Connolly
2024-07-15 10:08 ` [PATCH v6 19/24] power: regulator: qcom-rpmh-regulator: adjust structs for U-Boot Caleb Connolly
2024-07-15 10:08 ` [PATCH v6 20/24] power: regulator: qcom-rpmh-regulator: remove unused regulators Caleb Connolly
2024-07-15 10:08 ` [PATCH v6 21/24] power: regulator: qcom-rpmh-regulator: port ops to U-Boot Caleb Connolly
2024-07-15 10:08 ` [PATCH v6 22/24] power: regulator: qcom-rpmh-regulator: adjust probe for U-Boot Caleb Connolly
2024-07-15 10:08 ` [PATCH v6 23/24] power: regulator: qcom-rpmh-regulator: add build infra Caleb Connolly
2024-07-15 12:29   ` Neil Armstrong
2024-07-15 10:08 ` [PATCH v6 24/24] qcom_defconfig: enable rpmh regulators Caleb Connolly
2024-07-25 23:38 ` [PATCH v6 00/24] qcom: rpmh core and regulator support Caleb Connolly

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=f2fd1f99-acfe-42e8-aad8-66f7cb21950a@linaro.org \
    --to=neil.armstrong@linaro.org \
    --cc=caleb.connolly@linaro.org \
    --cc=jh80.chung@samsung.com \
    --cc=sjg@chromium.org \
    --cc=sumit.garg@linaro.org \
    --cc=trini@konsulko.com \
    --cc=u-boot-qcom@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox