Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp4195981rwi; Mon, 17 Oct 2022 02:58:34 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6aYhezSa6d6aq5wVamCqHUARHTgB+pcnNVizupO5aRWAffMP9yJhrrhChfzs7minNgG0rh X-Received: by 2002:a17:902:d510:b0:185:480a:85d3 with SMTP id b16-20020a170902d51000b00185480a85d3mr11509098plg.4.1666000714163; Mon, 17 Oct 2022 02:58:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666000714; cv=none; d=google.com; s=arc-20160816; b=H62D/OqqCIEKTbh943Pk62aon2po2IakghEjLhvJmxxUNJkKgclB0+/hddaBhU/tWU gkGDGIZ+rR2LZiHoZNTSq4TXDBWzkAVC8nx1l2wvkWPK8sHahgB3GNBTOOTiBQ6XUMVP oUWB1e3+7N6u0ig1R7BDywRS2JM29GbnGY0EyNEOPPnw9C7JBEED/OCalMwcEUcftZhg kHunSFEYvIARHD4Q6Iu03UnfYIQX3yMX2txxCPUqqV+PDwGdWwO797bYwwm8RthHsgai LIgjgW79EnbDTVhKs4THlGleOKgvSGPlbZ59AVHvCens9dv2kN5CSTCZb0dQqFdFT3bE S+dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=EPVBhK0rbpktxQd3uq2/qvgXoXQppgBSdJVYd8YExeY=; b=A+SX4oXjonUr9HWzq+BtjTIOxElrPSQQT56SVZFXrHuiyS7dILTwu/HZpRF89ghP0h 3NMnYcaxcVuu7K/0mvK0cF+5Av7W76Di9mBh5eTILyw5qugxsOSNOA5VHbhIfYSbirGV UqNp8ogSW3o2G8Z/Ht2SIeNkurMwSRaA7VeagtVHa12XzTKf0kWyptZaQiv4WLmWgyLM P7ZeeAtCdxEQOM0t/yk3WhWpFSC7nUA7iyTy+PtOsFMDCXvWFBPwsSTjeE85H0sieuAB Ar5Ba+sUOBv7K7+E3b00LkBVVcryslXdnZ3hYqltBMDttzPrJLjhQnHcP6bzEQmcBAoK X51w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nn6-20020a17090b38c600b001fd8713170csi18147923pjb.179.2022.10.17.02.58.22; Mon, 17 Oct 2022 02:58:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230037AbiJQJTI (ORCPT + 99 others); Mon, 17 Oct 2022 05:19:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231185AbiJQJSW (ORCPT ); Mon, 17 Oct 2022 05:18:22 -0400 Received: from gandalf.ozlabs.org (mail.ozlabs.org [IPv6:2404:9400:2221:ea00::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 433224CA04; Mon, 17 Oct 2022 02:18:02 -0700 (PDT) Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) by gandalf.ozlabs.org (Postfix) with ESMTP id 4MrWZw6JtGz4xFy; Mon, 17 Oct 2022 20:16:40 +1100 (AEDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4MrWZr4gbFz4xG9; Mon, 17 Oct 2022 20:16:36 +1100 (AEDT) From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= To: linux-spi@vger.kernel.org Cc: Mark Brown , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-aspeed@lists.ozlabs.org, openbmc@lists.ozlabs.org, Joel Stanley , Andrew Jeffery , Chin-Ting Kuo , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , Naresh Solanki Subject: [PATCH linux v2 1/3] spi: dt-bindings: aspeed: Add a ranges property Date: Mon, 17 Oct 2022 11:16:22 +0200 Message-Id: <20221017091624.130227-2-clg@kaod.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221017091624.130227-1-clg@kaod.org> References: <20221017091624.130227-1-clg@kaod.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS autolearn=ham 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 "ranges" predefines settings for the decoding ranges of each CS. Cc: Naresh Solanki Cc: Chin-Ting Kuo Signed-off-by: Cédric Le Goater --- .../devicetree/bindings/spi/aspeed,ast2600-fmc.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Documentation/devicetree/bindings/spi/aspeed,ast2600-fmc.yaml b/Documentation/devicetree/bindings/spi/aspeed,ast2600-fmc.yaml index fa8f4ac20985..a11cbc4c4c5c 100644 --- a/Documentation/devicetree/bindings/spi/aspeed,ast2600-fmc.yaml +++ b/Documentation/devicetree/bindings/spi/aspeed,ast2600-fmc.yaml @@ -38,6 +38,14 @@ properties: interrupts: maxItems: 1 + ranges: + minItems: 1 + maxItems: 5 + description: | + Defines the address mapping for child devices with four integer + values for each chip-select line in use: + 0 + required: - compatible - reg @@ -58,6 +66,7 @@ examples: compatible = "aspeed,ast2600-fmc"; clocks = <&syscon ASPEED_CLK_AHB>; interrupts = ; + ranges = <0 0 0x20000000 0x2000000>, <1 0 0x22000000 0x2000000>; flash@0 { reg = < 0 >; -- 2.37.3