From patchwork Tue Jan 10 06:25:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 41309 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2590947wrt; Mon, 9 Jan 2023 22:53:40 -0800 (PST) X-Google-Smtp-Source: AMrXdXs5h8uRP0yY16Jl1MLK4OEE4QwEXucfdQUdVY5yv9Jzmo4l71Dvg3ON6Ckuci2bgiFfmxVq X-Received: by 2002:a17:902:f788:b0:192:dda4:30e2 with SMTP id q8-20020a170902f78800b00192dda430e2mr28120750pln.52.1673333620169; Mon, 09 Jan 2023 22:53:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673333620; cv=none; d=google.com; s=arc-20160816; b=jyWhUhCWbNxHlzGE12k8v2DCGO4Zz0av9F8hAR/28/RVSNPv1NJAbQ7suzg1ZbsIx+ 50u8cfI7uJrXJabZUCiyNuh8tU6QbPccPf4qakcYv5K8nA7R5pE836Ns8dF9tbp4vqBf E8GK47YNY0pKpHAQ8ZNwI9xjqiRFux43hL3L1XIlQUKLakCdm5oZCdRqQcQwg9H7d6II RnuAtrtMdEf+sQ7fCO0+0Ra55hdWiDRwXYdOl2xC9iqO2eWpU8Ptm637LRRpdVi4vrYF u5KSIUy4hbPJopU64j44Wi0W1y0exjcyoGvz9H64Or9GcbyZVBAaR9EbBmf9T+T7gO3o NP+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=toHFqb+ICg1DfB2mE1ujILSxvpCCe3enz1xLcPvyvHw=; b=PIe1SUWOaS0XkIwy126M/Y/Oh2VjDvzFccvpVXm9gBUJ7+UjVxNT0UdCSywIfX9Zo7 hLJ2a9OqNdq9pH21j0e0hVtCvdsnbLEntvbOplecuRFWfWYLe6JVJrCm0a1uVvkeqBub 71vozwmvpPC8JdxiQSH2dB7jIFq7H9niCnVdRYDw/7M6ajYOrGvkFId+/p1nuZexsQFA Cuox1P/gsB7DBUtU3x6i1ZOGprGYcCLu18LaXCi4gU93nACBGPpGrlm93+sr/85HBiec uGjh0jXPZ8zNvnkoMFI347bcxGYTcXm3t0fkdRuz/dqGJYvsdDut1fsMOthTGbvE/Zvt Ptfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=ginBFSPY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s12-20020a17090302cc00b0018965944b98si10981407plk.24.2023.01.09.22.53.27; Mon, 09 Jan 2023 22:53:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=ginBFSPY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231349AbjAJGZe (ORCPT + 99 others); Tue, 10 Jan 2023 01:25:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230484AbjAJGZd (ORCPT ); Tue, 10 Jan 2023 01:25:33 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08A8A392FA for ; Mon, 9 Jan 2023 22:25:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=toHFqb+ICg1DfB2mE1ujILSxvpCCe3enz1xLcPvyvHw=; b=ginBFSPYtaWa8LFdPf4C0r4XWm De0bSFGhlKv2p2MiWb73SJaiocxs/ZxIlSTjtHj3yLyvJK0uJsSBZK7smXlF3eHlnFli0N9zpK79Y VMAu8mlOt8RPyVIG1WCzAEjGEvHZNW5kkAUTMj1J0Ieoac2vUmELI9ICZDW2uk/qZl14+ux82m3Lt 7o33KvEKK57nP2+o6uY/F6W7hTCcx2HL44/YhnqEWsiNDchR5r7O83XXWe53A+KZ3iISLkxY6DA0y r8yYduTqCSAQ4mvYdeXDlPO/jNYzYxIp5aZZffkJPc9A2A8km84ml9VC1d3G7HPOzFwKfVYmGXQiL +emWTFKQ==; Received: from [2601:1c2:d80:3110::a2e7] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pF84h-005U9k-5n; Tue, 10 Jan 2023 06:25:31 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Vinod Koul , Kishon Vijay Abraham I , linux-phy@lists.infradead.org, Arnd Bergmann Subject: [PATCH] phy: ti: fix Kconfig warning and operator precedence Date: Mon, 9 Jan 2023 22:25:29 -0800 Message-Id: <20230110062529.22668-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754617474130856561?= X-GMAIL-MSGID: =?utf-8?q?1754617474130856561?= Fix Kconfig depends operator precedence to prevent a Kconfig warning: WARNING: unmet direct dependencies detected for MUX_MMIO Depends on [n]: MULTIPLEXER [=m] && OF [=n] Selected by [m]: - PHY_AM654_SERDES [=m] && (OF [=n] && ARCH_K3 || COMPILE_TEST [=y]) && COMMON_CLK [=y] Fixes: 71e2f5c5c224 ("phy: ti: Add a new SERDES driver for TI's AM654x SoC") Fixes: 091876cc355d ("phy: ti: j721e-wiz: Add support for WIZ module present in TI J721E SoC") Signed-off-by: Randy Dunlap Cc: Vinod Koul Cc: Kishon Vijay Abraham I Cc: linux-phy@lists.infradead.org Cc: Arnd Bergmann --- drivers/phy/ti/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff -- a/drivers/phy/ti/Kconfig b/drivers/phy/ti/Kconfig --- a/drivers/phy/ti/Kconfig +++ b/drivers/phy/ti/Kconfig @@ -23,7 +23,7 @@ config PHY_DM816X_USB config PHY_AM654_SERDES tristate "TI AM654 SERDES support" - depends on OF && ARCH_K3 || COMPILE_TEST + depends on OF && (ARCH_K3 || COMPILE_TEST) depends on COMMON_CLK select GENERIC_PHY select MULTIPLEXER @@ -35,7 +35,7 @@ config PHY_AM654_SERDES config PHY_J721E_WIZ tristate "TI J721E WIZ (SERDES Wrapper) support" - depends on OF && ARCH_K3 || COMPILE_TEST + depends on OF && (ARCH_K3 || COMPILE_TEST) depends on HAS_IOMEM && OF_ADDRESS depends on COMMON_CLK select GENERIC_PHY