Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2828657rdb; Wed, 4 Oct 2023 12:42:58 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGPLEm4OEFdv3JWwq0f4j8cLkNZwkxwt+vkir2r6HpWJ/l+sd+njvA5y7YvkiHPt2F2WxUw X-Received: by 2002:a05:6a00:1a48:b0:690:38b6:b2db with SMTP id h8-20020a056a001a4800b0069038b6b2dbmr3650384pfv.6.1696448578030; Wed, 04 Oct 2023 12:42:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696448578; cv=none; d=google.com; s=arc-20160816; b=yTUV2PSi53i7quu5fifU9iW5shc9hX2L7ayPWabd9v15dKUD92p57pdiiXB4KWrbU+ xKx9FykX37Wch1kNsm7jJs7RLzTnZQWu6xdevdxLKwVMRDk+pyq3ekJiEHmqASKaG3fT m3HA+Zw13p61zR9sXRkyJz5KlhCwfoWicOBM8j7Gah7VSpy2trWTSRm45fTESOgWgnrL Rq79myhxCplD/bdN/+RphlRh0ZeD5D4KbLMWNQ3AHmwU52vKzUdu2otB2PDoiZFoFJV4 j7o2xi/A3rH2Z5TKToEUohD7Z4qF3pSkozBp2qmW0K7Eh5uLm7fjzWffZUhDnfz0CJFT xd2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=VNEUrx2f0EOsYSNLwljjtMrsuJmbZYcwoRJZYPUoB3Y=; fh=bR5JxON5ankfn0FTyHrJnLOGy5STsGCijbBaVGDvtS4=; b=KHBwbXBbuPI2oqiKUIfO+MTKit2Avra2Q1nvmbTkpdJLsiJE2nnbOYS+uYLJSt/cW6 enDAep6kKH1RFQI9AAuTiYzZ5n5D41lQprjYdvWlv4eXNiz5CHZzEDjFY551XBrg5Uys lg91Z2xxaZmPpHcfdG+kyRHXFlUlUVdO3T14Cu2N7+h5Wa87lTXSK/Jp8N969GGTnVVS O1Ds/tKl8W6J/nXLAaBOT893oHuJpu1u0VA2sFp7iXDnP2s64NY7TYJOnp5FJZDaWfij UQANMpTx1gwUeg6Eei1Zq2l8bDIu7HnrlSlmYTMbKqbEDvWCDIoU7WNR8yeVuLzYc0hU FzxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dGYWCUvN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id m1-20020a656a01000000b00577f9fa06e3si4952476pgu.706.2023.10.04.12.42.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 12:42:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=dGYWCUvN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id A9C0C81C36C7; Wed, 4 Oct 2023 12:42:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243849AbjJDTmu (ORCPT + 99 others); Wed, 4 Oct 2023 15:42:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243845AbjJDTmt (ORCPT ); Wed, 4 Oct 2023 15:42:49 -0400 Received: from mail-qk1-x72a.google.com (mail-qk1-x72a.google.com [IPv6:2607:f8b0:4864:20::72a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49B54A9; Wed, 4 Oct 2023 12:42:46 -0700 (PDT) Received: by mail-qk1-x72a.google.com with SMTP id af79cd13be357-7741c2fae49so13041285a.0; Wed, 04 Oct 2023 12:42:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696448565; x=1697053365; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=VNEUrx2f0EOsYSNLwljjtMrsuJmbZYcwoRJZYPUoB3Y=; b=dGYWCUvNp/T8+HspqGVG2u1DZEYcsHJ6xn0hkJDUL4IM8UtFA1tm9PQVNEqP0mEfk3 KgY9foXPEUGUDvQBTBee/TS0mlUiBxicEtqaB00ex1jQci0P1S2x9Vtkegm4gHXlHGy7 w1U0vlQxcV5hv7DHZGjQ4SUSdhGb6uzWaggdXJEFIrd7yHEuukD2DmOZDzr2sspBR1bn 0kSDC9cnj3rxxAuZFO1wqTxQW3PBNSQLKTI8iNmE7X5J48pmfj6uonrkMgYr7UVghGhy 6oxwqckiQMiFnLgh4clASzjHM1d9c/lDzndLZuW127gnY7ha8skaJR0W/nWAH3T9KVAv 2BDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696448565; x=1697053365; h=content-transfer-encoding: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=VNEUrx2f0EOsYSNLwljjtMrsuJmbZYcwoRJZYPUoB3Y=; b=p12KmS8D1GS0CSiDcBuaJQWbhAfr5VOqNidVB0oLh/tTnNZCBet0KrNtjnjZTrHA0S QlQnyl1kEtdoWj8vSb55VmPaCnjWRIwIHBeMMSspbwFQS8+T/XfTztMMrTPZgKyDUrgf sluAmM/ikT60tsImARELPRWMuUA0JV9wSYWTSma6it7H+uupJHs94vOcmCuwchrx8cln xtOm0zkDXGHp57tov2ql3o/coZsQv/PnhN1FlAc3WmGOqCP3FrfI33FgKCO47vTFSkp+ IAUUR5p50gBWuajhZqY8e2/VHVNdv6lj3ofSF1MMLCxUZaxClI1EnwCxcUgoikVo8NCL 5/Kw== X-Gm-Message-State: AOJu0Yxt5zbpZt0CvU7BvP7D/ltwV7353WxHhYU+QouxJFTb/3wio0CR zPwAyD04tir4Bxew/oDr2gSWF5y7OL620U4pMdQ6rWO9PXo= X-Received: by 2002:a0c:aa08:0:b0:658:2037:718c with SMTP id d8-20020a0caa08000000b006582037718cmr2796522qvb.40.1696448565340; Wed, 04 Oct 2023 12:42:45 -0700 (PDT) MIME-Version: 1.0 References: <20230926190818.931951-1-andriy.shevchenko@linux.intel.com> <76d1e643-9b81-4c23-8f46-73fe59913600@kernel.org> In-Reply-To: From: Andy Shevchenko Date: Wed, 4 Oct 2023 22:42:08 +0300 Message-ID: Subject: Re: [PATCH v1 1/1] pinctrl: denverton: Enable platform device in the absence of ACPI enumeration To: Krzysztof Kozlowski Cc: Andy Shevchenko , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Mika Westerberg , Andy Shevchenko , Linus Walleij , Takashi Iwai Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=3.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_SBL_CSS, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Wed, 04 Oct 2023 12:42:55 -0700 (PDT) X-Spam-Level: ** On Wed, Oct 4, 2023 at 4:20=E2=80=AFPM Krzysztof Kozlowski wrote: > On 04/10/2023 15:09, Andy Shevchenko wrote: > > On Wed, Oct 4, 2023 at 11:18=E2=80=AFAM 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. --=20 With Best Regards, Andy Shevchenko