From patchwork Wed Dec 6 17:20:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 174678 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4255939vqy; Wed, 6 Dec 2023 09:21:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IHnPlfpfta7dI15W8R6I9A2LcQXajzX8cGcy1NtZlaGvMqPqA3MiPc79iCeMDM+Emjo3rjx X-Received: by 2002:a05:6a20:9146:b0:187:d44:59f1 with SMTP id x6-20020a056a20914600b001870d4459f1mr1150750pzc.31.1701883267792; Wed, 06 Dec 2023 09:21:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701883267; cv=none; d=google.com; s=arc-20160816; b=mytLWTJBseKUNi8DDuYoJ+XtNqmUKLUaCTKrbZsjFQFYJXu5DzKZHE+lw/m8NZsGVq n5caBN8gEqUcvRPI6aPE0EDs1p4zDuKtqCrCIQy64/r1eHQ/bc7PNUXUimlMI7kNDwFK 2gkglsPNZjfwJDFGWjTv7sRLamgslXjszP9b+4ipmJ8y8XxKKAWsHm29SJ6gC460vkTx tlMULkp58OAvQ9bBf+8oTXj4hQ3W6ZEYPKoMy6ixf2bRzWqX4J2bvAcAvCCWmEVS7G8K wHRT8yJICBLs9lj333fNompxArYJcsIOrOqnzHcu2du+sEUvodGB/w5Y6Vw5A2NVz1Zy iU/g== 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=y6VpUz4b510Kv9jC4j72epDxCDpD3FJ3vGcM2z5b3qk=; fh=ClTubE66qO82HoUnBUK/7l8oOzBFuM3gFyS0iAy2H28=; b=Xm5oekp9f4V/DHdZ1AKhz8/fkkzfTQwEK5g4fD+klGalgSIdheh+bY4+fEkYbUjcfV b/kp2I6l7wTAoiiSu3IG/3lvGWjaj6YGYLyKmdwIdnPZd3vZQZILZtUF6/BjhDOzVyPf TLHH1bkE4trbTOW4E5blQd7JCAbEu9d15OOBhJnI1msWWmNykEnhLsgd0rWBXbyZm+uP En/RyVqVLqdwqe63oSQE4VL2T0xqYHi8JyRArh+6bfvFp2fxOHI5jD0UODaBG/0Zff3c iJ/cSmv+CwsQOw/cZi91d0Nq6rt5Lf7mnIWKWDMdfzgnyhTAyeJN+HQkV2RW5/FGdEOv oVQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=JkLSOGsb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id bd9-20020a056a00278900b006ce1ff0ed26si234012pfb.375.2023.12.06.09.21.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 09:21:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=JkLSOGsb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id AB3E98081CDE; Wed, 6 Dec 2023 09:21:02 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379794AbjLFRUe (ORCPT + 99 others); Wed, 6 Dec 2023 12:20:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379722AbjLFRUb (ORCPT ); Wed, 6 Dec 2023 12:20:31 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 445E7D3; Wed, 6 Dec 2023 09:20:38 -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=y6VpUz4b510Kv9jC4j72epDxCDpD3FJ3vGcM2z5b3qk=; b=JkLSOGsbLcnNGqJf5i1ZRDtVxv agrgw1SSzj/fHdj+et+CeGYzWMjzUYxZFWw8QJ9cUKR4Jtw8bfLQ1WuPACyVjiajCpDh4mVQqLgAy gEcjJCtH0g9Hl/oPrBpd+Z/GQqrXsOCXTPSDsQ1I88dbAaXiyg1G+k/WXVamYqf8bpBFUGZQhnmXS BXFlgLZDAKX9Ra7JngC9lwOnFiSl7jjo0sNHvpKAJGQPE/9tVal3Tz9G36Y82Vi24wKTboTf89I7A ZIW4/ED7xFI3vLfQZOeW+8pn55Zj/Q9goKOlZqu7t8hozU+hV0ehsZd3bO9Vz30CgFIimalZqEXrG vU9ib6DQ==; Received: from [50.53.46.231] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1rAvZd-00AsMr-3D; Wed, 06 Dec 2023 17:20:38 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Dmitry Baryshkov , Bryan O'Donoghue , Heikki Krogerus , Guenter Roeck , Greg Kroah-Hartman , linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, Arnd Bergmann Subject: [PATCH] usb: typec: qcom-pmic: add CONFIG_OF dependency Date: Wed, 6 Dec 2023 09:20:37 -0800 Message-ID: <20231206172037.12072-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Wed, 06 Dec 2023 09:21:03 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784553949556754841 X-GMAIL-MSGID: 1784553949556754841 DRM_AUX_BRIDGE depends on CONFIG_OF, so that is also needed here to fix a kconfig warning: WARNING: unmet direct dependencies detected for DRM_AUX_HPD_BRIDGE Depends on [n]: HAS_IOMEM [=y] && DRM_BRIDGE [=y] && OF [=n] Selected by [y]: - TYPEC_QCOM_PMIC [=y] && USB_SUPPORT [=y] && TYPEC [=y] && TYPEC_TCPM [=y] && (ARCH_QCOM || COMPILE_TEST [=y]) && (DRM [=y] || DRM [=y]=n) && DRM_BRIDGE [=y] Fixes: 7d9f1b72b296 ("usb: typec: qcom-pmic-typec: switch to DRM_AUX_HPD_BRIDGE") Signed-off-by: Randy Dunlap Cc: Dmitry Baryshkov Cc: Bryan O'Donoghue Cc: Heikki Krogerus Cc: Guenter Roeck Cc: Greg Kroah-Hartman Cc: linux-arm-msm@vger.kernel.org Cc: linux-usb@vger.kernel.org Cc: Arnd Bergmann --- drivers/usb/typec/tcpm/Kconfig | 1 + 1 file changed, 1 insertion(+) diff -- a/drivers/usb/typec/tcpm/Kconfig b/drivers/usb/typec/tcpm/Kconfig --- a/drivers/usb/typec/tcpm/Kconfig +++ b/drivers/usb/typec/tcpm/Kconfig @@ -80,6 +80,7 @@ config TYPEC_QCOM_PMIC tristate "Qualcomm PMIC USB Type-C Port Controller Manager driver" depends on ARCH_QCOM || COMPILE_TEST depends on DRM || DRM=n + depends on OF select DRM_AUX_HPD_BRIDGE if DRM_BRIDGE help A Type-C port and Power Delivery driver which aggregates two