Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1636402lqm; Fri, 3 May 2024 01:29:33 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVC8fGn/EWsNyDDjshz43NahOb3FqORAEU778yyb63+vxSb6n0yj51NpPQzdcaTZ36/EbOVd3plb47IKpYgpsc1Uq+ovb+FvOTqCuXPUQ== X-Google-Smtp-Source: AGHT+IGiN5vvOCJ8eju/qdyzh9TsyP2R+uHwCk/GbT4Oh69z8H9yBcuyvtBsOz5zpEAwd4S9UEwf X-Received: by 2002:a05:6902:2491:b0:de5:cd31:270e with SMTP id ds17-20020a056902249100b00de5cd31270emr2544756ybb.7.1714724973229; Fri, 03 May 2024 01:29:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714724973; cv=pass; d=google.com; s=arc-20160816; b=A80qVNet5MN78pI67VoxqptSQTLkiqiXnbiLVaWaXgjcayzkA2qqUAnIdYXoH7Wz6F VM/nJ4tptd+fXvbQpCg9SYgXusOzyQiNq9Jrs5ez21w1vXt6hC0LIM+2j62/DCOFyyP7 MtGoELtF8tFwxVNewasoVtxjotL6tjz9/R4pOw9lQTvU8F5FAd116hVMdiSL6kf84J0s 2HnDEiDjxFQzMc2ZrvgBIcoWPsUcdtWnAKjr0vbbyAaM0J2qQEkbiA4RGflcgjQ1biHK DzIdQHh/wvuo/4CYnhzE/BhZzbQEYVb7lg+///GPvyREoG2bASDbrtPr5kih9kZmMyYU Jc0g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=hzQNzscPC/5W0S2y6e/zudtD8W7uyT+JqOosYf+h760=; fh=F3xn7y0RKpDTTG4wjX1jIMDRa/dBSRqUwNV8qQN/phY=; b=qC8pJaggGE4Dhp5mKkA2ZCd2DeStttIrjMP755qn/ZDeb1IfHNGv7U+gt6wDYb/Zvl rNrlpICW/NJMW53IpWHsIA1rqVFlp9pOSBR2ywhibWtoS9e08iqCHDXeU/PbTmaR8KVz XqhZca6EmutSdF8ZSSHh1934rRcnGCgebwwwOVQ+m/GBcQswi7MmZilzwdIhI54pbAjY wz2ATna4wSPnqXswuFyH9jndeqj6LJqX3eALNzB484MAlo0uGa3P2xjOYiyuR/lGLR2+ +Oi7A7tQPBfgVa2Ad0bwECw3nh8QTj0eu5oIkFRFcHCHDl3hmn9zSUxqZgFnxezg2sM0 patw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NLy7oWC8; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-167383-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167383-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id ec26-20020a05622a5b9a00b00439a3a9f4a5si2534516qtb.737.2024.05.03.01.29.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 01:29:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-167383-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NLy7oWC8; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-167383-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167383-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id ED32D1C2223E for ; Fri, 3 May 2024 08:29:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0F975149DEE; Fri, 3 May 2024 08:29:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="NLy7oWC8" Received: from mail-yw1-f176.google.com (mail-yw1-f176.google.com [209.85.128.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C73DC148853 for ; Fri, 3 May 2024 08:29:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714724965; cv=none; b=sBbsIOZwnGUVsedLPCdX+qkc8qei79sEdSOTqEIMnXvJhZY8QcHqH5RTdGG9LbXbSuDv4vBVxniszGRzwVAjuPp9tpOYserzNNHnPzrZ8ndg5NssGdRpGad4sC32EfI/Fl4gtLciVAMR5hURGynyaVNIFfAVT3eJkKC9QKlbLpU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714724965; c=relaxed/simple; bh=/MOdj/lifA2AeS8oNIVW2cyzjNKX16mBXmADEVtzHTE=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=BM/Oi7nEnoxOxdavY2XdKaNDgCdw3sUMVB1BXE+OyTEKLOXML+uVP76qYtGkji5fudd7oSeUmB7eyoR0DNC1F/iaDUtA3f6QMNwEGg8+nEMLYLB8sNiqX9O0AxicHgeu/Im13QObdGgC0++kj+AGKxUNPy4sxCBZcFK3QYm8xA0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=NLy7oWC8; arc=none smtp.client-ip=209.85.128.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f176.google.com with SMTP id 00721157ae682-61816fc256dso91651737b3.0 for ; Fri, 03 May 2024 01:29:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714724963; x=1715329763; 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=hzQNzscPC/5W0S2y6e/zudtD8W7uyT+JqOosYf+h760=; b=NLy7oWC8TTrNsBXz+1Bhoc02nBlA4kukWsU1I1vttmfZPlOJojsS+5tHZgZgJVPSDS C6A1puitbVKMx+UnqbRENcSDPsO3xq4SDFRJ+hhcvAfu0K4ZW4zIM/C1osB+qiaak7FS SduKaWrRPBc+/y/G4HUrD1AOF8uveEsUsZDBCb8sQPs9qnAWbJY5VzfS9I+Z9QTOFwdD m7+UkVDr3UXbwG/BBTvqFrLU2H/kEItKAYlOLhXOFRl8Y+++mfMMSHpClpA4kas3EIix NpNjEjWvgGMzJjQtItpbv7C3HQ2LeyenIvtSAbWqg/61pLDqXO5889OChoG84ooAJMU5 +b0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714724963; x=1715329763; 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=hzQNzscPC/5W0S2y6e/zudtD8W7uyT+JqOosYf+h760=; b=L6fXHIxrCv0u9DIAiYBEH4Vq7tSTKc+hRYVVPaWP2zzHx0MhdA717G37qsi0fAxKh/ CtGUFqFYc9vl2EEd6ZqI3r8uL5iMh/jpMg6ioKKcfW0PjiwmxnKWYBClbLorYeyWGEuX YNlYkNPiB+Wxv3J1cGH01bdK0kfkHYnSiaCmUt2RjASjOtXKOrDNtxoejGE/PrF6LgsR F4LfyV1gJKZERQkxqexTHE+ER2NqXayftfcflDv+GRoN3+B5dgVF1r3nkf7Mm2xDaAL5 sKisC2qf/5K4kU1805vLHW8WGHS5cm6ZcOKEKw8dGk1PyJ4aoS28q3d4UFBSnhj2+DzU 19Xg== X-Forwarded-Encrypted: i=1; AJvYcCUVZ6BYu6RHm1XS4OLkJls8t5FFotrrBpfxedjw7BJwGc6fIq6x1U4Qm2rHOwkUf15z1yO+Y7Oxmv/dZ2+b60oPku3Jzp/FKpBz6JBq X-Gm-Message-State: AOJu0Yx/Q01RsYjd2uzGI+MhIDr6rZohInG9qvR6/Zx+dEyqEn5u0pya B9noWIGPmtTKzcOUquaJRQtwm08BaT4iyLUUiFP7uodWE8ps9t8E1lH8d79ZkSJo0eTtWNR4iOp HljW3epz2DoZQfAvPBWED50QVJ12YA2O2qPkCNg== X-Received: by 2002:a0d:e2c9:0:b0:618:8b6c:6c1b with SMTP id l192-20020a0de2c9000000b006188b6c6c1bmr1824030ywe.4.1714724962750; Fri, 03 May 2024 01:29:22 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240424185039.1707812-1-opendmb@gmail.com> <171411680836.6435.15788506275238936215.b4-ty@linaro.org> In-Reply-To: <171411680836.6435.15788506275238936215.b4-ty@linaro.org> From: Linus Walleij Date: Fri, 3 May 2024 10:29:11 +0200 Message-ID: Subject: Re: [PATCH 0/3] gpio: brcmstb: add support for gpio-ranges To: Bartosz Golaszewski Cc: Doug Berger , Bartosz Golaszewski , Phil Elwell , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Florian Fainelli , bcm-kernel-feedback-list@broadcom.com, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Apr 26, 2024 at 9:33=E2=80=AFAM Bartosz Golaszewski = wrote: > [2/3] gpio: of: support gpio-ranges for multiple gpiochip devices > commit: e818cd3c8a345c046edff00b5ad0be4d39f7e4d4 I'm not sure this is a good idea. To me it looks like the commit violates the device tree bindings, which says offsets are on the local GPIO chip and turn them into offsets in the Linux GPIO numberspace. Yours, Linus Walleij