From patchwork Thu Jun 3 07:51:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 1487032 X-Patchwork-Delegate: monstr@monstr.eu Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=bEo3Foqp; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FwdQT32chz9s24 for ; Thu, 3 Jun 2021 17:52:01 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7DB0282F7A; Thu, 3 Jun 2021 09:51:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=monstr-eu.20150623.gappssmtp.com header.i=@monstr-eu.20150623.gappssmtp.com header.b="bEo3Foqp"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 970FB82F7A; Thu, 3 Jun 2021 09:51:54 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 83BB382F85 for ; Thu, 3 Jun 2021 09:51:49 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=xilinx.com Authentication-Results: phobos.denx.de; spf=none smtp.mailfrom=monstr@monstr.eu Received: by mail-ed1-x52d.google.com with SMTP id g18so4010635edq.8 for ; Thu, 03 Jun 2021 00:51:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=m48BeC7fT7R68Y3Fwhj9GvIH0g4VAuHg1WZtqp7zK4o=; b=bEo3FoqppCXYoil+c1A/u/qUZo2PEG5j4l5h9MoYoMXdSFKF1VW+ReWg0V0Zv0YItn q/bsymH3cgwx1BMbKPhZaaWkSMsrYhtQPCkMe77lndLpWAhv528qHGGVUaPt4lC9sUpn 8R8AF0HlqKRDawuR54ZCKZiSr7J3zK1p88l+nsama2Y6T/q8rBlVQj/sPbRfVCelojxE 45VSk+BnUyZRbKqh+hCXcDZuUjBc4/HIPqAVFLWaywQyD1Ua5e7V01kt9RHuUqjujjse RGZO2VQTx2MrcPKtKU4MmRMtcC4q307+DYRtigVJvaUpNgz9DGYUHym1FK2BNp5Nml+a MK3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=m48BeC7fT7R68Y3Fwhj9GvIH0g4VAuHg1WZtqp7zK4o=; b=RW77oMMM8O527bF8iPekFfKWVJhJJD9wAUDP1MW7ePgHP5+A/NJkYd3X924YEmBMVK ohawXNM20H0FxfBh6Td5SVhFvG6lt4VLfyyKpOzDUUvre7jYzdVHvt4fECJmb66yS3Zk SwhAZL3Q7BgI+UC/sl+0Ys0KY++x1nvKs0a1I4jadfcpYzZ0ktBgWOIhHD8UWL3+nFwk bIXBsfL7Te2W1OvuiNRqwHlI3XPl5PqVV3+0Oc93CblYpGyvs21lCZEQPdHyTYfW/MGb YLFMd5UlX5zag2aL2dkfZtjXVrokrst8c1i2dgJby+Hnr+KNsxkMlbm9f/tF32/8aqf9 32Lw== X-Gm-Message-State: AOAM532aw7v3NjDL03vq4TFcEgOcFpqdW5BmsOoQ1mdjOmQrn2Wfgo2Y +IOEfFTj9j2wWjN3KTW8LQf9DrFaY6bW4zAn X-Google-Smtp-Source: ABdhPJyMFvVQYocnZvXPgwQA0NX03vGRU1vCCR5XsIiqL6Wss8FhsDAfFvVuj6bIJjNKFSzs1Smexg== X-Received: by 2002:aa7:dbc9:: with SMTP id v9mr42742441edt.183.1622706708830; Thu, 03 Jun 2021 00:51:48 -0700 (PDT) Received: from localhost ([2a02:768:2307:40d6::45a]) by smtp.gmail.com with ESMTPSA id di16sm1299086edb.62.2021.06.03.00.51.48 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 Jun 2021 00:51:48 -0700 (PDT) From: Michal Simek To: u-boot@lists.denx.de, git@xilinx.com Cc: Harm Berntsen , Heiko Schocher , Rayagonda Kokatanur , Sheetal Tigadoli , Simon Glass , Stefan Bosch , Stefan Roese , Suneel Garapati , Weijie Gao Subject: [PATCH] gpio: pca953x: Add missing i2c dependency Date: Thu, 3 Jun 2021 09:51:44 +0200 Message-Id: <9700c23ecb36ed17abdcb8c6c47ceb7b2cd99d77.1622706702.git.michal.simek@xilinx.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean 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 Reviewed-by: Heiko Schocher --- 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