Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp396361rdb; Thu, 5 Oct 2023 08:59:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFYydlbb6amBNR8RiqGLn73Q980Iqz+IVag3NNWza1/mZQOUTG6EliBx3jg92Wz5O1dYbTD X-Received: by 2002:a05:6a20:ce89:b0:15d:5f9a:3921 with SMTP id if9-20020a056a20ce8900b0015d5f9a3921mr5335059pzb.27.1696521552613; Thu, 05 Oct 2023 08:59:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696521552; cv=none; d=google.com; s=arc-20160816; b=F3dvq+mEId8jLFu+LbDjatUXlMuTFyMcUXoL7TUaEmupVLtr0FqVENnMKbizqKB7ls 2El3DBxbzk/IOkQyjMybM80oEkm2pJMKKy40M3pkPsVypGbFeAGME82rHOPDxzlh+w/M ttoNUPq3K1oHcEc+Arsrrg4Ye6ryQ6TNNpRICAEC4757UJA2c4lE45ItcV1senTFWur/ 3RkwuCTeGSguajzcdyK/ilxxhLIvhUDiSsUrC8fu8tDkriNe8U3YYMVvIhU93p0cXdaA k2RU6mO+2QnqVQ211SkX/dPXEQjS/TV6zZxx1eJh0wZcaWN3Saao7XJWvZ1AD0qlCkWw XopQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=GNWAk1dUmhPiARmBihAw2nZmL6GHYUSO5Lu24vsoQSw=; fh=AqceqxiqkPn/PPkD+sfuEpQz27A1f0SpyvBu+MTryns=; b=OFo4IghsmJdpEEEN1ZZxh6gaWIgcryaRKVlNGr7Ae1dXDlEpK1U11kHfMp4A248KsT Vkx6ZMW9+mlGFxwbCqKWoPhBU9vPmAEm1pdVe4qeNSJ+B+t+9axKd7SxeQYtuqZt3P97 HAvyJCDaRrThYfnNCdCgDcP4FywuNNXgOTroA/5rjGxnlCiGYDLrSqobZr4YhDHLLxS6 16vwavTwkfDisIiKKB4SZ34FIQUsKG112FyR+K8vBbaN9tFWz2ZIKTW746c1xG4vLdfO dfQlvxmYNRDnRpp1E2Xc6oCmAfZmBgudZbH5g+lRDWW0BlsMFQ2o1ZnUZoBlfBvTucLk smPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="QPd8bb/0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id m1-20020a656a01000000b00578a56848a2si1847512pgu.648.2023.10.05.08.59.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 08:59:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="QPd8bb/0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id E64FC835440C; Thu, 5 Oct 2023 08:59:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238017AbjJEP6j (ORCPT + 99 others); Thu, 5 Oct 2023 11:58:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234400AbjJEP4p (ORCPT ); Thu, 5 Oct 2023 11:56:45 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BBE84ED3; Thu, 5 Oct 2023 06:52:31 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5458CC43215; Thu, 5 Oct 2023 07:53:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696492437; bh=QhTldfirf/+ut5QB+NUg+CvkpthitsP2LHqj5WMFcwk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=QPd8bb/05eAE1zpz+B7Kscn56nWYbS5BdYeRCItpuCOJnciQaKAoxbQ3yX0ZYz9X/ 5F639Jil7K/92Em8WOdLBF5MmrPO+E8RVOd6RgiRscfMNX1WOhK5lvup0aLsdY1ja8 a9y7WliPeYtlD5K0aLwulJM/RnQMBW6ckFJgRM4fy8NoWhZJZFYdFhvc3J523f8vqP YgS9wUhM66S0oWLH4Uw1dN/JOBoVywHf13YrJ327G0W7EB5klzFbFGBRltzIQNd89g SY/mjWA/EfFNQBkY+JrkzUv6YLuqsfk85A/WyTmSkBYky9CumWgr7sM62A8BIaigrI ZXneGe2JKgsLg== Message-ID: Date: Thu, 5 Oct 2023 09:53:51 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 1/1] pinctrl: denverton: Enable platform device in the absence of ACPI enumeration Content-Language: en-US To: Andy Shevchenko Cc: Andy Shevchenko , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Mika Westerberg , Andy Shevchenko , Linus Walleij , Takashi Iwai References: <20230926190818.931951-1-andriy.shevchenko@linux.intel.com> <76d1e643-9b81-4c23-8f46-73fe59913600@kernel.org> From: Krzysztof Kozlowski Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMB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a1v3tem/ JoFzZ4B0p27K+qQCF2R96hVvuEyjzBmdq2esyE6zIqftdo4MOJho8uctOiWbwNNq2U9pPWmu 4vXVFBYIGmpyNPYzRm0QPwARAQABwsF8BBgBCgAmAhsMFiEEm9B+DgxR+NWWd7dUG5NDfTtB YpsFAmA872oFCRRflLYACgkQG5NDfTtBYpvScw/9GrqBrVLuJoJ52qBBKUBDo4E+5fU1bjt0 Gv0nh/hNJuecuRY6aemU6HOPNc2t8QHMSvwbSF+Vp9ZkOvrM36yUOufctoqON+wXrliEY0J4 ksR89ZILRRAold9Mh0YDqEJc1HmuxYLJ7lnbLYH1oui8bLbMBM8S2Uo9RKqV2GROLi44enVt vdrDvo+CxKj2K+d4cleCNiz5qbTxPUW/cgkwG0lJc4I4sso7l4XMDKn95c7JtNsuzqKvhEVS oic5by3fbUnuI0cemeizF4QdtX2uQxrP7RwHFBd+YUia7zCcz0//rv6FZmAxWZGy5arNl6Vm lQqNo7/Poh8WWfRS+xegBxc6hBXahpyUKphAKYkah+m+I0QToCfnGKnPqyYIMDEHCS/RfqA5 t8F+O56+oyLBAeWX7XcmyM6TGeVfb+OZVMJnZzK0s2VYAuI0Rl87FBFYgULdgqKV7R7WHzwD uZwJCLykjad45hsWcOGk3OcaAGQS6NDlfhM6O9aYNwGL6tGt/6BkRikNOs7VDEa4/HlbaSJo 7FgndGw1kWmkeL6oQh7wBvYll2buKod4qYntmNKEicoHGU+x91Gcan8mCoqhJkbqrL7+nXG2 5Q/GS5M9RFWS+nYyJh+c3OcfKqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 05 Oct 2023 08:59:11 -0700 (PDT) On 04/10/2023 21:42, Andy Shevchenko wrote: > On Wed, Oct 4, 2023 at 4:20 PM Krzysztof Kozlowski wrote: >> On 04/10/2023 15:09, Andy Shevchenko wrote: >>> On Wed, Oct 4, 2023 at 11:18 AM Krzysztof Kozlowski wrote: >>>> On 26/09/2023 21:08, Andy Shevchenko wrote: > > ... > >>>>> +MODULE_ALIAS("platform:denverton-pinctrl"); >>>> >>>> Why do you need the alias? It's the same as ID table. You most likely >>>> miss MODULE_DEVICE_TABLE() or your table is just wrong. >>> >>> This is cargo cult from pinctrl-broxton.c. If we want to fix, we need >>> to fix both. >>> Care to send patches? >> >> I don't understand how some other file affects this. Why do you exactly >> need module alias here? Which use-case does not work without it (after >> adding proper MODULE_DEVICE_TABLE())? > > We try to keep these drivers uniform. So, if something should be done > differently, it should be done for all affected drivers. > Since patch is applied, now we have two drivers to improve. Awesome reason. So if you add accidentally bug to one driver, it should be copied to other file as well. Best regards, Krzysztof