From patchwork Fri Feb 4 15:35:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Horatiu Vultur X-Patchwork-Id: 12735234 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 CF9D0C433EF for ; Fri, 4 Feb 2022 15:35:18 +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=A4NsMfzbsBxunk4DplHJbskD+SBroE+9CVYlSXGhi/Y=; b=ts67NoKLPzfwsn KTqlUC7SoqSY2H7SyJ70w0AFdWvQoNxsdPuV/n2kGrVLPgw73FFazxK/3DnT/aKWwWh1xLjYGVG5u PFYRACQnKk2ERU6JfB5n/5YX2CY08+DsJpCCitxIqtjjXVyltETDMykn9bYzskSxj3Bl9vJbBnlPq 5YTLyxjMW4WfItFBq37gB3tPvBa3nsqBEh1wmvn5ZuP5RNa4sVpqhsxdxOaDN6JuBBp1jsmclm05f f4WKRwu5BL45lco8fRDtJeYQhpFxiWzHUXbNj7eWUdy1VwnmSiabpa/ysnxceM/NXSgyth4b0Hrz4 Y8zAD36YTLKHZKxKyfTQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nG0bA-004l4A-DK; Fri, 04 Feb 2022 15:34:08 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nG0ao-004kw7-E1 for linux-arm-kernel@lists.infradead.org; Fri, 04 Feb 2022 15:33:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1643988826; x=1675524826; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=jn5W82d/PJK3RnYJ6ylz47sRhGybpqB76SGsGUGEZVM=; b=N1Xx+IQbOdkUxHVCLrLOMjgrk+ClYmSuQoQLRrnD6gCGgz0ulle8fwEi 6AMcyJxg4H+frIZ0uoEMeglcxv66xfd6Q8xGGgpOsn8XhYMhXyhxzFzQt YtJgq1ErlYg3MKyu9ZdaxERuj10ThKEVV21750XkroQypEzi2astR2yqV Y1c2OOgtoY602sJg6iYd2jv+BvaTHXJB6/0B7aS8VYy2G4j+t4ipf4l4L DO6ogNrmxnhTN0WbeuHcgkEcixqd8g77+PjejptH7ld1z42MMdavOptLp DNMwfrLDTUSbhc2J16m3YcVYI37BFYlBNN0Mprx5ltq7bEKF9H+HYp3Jd A==; IronPort-SDR: j5wnxlThHVdkXuQxtk+Tk+TGGIpyOvHJINBjssfTRHmI842ZTHd2r5ThjUC6aXtSbZ3Lo2A8gj aMaGtiLlvig7OYjxkGsqMTJRErX1MYUaBD82g8lSvK9U475S2rto6u0traVXhPftz+XKaeJgg/ kzw/z79fqvvJRoZeo0A292mzaaTaeuyOTwQrCFmHmuYfFLKKkOan7X/hgzkxRRJOxgj/KjWtuu O0lEUpUVfISGCX5+9raisCUSxxOWeoOLBPY1FUjdthwCUnb21/MfUyH+jdrEP7AQIgZ0vKzkZT ut1Vld9KLFCWihDurYLddgRf X-IronPort-AV: E=Sophos;i="5.88,343,1635231600"; d="scan'208";a="147655023" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa2.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 04 Feb 2022 08:33:42 -0700 Received: from chn-vm-ex02.mchp-main.com (10.10.87.72) by chn-vm-ex02.mchp-main.com (10.10.87.72) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Fri, 4 Feb 2022 08:33:42 -0700 Received: from soft-dev3-1.microsemi.net (10.10.115.15) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Fri, 4 Feb 2022 08:33:40 -0700 From: Horatiu Vultur To: , , , CC: , , , , , Horatiu Vultur Subject: [PATCH 1/2] dt-bindings: pinctrl: pinctrl-microchip-sgpio: Fix example Date: Fri, 4 Feb 2022 16:35:34 +0100 Message-ID: <20220204153535.465827-2-horatiu.vultur@microchip.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20220204153535.465827-1-horatiu.vultur@microchip.com> References: <20220204153535.465827-1-horatiu.vultur@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220204_073346_562097_0642DD35 X-CRM114-Status: GOOD ( 10.25 ) 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 The blamed commit adds support for irq, but the reqisters for irq are outside of the memory size. They are at address 0x108. Therefore update the memory size to cover all the registers used by the device. Fixes: 01a9350bdd49fb ("dt-bindings: pinctrl: pinctrl-microchip-sgpio: Add irq support") Signed-off-by: Horatiu Vultur --- .../devicetree/bindings/pinctrl/microchip,sparx5-sgpio.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/microchip,sparx5-sgpio.yaml b/Documentation/devicetree/bindings/pinctrl/microchip,sparx5-sgpio.yaml index cb554084bdf1..0df4e114fdd6 100644 --- a/Documentation/devicetree/bindings/pinctrl/microchip,sparx5-sgpio.yaml +++ b/Documentation/devicetree/bindings/pinctrl/microchip,sparx5-sgpio.yaml @@ -145,7 +145,7 @@ examples: clocks = <&sys_clk>; pinctrl-0 = <&sgpio2_pins>; pinctrl-names = "default"; - reg = <0x1101059c 0x100>; + reg = <0x1101059c 0x118>; microchip,sgpio-port-ranges = <0 0>, <16 18>, <28 31>; bus-frequency = <25000000>; sgpio_in2: gpio@0 {