All of lore.kernel.org
 help / color / mirror / Atom feed
From: Punit Agrawal <punit1.agrawal@toshiba.co.jp>
To: michal.simek@xilinx.com
Cc: Punit Agrawal <punit1.agrawal@toshiba.co.jp>,
	sboyd@kernel.org, linux-clk@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/2] clk: zynqmp: Enable the driver if ZYNQMP_FIRMWARE is selected
Date: Mon, 22 Mar 2021 15:17:53 +0900	[thread overview]
Message-ID: <20210322061754.1065367-2-punit1.agrawal@toshiba.co.jp> (raw)
In-Reply-To: <20210322061754.1065367-1-punit1.agrawal@toshiba.co.jp>

When booting the kernel on zynqmp based platforms such as Ultra96v2,
peripheral drivers such as that for the sdcard depend on the presence
of clocks.

Enable the clock driver if it's dependencies are compiled to avoid
building an unbootable kernel.

Signed-off-by: Punit Agrawal <punit1.agrawal@toshiba.co.jp>
---
 drivers/clk/zynqmp/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/zynqmp/Kconfig b/drivers/clk/zynqmp/Kconfig
index 17086059be8b..14e4f5c55525 100644
--- a/drivers/clk/zynqmp/Kconfig
+++ b/drivers/clk/zynqmp/Kconfig
@@ -4,6 +4,7 @@ config COMMON_CLK_ZYNQMP
 	bool "Support for Xilinx ZynqMP Ultrascale+ clock controllers"
 	depends on ARCH_ZYNQMP || COMPILE_TEST
 	depends on ZYNQMP_FIRMWARE
+	default ZYNQMP_FIRMWARE
 	help
 	  Support for the Zynqmp Ultrascale clock controller.
 	  It has a dependency on the PMU firmware.
-- 
2.30.1


WARNING: multiple messages have this Message-ID (diff)
From: Punit Agrawal <punit1.agrawal@toshiba.co.jp>
To: michal.simek@xilinx.com
Cc: Punit Agrawal <punit1.agrawal@toshiba.co.jp>,
	sboyd@kernel.org, linux-clk@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 1/2] clk: zynqmp: Enable the driver if ZYNQMP_FIRMWARE is selected
Date: Mon, 22 Mar 2021 15:17:53 +0900	[thread overview]
Message-ID: <20210322061754.1065367-2-punit1.agrawal@toshiba.co.jp> (raw)
In-Reply-To: <20210322061754.1065367-1-punit1.agrawal@toshiba.co.jp>

When booting the kernel on zynqmp based platforms such as Ultra96v2,
peripheral drivers such as that for the sdcard depend on the presence
of clocks.

Enable the clock driver if it's dependencies are compiled to avoid
building an unbootable kernel.

Signed-off-by: Punit Agrawal <punit1.agrawal@toshiba.co.jp>
---
 drivers/clk/zynqmp/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/zynqmp/Kconfig b/drivers/clk/zynqmp/Kconfig
index 17086059be8b..14e4f5c55525 100644
--- a/drivers/clk/zynqmp/Kconfig
+++ b/drivers/clk/zynqmp/Kconfig
@@ -4,6 +4,7 @@ config COMMON_CLK_ZYNQMP
 	bool "Support for Xilinx ZynqMP Ultrascale+ clock controllers"
 	depends on ARCH_ZYNQMP || COMPILE_TEST
 	depends on ZYNQMP_FIRMWARE
+	default ZYNQMP_FIRMWARE
 	help
 	  Support for the Zynqmp Ultrascale clock controller.
 	  It has a dependency on the PMU firmware.
-- 
2.30.1


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

  reply	other threads:[~2021-03-22  6:19 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-22  6:17 [PATCH v2 0/2] Update ZYNQMP clock configuration Punit Agrawal
2021-03-22  6:17 ` Punit Agrawal
2021-03-22  6:17 ` Punit Agrawal [this message]
2021-03-22  6:17   ` [PATCH v2 1/2] clk: zynqmp: Enable the driver if ZYNQMP_FIRMWARE is selected Punit Agrawal
2021-03-22  8:17   ` Michal Simek
2021-03-22  8:17     ` Michal Simek
2021-04-08  0:26   ` Stephen Boyd
2021-04-08  0:26     ` Stephen Boyd
2021-03-22  6:17 ` [PATCH v2 2/2] clk: zynqmp: Drop dependency on ARCH_ZYNQMP Punit Agrawal
2021-03-22  6:17   ` Punit Agrawal
2021-03-22  8:16   ` Michal Simek
2021-03-22  8:16     ` Michal Simek
2021-04-08  0:26   ` Stephen Boyd
2021-04-08  0:26     ` Stephen Boyd
2021-04-07 10:13 ` [PATCH v2 0/2] Update ZYNQMP clock configuration Michal Simek
2021-04-07 10:13   ` Michal Simek

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=20210322061754.1065367-2-punit1.agrawal@toshiba.co.jp \
    --to=punit1.agrawal@toshiba.co.jp \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=michal.simek@xilinx.com \
    --cc=sboyd@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 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.