Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp7558635rwl; Thu, 23 Mar 2023 06:05:58 -0700 (PDT) X-Google-Smtp-Source: AK7set9AOAqytcTtPttmB/LercuhZrRugpM6588k0zgOstZo41EXSPqxmBzZcgwjtvf9eJi/My99 X-Received: by 2002:a17:90b:4b8f:b0:23c:8ee2:bc14 with SMTP id lr15-20020a17090b4b8f00b0023c8ee2bc14mr9185370pjb.24.1679576758417; Thu, 23 Mar 2023 06:05:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679576758; cv=none; d=google.com; s=arc-20160816; b=BpOhyYCrUMbtfWgK6+izBJkpQjnMF5n/jya6cXEY9BEWcKFVDazUpgqLoDnINOH8e8 dM0ou9AH6lw2G1hoJ79ahqisefTeFYl7dzhRrAhWLlVNYj0ySNc3MrM5T3FSTa5HUpyF JPFg92X2KZlgigDK8x+8pAiVmMezqLE2OADDInaVS36kmERpVjvBrnjviAZDTqMNG1s9 w4SW83Z8zxOCjF1xs/8sRaRwt4FnYDUywVrB06Qp2ziqEpjM7ETxiJmGiOq4cHfMAkjm iBrkPt2Rxays6IbT6AoOY9jOcdfnJCPEkJ0mOqNa8GkNimuYbkMiI2tkKry/xzrH5R2q PNZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=QzgEpfS3/mJry+iP4mgTD6vsITQ4Iuj+h7Xx6V+1/gE=; b=nVGN25QIgPX0Eb13WYF2Z62l5vqi4qPdFL4ST1IwnL/aS2LFNCIMeGaYeyZSe7tFI0 gFhijpYOYxBxkYqWXioSoJyM/pEtyldiWyzFCBDYUjvKTtrXsC3r0/0VBjIBxLd25jc/ y8r8rrFCR5RonNse2UNnfsWQw4hYirczEMdfM1A6GXh+LY4sVyHIbMi1wOHam5HsB7iO VpdrxPmZxK3S3DGO76B3SvZb6ZC3ucynoF0i4cxMt+kY1FgM9LaOL6syzZBrufrY1z6b DneAMXwM80ecMj5S2Ed/2RJqsFRtzJdnPMzY20Y/AG00kIA3wa0OhjQmUwo43THXjweE PnHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=ariwPPxp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id le11-20020a170902fb0b00b001a0543fb660si17992254plb.160.2023.03.23.06.05.44; Thu, 23 Mar 2023 06:05:58 -0700 (PDT) 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=@intel.com header.s=Intel header.b=ariwPPxp; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231478AbjCWMrK (ORCPT + 99 others); Thu, 23 Mar 2023 08:47:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229904AbjCWMrJ (ORCPT ); Thu, 23 Mar 2023 08:47:09 -0400 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB7CFF5; Thu, 23 Mar 2023 05:47:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1679575628; x=1711111628; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=30e+iacdeNDPi27w7ie3RbTMuGmuD+8WwfFs1tSEjl4=; b=ariwPPxpmrykYm93sHDD9/VPYMC3eeHl/AEnzIdq2QvzbM8wjwxhP3eY Pn5PuWch7y1gD0oV13jQ9TJukbfT9NfWNNH3WnJK6y5kLbrutTujLkSc9 3kj0mL2oZpbt7XcjZkQAmPvraZHLtY8SRB4O1z+frgGk4LiEcdg+LPpEb UNqgbtY/YzDlsKsR1nktD2zfSnbudyMUAjpMM+vtBOg56uNc6MaJSy1el 9xqh66Dwmf0BxrRXrWVG51Ljs5zxM0eJEVbjzPBzTE9Jg1k2JalL9vRA0 ayHcsuLC+AsD6BvIc5D8tnDKVmVBMiiCjHBtxS4R0QJvw9o7YCfbOxJ+g w==; X-IronPort-AV: E=McAfee;i="6600,9927,10657"; a="341013528" X-IronPort-AV: E=Sophos;i="5.98,283,1673942400"; d="scan'208";a="341013528" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 23 Mar 2023 05:47:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10657"; a="682292594" X-IronPort-AV: E=Sophos;i="5.98,283,1673942400"; d="scan'208";a="682292594" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga002.jf.intel.com with ESMTP; 23 Mar 2023 05:46:58 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1pfKLG-007VoD-1R; Thu, 23 Mar 2023 14:46:54 +0200 Date: Thu, 23 Mar 2023 14:46:54 +0200 From: Andy Shevchenko To: Dmitry Baryshkov Cc: Pin-yen Lin , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Daniel Scally , Heikki Krogerus , Sakari Ailus , Greg Kroah-Hartman , "Rafael J . Wysocki" , Prashant Malani , Benson Leung , Guenter Roeck , Xin Ji , linux-kernel@vger.kernel.org, Thomas Zimmermann , linux-acpi@vger.kernel.org, Javier Martinez Canillas , AngeloGioacchino Del Regno , Hsin-Yi Wang , Lyude Paul , =?iso-8859-1?Q?N=EDcolas_F_=2E_R_=2E_A_=2E?= Prado , Allen Chen , dri-devel@lists.freedesktop.org, Marek Vasut , Stephen Boyd , chrome-platform@lists.linux.dev, devicetree@vger.kernel.org, Andi Shyti , Douglas Anderson , Imre Deak , Jani Nikula , Linus Walleij , YueHaibing Subject: Re: [PATCH v14 03/10] drm/display: Add Type-C switch helpers Message-ID: References: <20230322104639.221402-1-treapking@chromium.org> <20230322104639.221402-4-treapking@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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 On Thu, Mar 23, 2023 at 12:38:49AM +0200, Dmitry Baryshkov wrote: > On Wed, 22 Mar 2023 at 12:47, Pin-yen Lin wrote: ... > > +config DRM_DISPLAY_DP_TYPEC_HELPER > > + bool > > + default y > > + depends on DRM_DISPLAY_HELPER > > + depends on DRM_DISPLAY_HELPER=TYPEC || TYPEC=y > > If it is a select'able option, it doesn't make sense to use "depends" > here. Select will override depends. He-he, not so easy. This will help to find configurations that miss these dependencies. Arnd taught me that. IIRC the ASoC subsystem has a lot of such cases. > > + help > > + DRM display helpers for USB Type-C Displayport Alternate mode. -- With Best Regards, Andy Shevchenko