Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp389001pxj; Fri, 11 Jun 2021 01:33:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwPnDbNLSjVK6OtFIgFoVwGJOtL44sPVgtM3H922GmnBN5+gCvHB18eCat3TDEUEjThCs54 X-Received: by 2002:a17:906:f854:: with SMTP id ks20mr2597560ejb.67.1623400393968; Fri, 11 Jun 2021 01:33:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623400393; cv=none; d=google.com; s=arc-20160816; b=RoU962AireVUhKngGo612fdOuJmaYj9kaZ+oYj3scYbXaW/nfOmxlWZ6vl5HqOIh8N UJJWxgaIeJ4T1gGPveSyoKctj+4TTgeBmAWZkHWhC24gp/m3FbPoV6rJtPRxCsUQfiuh uyeK81jJELAFEJLb4AW+msS1WP8E3JP0ypPJobl73BODRGStfSBD6ABOoBJEbNkMoNJV 9NcR/9j93j31OjZ5uYmfPAKc49kNVuOlHdtVfFfRVC03/ESLEhwWVKF/2Yn2YZkR9Q5N WIkiJKY7f7vZsEE2e2oQv9FsSuq+j8+m/ByfamI7/Lou7zVLAqPmKrH4d3FO84z8rSAX 6H1A== 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 :ironport-sdr:ironport-sdr; bh=v0WaWPueRihQYX4Wit72nBK8Uy7DpCwY8TU4V6LpIkM=; b=bIfQTq9AoBB1goGL9f6/IiO4X6Yk0dlIJXIrS6kcnWfrIDGDS6EuMSy90OmKf0+n0d 2TyTxFR6yXHwJcDFHixeKc+KfNI5JzULilAXyu/9EZwpRsFuFfbP5UL1TfciaCXF8oeC I/iDP5bW7LeZ323D0I85k0MhTdUPpXOOSuLD7XmBrOhRx/rZBn/ZQHafSzYCb2n+U8Pk 2ifsJvYMwujVl+txTh+G5Uv3EK1gB39fuHB4JjWljALPXSr2TvP+Yjy5ih/CYNQ6qbn9 QT9V/tpGPfK4BQSAoAgfo4oObltu1RvfkzqFHjT/9Y872PHmoVXRl3PbAeWB0+s7ozKe pnMA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o17si4124839eju.179.2021.06.11.01.32.51; Fri, 11 Jun 2021 01:33:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231345AbhFKIdG (ORCPT + 99 others); Fri, 11 Jun 2021 04:33:06 -0400 Received: from mga14.intel.com ([192.55.52.115]:19823 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231283AbhFKIdE (ORCPT ); Fri, 11 Jun 2021 04:33:04 -0400 IronPort-SDR: zHoktfLbN9oz2PnOOsehz897CaCkM/USJ9lNWT2vBNvVOnUIORxr3oK6At2J+wvRM3/8nSsT/s bpK8/g9n7NSA== X-IronPort-AV: E=McAfee;i="6200,9189,10011"; a="205304038" X-IronPort-AV: E=Sophos;i="5.83,265,1616482800"; d="scan'208";a="205304038" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2021 01:31:05 -0700 IronPort-SDR: 9gg2xpc238vmKvAFtO0z9rs2WaRKb5Ccanxu4lY4sQSQlj1emOL6UxPXR+DQDZxX647RlbqRQo NkU61bZW3Vjw== X-IronPort-AV: E=Sophos;i="5.83,265,1616482800"; d="scan'208";a="477636156" Received: from lahna.fi.intel.com (HELO lahna) ([10.237.72.163]) by fmsmga003-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jun 2021 01:31:01 -0700 Received: by lahna (sSMTP sendmail emulation); Fri, 11 Jun 2021 11:30:59 +0300 Date: Fri, 11 Jun 2021 11:30:59 +0300 From: Mika Westerberg To: Andy Shevchenko Cc: Andy Shevchenko , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List , Andy Shevchenko , Linus Walleij , Henning Schild Subject: Re: [PATCH v1 1/1] pinctrl: intel: Check against matching data instead of ACPI companion Message-ID: References: <20210610152823.1653-1-andriy.shevchenko@linux.intel.com> 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jun 11, 2021 at 11:16:23AM +0300, Andy Shevchenko wrote: > On Fri, Jun 11, 2021 at 10:53 AM Mika Westerberg > wrote: > > > > On Thu, Jun 10, 2021 at 06:28:23PM +0300, Andy Shevchenko wrote: > > > In some cases we may get a platform device that has ACPI companion > > > which is different to the pin control described in the ACPI tables. > > > This is primarily happens when device is instantiated by board file. > > > > Can you point which board file in the mainline kernel has this issue? If > > not then I don't think it makes sense to add code like this. > > To my knowledge we don't have such enumeration in the upstream (but it > may be done by third parties against any of our controllers enumerated > by UID, like Broxton or Gemini Lake). So let's add it when we have such thing in the mainline. For the rest Intel drivers we always supply the SoC information so this is not a problem.