All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Simek <monstr@monstr.eu>
To: U-Boot <u-boot@lists.denx.de>, git <git@xilinx.com>
Cc: Harm Berntsen <harm.berntsen@nedap.com>,
	Heiko Schocher <hs@denx.de>,
	 Rayagonda Kokatanur <rayagonda.kokatanur@broadcom.com>,
	 Sheetal Tigadoli <sheetal.tigadoli@broadcom.com>,
	Simon Glass <sjg@chromium.org>,
	 Stefan Bosch <stefan_b@posteo.net>, Stefan Roese <sr@denx.de>,
	 Suneel Garapati <sgarapati@marvell.com>,
	Weijie Gao <weijie.gao@mediatek.com>
Subject: Re: [PATCH] gpio: pca953x: Add missing i2c dependency
Date: Thu, 10 Jun 2021 09:30:23 +0200	[thread overview]
Message-ID: <CAHTX3dLg4t=Sve5X6tNZ8WDcPqfU4bZou4sWL9y2DWWrt2W2Uw@mail.gmail.com> (raw)
In-Reply-To: <9700c23ecb36ed17abdcb8c6c47ceb7b2cd99d77.1622706702.git.michal.simek@xilinx.com>

čt 3. 6. 2021 v 9:51 odesílatel Michal Simek <michal.simek@xilinx.com> napsal:
>
> pca953x also depends on i2c that's why add dependency to Kconfig.
> Where GPIO is enabled but I2C compilation error pops up.
>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
>  drivers/gpio/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig
> index d24884739bf2..de4dc51d4b48 100644
> --- a/drivers/gpio/Kconfig
> +++ b/drivers/gpio/Kconfig
> @@ -396,7 +396,7 @@ config DM_74X164
>
>  config DM_PCA953X
>         bool "PCA95[357]x, PCA9698, TCA64xx, and MAX7310 I/O ports"
> -       depends on DM_GPIO
> +       depends on DM_GPIO && DM_I2C
>         help
>           Say yes here to provide access to several register-oriented
>           SMBus I/O expanders, made mostly by NXP or TI.  Compatible
> --
> 2.31.1
>

Applied.
M

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs

  reply	other threads:[~2021-06-10  7:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-03  7:51 [PATCH] gpio: pca953x: Add missing i2c dependency Michal Simek
2021-06-10  7:30 ` Michal Simek [this message]
2021-06-19  8:38 ` Heiko Schocher

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='CAHTX3dLg4t=Sve5X6tNZ8WDcPqfU4bZou4sWL9y2DWWrt2W2Uw@mail.gmail.com' \
    --to=monstr@monstr.eu \
    --cc=git@xilinx.com \
    --cc=harm.berntsen@nedap.com \
    --cc=hs@denx.de \
    --cc=rayagonda.kokatanur@broadcom.com \
    --cc=sgarapati@marvell.com \
    --cc=sheetal.tigadoli@broadcom.com \
    --cc=sjg@chromium.org \
    --cc=sr@denx.de \
    --cc=stefan_b@posteo.net \
    --cc=u-boot@lists.denx.de \
    --cc=weijie.gao@mediatek.com \
    /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.