Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1611647rdb; Thu, 7 Dec 2023 04:21:50 -0800 (PST) X-Google-Smtp-Source: AGHT+IGN/DxcNr4cXo7oGb6WcQNEhsrpbizf+fIlGogfdIMbJssSsxF/6rr1o+CiX7DaEJD5j2R7 X-Received: by 2002:a05:6a20:e597:b0:18f:97c:8a3b with SMTP id ng23-20020a056a20e59700b0018f097c8a3bmr2245851pzb.102.1701951710372; Thu, 07 Dec 2023 04:21:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701951710; cv=none; d=google.com; s=arc-20160816; b=zSNN4u3rk56SXRVnS/5pwqHeO4uRxnRe4VYC6Am41m79BTBk6KB/aJjaPBh4PtJvDH 0wOtIpZWi6LMG4Nb/PPkgPPhLjfabGGlWFZMPc8JaAMzg9CK/9GoRMBfML7nHjkwEygK sneYFNbsx7FvzEZFBTMqJzqPQNoKVZ3ky/e39Szp9PBLyLJcYlISzLfnNTeEd+ninrDh E6DLr7KRFksM1ePKtl254dcbMyPwx8Uh2z5c/1F7M2zHBUAucdhNQ/PJxvQ2uHNLKdfR ZDshw7K9H8Mck4KLaMc6UO3e8uOpfeIMNEjx8N/DG8I/jaPLSMYMlfhuJyp3zL0vQcrd W6lQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=Vxesrth8s8TsUil/IZI30r3j8BETP24ApfVOZLfa+WY=; fh=gugPZhZt3MMIhKZo9ezqtIFF/FOot0QO8To7co/p5Cc=; b=dDlYshNjfNvJEpt1e1WQkc/3OJNP2EYY3PLLtEnSvOvL7PO9bK+8mteIeX23rg6PKq kvG9nhCsEDQ/36sBLyxiMvK3mgjaNhcjcdzPUXOGbd0WTvnttoUQXSULKCzM6v3HXgHL L7LdAQUXX9J0DKv+k1GQvdnQZHO776A2L9o3xx/0bpQDO1SbzjkLHRZV8G1vJETdDQIm 8UEGkGGREP6mPGoAvbsCQ6VcAQH9R8JciGtSgMLYtDfggEa/5N9BhL5T+Gb1Mnjx3rBd IGO3okq+NPMMtYlrwLrAP0/Up6ZNsgOjpl6/CFxVfCv4QuJuMdS8+31W7PcIKwKx/TjH Ly4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tNefz4OL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id e3-20020a654783000000b0057942bfab4dsi1088784pgs.395.2023.12.07.04.21.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 04:21:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tNefz4OL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 9C2818020488; Thu, 7 Dec 2023 04:21:46 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1379370AbjLGMVa (ORCPT + 99 others); Thu, 7 Dec 2023 07:21:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235254AbjLGMVO (ORCPT ); Thu, 7 Dec 2023 07:21:14 -0500 Received: from mail-yw1-x1132.google.com (mail-yw1-x1132.google.com [IPv6:2607:f8b0:4864:20::1132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E83211FE2 for ; Thu, 7 Dec 2023 04:20:57 -0800 (PST) Received: by mail-yw1-x1132.google.com with SMTP id 00721157ae682-5cbcfdeaff3so6686607b3.0 for ; Thu, 07 Dec 2023 04:20:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701951656; x=1702556456; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Vxesrth8s8TsUil/IZI30r3j8BETP24ApfVOZLfa+WY=; b=tNefz4OLJrUyiP5nJd/lfLwW4L9O+58Q8DYnqM6cafic/Bdt0D+sh/QyS54kosE6jP pblp0ZlnpH1fpjXvxabo8wNOEpmXzo/HitdkCNacZrA6Z8LZS6aynTfyqSRqXu0gX0EW WxDq8dPWJ0vSFHoQimXtN0kRXdLKeBYjxE+6XFlSHzTQnag+hH4KVxZZdWxLRECfZflq lyu/pIgsUTp9cilge8kPmxOIJn3q9XF8HG6SNL5w+Qh0YXBH4rBidBmpYFxAGrj4U/7M kty1WAgQsYQCsEHPA1OKY+zn4bXledlmVyWRT9ysYupfO9xleSPhRr0bdOU2xfDGD3DO GrJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701951656; x=1702556456; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Vxesrth8s8TsUil/IZI30r3j8BETP24ApfVOZLfa+WY=; b=w/isEZKN57YP2qDDDZhJpofeSIhZ1g2Sx/WMi39+0+BoYQD7W8Qacg1XC3h8QVKlAV mfJ/gMtH1UgfDMp0elHtg7tCMEeMYJTYvsIMblIZv965H0BIALRyhbK/Sqo7NZSk0jS4 wjUSZq7WHZypybxrENVABBe7rE+IbcFjJULsmGfW7aIGFlU48Zj2yaawx54cDQygRDxX OZdcINrT9BP5p6PJ6KH6ivpJHCxKF5EEDhdL2LpXVq7JEJUqIn3o0vYiLAX7a4WQf4Yy wWuGRF+r4QQwtqoKQdevSbfmq3FKNGardtXHwl3WdUyvrDPxuiw4bn8LHP3y95O4Kfzz Nb5Q== X-Gm-Message-State: AOJu0YxNDaWztJV2HDX7YxmL/qP1oNcdfThSRxCL6kaaMkeMDT9FZ0J5 7rrEnuXJD26dpPfDY5ScGcwv8ZZF07PmlKxmE69vYg== X-Received: by 2002:a05:690c:988:b0:5d7:1940:f3f2 with SMTP id ce8-20020a05690c098800b005d71940f3f2mr1874505ywb.90.1701951656381; Thu, 07 Dec 2023 04:20:56 -0800 (PST) MIME-Version: 1.0 References: <20231206123828.587065-1-arnd@kernel.org> In-Reply-To: From: Dmitry Baryshkov Date: Thu, 7 Dec 2023 14:20:45 +0200 Message-ID: Subject: Re: [PATCH] usb: typec: nb7vpq904m: add CONFIG_OF dependency To: Arnd Bergmann Cc: Heikki Krogerus , Arnd Bergmann , Greg Kroah-Hartman , Neil Armstrong , Bjorn Andersson , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" 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 howler.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 (howler.vger.email [0.0.0.0]); Thu, 07 Dec 2023 04:21:47 -0800 (PST) On Thu, 7 Dec 2023 at 14:17, Arnd Bergmann wrote: > > On Thu, Dec 7, 2023, at 13:12, Dmitry Baryshkov wrote: > > On Thu, 7 Dec 2023 at 14:00, Arnd Bergmann wrote: > >> > >> On Thu, Dec 7, 2023, at 12:57, Heikki Krogerus wrote: > >> > On Thu, Dec 07, 2023 at 01:55:06PM +0200, Dmitry Baryshkov wrote: > >> > >> > Okay, so this probable should also be > >> > > >> > select DRM_AUX_BRIDGE if DRM_BRIDGE and OF > >> > > >> > No? > >> > >> I think that fails if CONFIG_OF is disabled and > >> CONFIG_DRM_AUX_BRIDGE, since drm_aux_bridge_register() > >> will still be called from a built-in driver in that > >> case but can't be linked against. > > > > If DRM_AUX_BRIDGE is not enabled, then the stubs from > > include/drm/bridge/aux-bridge will be used instead. > > Sorry, I meant to write CONFIG_DRM_AUX_BRIDGE=m here. Like having NB7VPQ904M=y, OF=n and DRM_AUX_BRIDGE=m? And the select will not work, since the condition is not fulfilled. Good question. -- With best wishes Dmitry