From patchwork Wed Apr 24 18:50:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Berger X-Patchwork-Id: 13642386 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6079BC19F4F for ; Wed, 24 Apr 2024 18:51:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=s0MZdEhu834rXiUQixELiRVzAzc6VOmyWduO/uBXC4s=; b=1loidVVReb3NjM pTOJEjERCnfVaDpuCs2YUbRGhnvQAjvth+M1q2QvCkT2kSUVSPWHaMKRiKJ4ANKcrsy9cn0tHbrMd V/WEZvNoFX0/NUdPQGxfazzRhv2/EvmiSZ0Tc90IdWVyHdOGd2MygW/ihnm2qN7M9J/2MCLEHUsYP MF7fMaLwfpM7Yz4lDrnmV9YqK8IzdiHSNaDmGcCV9VcmNM/vzYy2QwyWNiF8SqgUHgceQHLkl1Dq/ 3HzWereJdISFFVTndYCWRBvegP7ld7oZlltq7lFTHCqe+H/McNIOAly9XAWdpo8VFz4Gz9+8HEIGt QtkdPzpL6i0gH0n3RxbA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzhiC-00000005U6E-46o9; Wed, 24 Apr 2024 18:51:20 +0000 Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzhi9-00000005U3P-3aMQ for linux-arm-kernel@lists.infradead.org; Wed, 24 Apr 2024 18:51:19 +0000 Received: by mail-pj1-x102d.google.com with SMTP id 98e67ed59e1d1-2a7e19c440dso199655a91.3 for ; Wed, 24 Apr 2024 11:51:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713984671; x=1714589471; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=vAbLEAVuW4sSbM42C7LJb1PPQ7uzIoK60RBbrjt4ULU=; b=TsPWhNOPW1uhVbes2Zo+jJ/L53dTQ9Zz+pH91xUa+Yfg5t5Ih58BTzVKvKxGLDkEf9 Oj8IxGPlMthaFWh+kIrrYFdlzL1MWyp69V4tz6wRL+osfqjL0hW91l9z+5BOzIs0Q0BA EN93/MoYNjBNvq1UcqQLB2dPBt/+zjajNojL/PAdIudpBmYi2cARDokLo3WK7a8r/GRa AAg6VlN60Jy8t251xLJkrOxf9kt21aptrgu7a86/gYG00HPmCFyZrDSbhS54hXRGa7A5 r6ILS/aDUVy1XwOFyfg6DpI3Ynxjx8I2A94wknNz67Um7By3trQIKA+PxioOBLC7qQ8c 8hQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713984671; x=1714589471; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vAbLEAVuW4sSbM42C7LJb1PPQ7uzIoK60RBbrjt4ULU=; b=U/hsBJwQ2G6HF1+AUKDLSXbIIHNQyf/5f7L19pOtvWgcMS4YPmUUi7CWRsAzYidke3 qA/IpyhOWlPIzXxdKKtN5FtscNu3Vr5puX3grqC0NJjZa1KzR8XJmJUswPV/QFo5sprd H+JLHJAQeA+eF+2PiPO0dlYkSEzHcx7JaEZJgX1z9SA55JlfALpVlYDa+genENDHTWD5 ytp72wDy1rhz4AfyVpUhZyVs8q/hQI+Xjxz75pYkchXKwKmYR6FlsKouOhdabTaoO67Z RoLovFJoBRaXSeMe+UdnkY21OINH9Lq/3lnBZWaOZs0/P35xDeJzxiila0WC5FtTw058 s+1w== X-Forwarded-Encrypted: i=1; AJvYcCXVEhflZRPRk+92nkgWt5O85NihemwhM+AEs+JsiBrZy1ID6QlXqkVkAsyHsMLGA9qURbEV6vyygZqE7aMKBv3g9pHpwnm6oK6gylr7+PXoMufD7d0= X-Gm-Message-State: AOJu0Ywaj4+jKJxG9kQefvExzsvYLl3oiW9oYk8GSY99DdWnSN00TYJn spUuUuSqjXBDtGFrWw7EyA4g5tnMl+NIT2rse1Kgm+7F+ueORDGQ X-Google-Smtp-Source: AGHT+IHl4DSRBBK5EU7FX+5Xap62TW85oFKwK3LiNNqa2nIFMaTpiwS5/2XjpkpWxLT5r1xxzB4UQA== X-Received: by 2002:a17:90a:d90f:b0:2ae:e22f:38f5 with SMTP id c15-20020a17090ad90f00b002aee22f38f5mr3107642pjv.10.1713984671079; Wed, 24 Apr 2024 11:51:11 -0700 (PDT) Received: from stbirv-lnx-1.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id u8-20020a170902e5c800b001e425d86ad9sm12268728plf.151.2024.04.24.11.51.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Apr 2024 11:51:10 -0700 (PDT) From: Doug Berger To: Linus Walleij , Bartosz Golaszewski Cc: 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, Doug Berger Subject: [PATCH 1/3] dt-bindings: gpio: brcmstb: add gpio-ranges Date: Wed, 24 Apr 2024 11:50:37 -0700 Message-Id: <20240424185039.1707812-2-opendmb@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240424185039.1707812-1-opendmb@gmail.com> References: <20240424185039.1707812-1-opendmb@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240424_115117_987498_9EF0E42C X-CRM114-Status: UNSURE ( 9.76 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add optional gpio-ranges device-tree property to the Broadcom Set-Top-Box GPIO controller. Signed-off-by: Doug Berger Acked-by: Florian Fainelli Acked-by: Krzysztof Kozlowski Reviewed-by: Linus Walleij --- Documentation/devicetree/bindings/gpio/brcm,brcmstb-gpio.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/gpio/brcm,brcmstb-gpio.yaml b/Documentation/devicetree/bindings/gpio/brcm,brcmstb-gpio.yaml index a1e71c974e79..f096f286da19 100644 --- a/Documentation/devicetree/bindings/gpio/brcm,brcmstb-gpio.yaml +++ b/Documentation/devicetree/bindings/gpio/brcm,brcmstb-gpio.yaml @@ -62,6 +62,8 @@ properties: interrupt-controller: true + gpio-ranges: true + wakeup-source: type: boolean description: > @@ -88,6 +90,7 @@ examples: interrupt-parent = <&irq0_intc>; interrupts = <0x6>; brcm,gpio-bank-widths = <32 32 32 24>; + gpio-ranges = <&pinctrl 0 0 120>; }; upg_gio_aon: gpio@f04172c0 {