Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp2111799rdf; Mon, 6 Nov 2023 05:12:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IE9dVyI7DfA4WA60GCFqulTOCSpIL82sPCf65dVL8+rOC28BOWiXmS9ppLLsZVt2676V+26 X-Received: by 2002:a17:90b:17c7:b0:281:3f9:b3e1 with SMTP id me7-20020a17090b17c700b0028103f9b3e1mr1781280pjb.43.1699276378271; Mon, 06 Nov 2023 05:12:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699276378; cv=none; d=google.com; s=arc-20160816; b=haj0DETWzCl+VH7ox1tiWNdT7r9oV5pGCzQUpfM5ouFC0euiF59ydGBRVov+mfb/py c8WPtY7GdDSx/gzO+ErmyWXZDY4eJkBYup0InHH6BUxcEkRWETUO/Q6iQB/ZGQgaAmij HLtabA54BuFYV+rQ+atLzSu31dCBxpciU8UDQURNbblXle8QeoGKSn7NIbydLcCv53v9 dTYttDGn7UzWZixAhS7FvWC9HBV8G4WEnZnH/4mepyOQTlJGlhSUTr1ZlcJ7CWOsq1P2 rOLDUEEhDLkuvLeARa2dDDFGYdRzDnmWThmk5acKzxWHNzloxpmIt1r4zUScDtuTRiXd d3Sw== 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=MxpPF2PaBL3CNmfmQemDqBdiN737CxFp3aHV5kAbiR8=; fh=tSjfKAgaOPbVy1vyvAqf2DWoiI8WNHWUkvHAV4lDxKM=; b=Bt570ANXsfm/nBMAU0rhP8znYQu88KkSODtu1antZzfDtso0WEPv7qpmK0J+X8lVST tozm+TSyTeDEVKr/orE71mIjzIp1jQUI5yS7qo8/GCktNb2XRToLuKwSHvOi8BBCC5na NMeZ5b1I9c1KkKhIAArguJE4KTPy4pjuLlQc20Jd30RlccbrqF4AaagelSOCF8FNB8WD H7XiQllaFwEgvuRALFiTSpkQIzQRWetiiuGE//aKSsspCvgT3VylUt0dVuAYl9cuum5b FhklRefJg+wfz2MVhj+KGaOt8aZ5lZbhOsoELUkF0vB6T8+eTJvdcmBlucvJQdqKEG8y Tw6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TtkLGhST; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id o17-20020a17090a9f9100b00262e5a82047si7945556pjp.44.2023.11.06.05.12.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 05:12:58 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TtkLGhST; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 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 snail.vger.email (Postfix) with ESMTP id 623B28028FF8; Mon, 6 Nov 2023 05:12:57 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232155AbjKFNMx (ORCPT + 99 others); Mon, 6 Nov 2023 08:12:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231759AbjKFNMw (ORCPT ); Mon, 6 Nov 2023 08:12:52 -0500 Received: from mail-yw1-x1136.google.com (mail-yw1-x1136.google.com [IPv6:2607:f8b0:4864:20::1136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B58DA10B for ; Mon, 6 Nov 2023 05:12:48 -0800 (PST) Received: by mail-yw1-x1136.google.com with SMTP id 00721157ae682-5a84204e7aeso51765737b3.0 for ; Mon, 06 Nov 2023 05:12:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699276368; x=1699881168; 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=MxpPF2PaBL3CNmfmQemDqBdiN737CxFp3aHV5kAbiR8=; b=TtkLGhSTEltoS3Bv5fxtYantLwI7UJ+S2h2ei0zBl1TG1h8CsdGSofiTGBa1nfhu4z gCJ/PY9xP5J1XOK6t4OlLcHIxhKqVt/kXLMnRin1JVPbdZQFGcrOtCj+f68pyhVZuJ+J B5E5pJYKorUC9QygwPRpXvjUltvymzRGy7gfAeg6fFC43dk6AU1DDFaE0re/0ox33TeB ghYGO4wLa9mYCk8jU/KO7yvXQxvLSVGipSMy6Wh71WCK//17+YcBCGGoOGAWj+ULZ5Rq mmy+kUOk6azSrHyvAAzI0Ndg6W1tm/hBwlYmQlONHHC99fQIKYY3C3xnQ+MbSkHiMyWk ycxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699276368; x=1699881168; 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=MxpPF2PaBL3CNmfmQemDqBdiN737CxFp3aHV5kAbiR8=; b=HsVTTFpWg6I5l/xGPzOwYcgJbNW0vahveI3d2BezovWYAepzwbFw0HptKXKlHnIj0q +kBghjwN+wIOjEmsN0kNwqF4h2e/OE8DyNcv83RmLyMbqP1jnZ7UpGl95iyW5Mbh55X7 aXy3vkX3N9najdJQ5J7J1YEc7ebUgU5HHhlxj/DyQi11q63HSAUVpdi2LcRbJCnRCZsY 24cdXEjg91sl6aQuRmyoPfKJv1djRsNi4QF0CkK70NWaMSLpcdwWy8smC++WiqO/xZ7y PtO2YTTUhNbfGuf15HrX0u5FoPQymscRqOGZ4AdYxFeLiau/5+quafeUIck63mvcm0r/ eSLg== X-Gm-Message-State: AOJu0YyE5pSqnHocQuU4WNeR981pBfQ20+BdJC9n/A0C2TouyVSfkmGI p+k4hky9ITTgh/O5BKgeAfTB8Tl3EAGc/mCxWiLoJA== X-Received: by 2002:a81:838e:0:b0:577:51cd:1b4a with SMTP id t136-20020a81838e000000b0057751cd1b4amr11212499ywf.41.1699276367940; Mon, 06 Nov 2023 05:12:47 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Linus Walleij Date: Mon, 6 Nov 2023 14:12:36 +0100 Message-ID: Subject: Re: [RFC v5 5/5] dt-bindings: firmware: arm,scmi: Add support for pinctrl protocol To: Oleksii Moisieiev Cc: "sudeep.holla@arm.com" , Cristian Marussi , Rob Herring , Krzysztof Kozlowski , Conor Dooley , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-gpio@vger.kernel.org" , Takahiro Akashi Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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 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 (snail.vger.email [0.0.0.0]); Mon, 06 Nov 2023 05:12:57 -0800 (PST) On Fri, Oct 27, 2023 at 8:28=E2=80=AFAM Oleksii Moisieiev wrote: > + keys_pins: keys-pins { > + pins =3D "GP_5_17", "GP_5_20", "GP_5_22", "GP_2_1"; > + bias-pull-up; > + }; This is kind of interesting and relates to my question about naming groups = and functions of GPIO pins. Here we see four pins suspiciously named "GP_*" which I read as "generic purpose" and they are not muxed to *any* function, yes pulled up. I would have expected something like: keys_pins: keys-pins { groups =3D "GP_5_17_grp", "GP_5_20_grp", "GP_5_22_grp", "GP_2_1_grp"; function =3D "gpio"; pins =3D "GP_5_17", "GP_5_20", "GP_5_22", "GP_2_1"; bias-pull-up; }; I hope this illustrates what I see as a problem in not designing in GPIO as an explicit function, I get the impression that these pins are GPIO because it is hardw= are default. Yours, Linus Walleij