Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp949240rwb; Thu, 12 Jan 2023 14:43:46 -0800 (PST) X-Google-Smtp-Source: AMrXdXs1NYqKBx7if/Xe7+NdcbIOfIGa9OAUbf4afQfHh7V6WJB/dv712fReWN6O3epH7BQ1KQko X-Received: by 2002:a17:907:6f19:b0:818:3ef8:f2fc with SMTP id sy25-20020a1709076f1900b008183ef8f2fcmr67209719ejc.5.1673563426241; Thu, 12 Jan 2023 14:43:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673563426; cv=none; d=google.com; s=arc-20160816; b=SA3yCWfkZkm9J5UG9rzCWT7PmHhFBrIBY9wYGDicl8hxqexohW6doRn1xzLXdJGV8N t50O3bHWaqPTQ7CP2XCNzrLJhw1vKbJpd0Z5jOOJGRWGRcgZK/nceQE0DHx8sti/FnIn jGQMb8a88LVmmdHSpKVhcuYyZS7dib+5Ar9nOTqekjJnyCVcdXiSOS+8wZe2wvekjgLP 6dJ4k5TMvYceIHAZTBw6Bhxy0R1kAaQXoSYxDiiajM08B88Uam43C1ApJUw/8ADUkTq/ WGKa9GSxBWzS1N7/H96hNE5lQCNZYBSWD4GvKaiofNEQyvgQK1/8xWhKO+216NqvUvAy JLqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:feedback-id:dkim-signature :dkim-signature; bh=s7tq5Dt4vQ7KWmnlphnVVetcWhkbTgMUgBJi8a3V96c=; b=EjHDiGcz1KaJt3RQ67GotLnOPrRY79Afy6bVHgfkS0VJoPnTW2nxsqkk3PPIwBxbIe fbNX0AT1ZAylwSKu4JcSgEma6HIxC7Jm3ZkYmbI8QZshtS3zbzMs/hSg+7q9ukfyTDqS cl4CXJm/VP1QzY0JWODJ8P9Qp9VxZQJa0CzY4QI6obKFqNrPv+y/suic2mYam+qlagLr tLK8f3AdtFaNOp+MvGHWKMfUvrE+Zbbqg735Ps39Tg5yj43r6wNWuUbkYYECscl1btpk 7suFcgHgGsMlxSxGEh3zqKxWZzTjhJsCzOCacm66O3ZZyVlXtoHIoMvq2FpzUJTj0xvf 5odQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm2 header.b=FH6VjcMH; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b="pgK/1suD"; 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 nd32-20020a17090762a000b007c0a1b684f8si21194773ejc.695.2023.01.12.14.43.34; Thu, 12 Jan 2023 14:43:46 -0800 (PST) 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; dkim=pass header.i=@arndb.de header.s=fm2 header.b=FH6VjcMH; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b="pgK/1suD"; 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 S234111AbjALWIc (ORCPT + 50 others); Thu, 12 Jan 2023 17:08:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232816AbjALWH0 (ORCPT ); Thu, 12 Jan 2023 17:07:26 -0500 Received: from wout5-smtp.messagingengine.com (wout5-smtp.messagingengine.com [64.147.123.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E37A167F6; Thu, 12 Jan 2023 13:57:40 -0800 (PST) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 9D9BC320046F; Thu, 12 Jan 2023 16:57:35 -0500 (EST) Received: from imap51 ([10.202.2.101]) by compute6.internal (MEProxy); Thu, 12 Jan 2023 16:57:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1673560655; x=1673647055; bh=s7tq5Dt4vQ 7KWmnlphnVVetcWhkbTgMUgBJi8a3V96c=; b=FH6VjcMHfmIaUgUjinAiyozgq8 CuO4EN2FoQdMnf0Q5EWOYzUaiyrRSEYyG7eW/dY4OfmjlsNMfIlDJ///YxWBVAt8 4lvsHRxNWPTvvcnFtw86rsh78eLG5wwreZzZUOrtxqKUnP6+JLHGhHHC+J41/GpY +pI7OKaf2wODzjjvvwBl3mqXq5JVtQFPLJuLHjJJNtd2ND9u/J6E2ThNKYRnnh0G sdIh5VxpF0MKNlBp+WvKpq9waN1HAZGrCYSeq/2CDgzziGkFo0pF075JN0H/0fMI Z7weZIAWaWdhVyr3ZYHSdpMUVpgoS40kkW+GnBSK3ucJyUj7cfoiOfizWr0g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1673560655; x=1673647055; bh=s7tq5Dt4vQ7KWmnlphnVVetcWhkb TgMUgBJi8a3V96c=; b=pgK/1suD/fOcIK9hUgjbK/lN103NpjOTTIAlUO7mr97V W7cdmlDu3tBreLzMVCuY2UnlnmpRw1qdawNFdwtK1IhYD3l2e8q85DwZaS6wNHBU VRZHXixN2lyT09ohcuECYWZpgF7Sb7TQNbMTs7STcKrS/KWOAxY+jG9sqWiktHwb BjuxPy9pwLTHFujXcO62FyFi/+t+gk1B1W0SYpQtke+194l/PjgkzxCfScl4yFkl 84c5WVD0p9YA7bjZ9tifo0drq8RFyxGn00QTmegdKoEUJ/64bGJlWM7GKMttASNo wDFESfuC1d34YAi+69p6duDAZQdx1A08Nq3KTKsbnQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrleeigdduheejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepffehueegteeihfegtefhjefgtdeugfegjeelheejueethfefgeeghfektdek teffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 8C0F7B60086; Thu, 12 Jan 2023 16:57:34 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1185-g841157300a-fm-20221208.002-g84115730 Mime-Version: 1.0 Message-Id: <83f5fc9f-4b46-4ac4-ba65-455d0aaaed88@app.fastmail.com> In-Reply-To: <1E4BFECB-D29A-43CE-A521-F2A81939202F@hpe.com> References: <20230103203654.59322-1-nick.hawkins@hpe.com> <20230103203654.59322-4-nick.hawkins@hpe.com> <5ad677f3-2cbc-4ba0-bd48-2f832a72fb28@app.fastmail.com> <6bae68eb-866f-4b78-b4db-e3154feec28e@app.fastmail.com> <1E4BFECB-D29A-43CE-A521-F2A81939202F@hpe.com> Date: Thu, 12 Jan 2023 22:57:13 +0100 From: "Arnd Bergmann" To: "Hawkins, Nick" Cc: "Verdun, Jean-Marie" , "Jean Delvare" , "Guenter Roeck" , "Rob Herring" , "krzysztof.kozlowski+dt@linaro.org" , "Jonathan Corbet" , "Russell King" , "linux-hwmon@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-doc@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v4 3/5] ARM: dts: add GXP Support for fans and SPI Content-Type: text/plain X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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 On Thu, Jan 12, 2023, at 20:58, Hawkins, Nick wrote: > The updated section of the device tree will be: > > ahb@80000000 { > compatible = "simple-bus"; > #address-cells = <1>; > #size-cells = <1>; > ranges = <0x0 0x80000000 0xf000000>, /* > 0x80000000 - 0x8f000000 */ > <0x40000000 0xc0000000 0x40000000>; /* > 0xc0000000 - 0xffffffff */ > dma-ranges; Ok > > ... > > vic0: interrupt-controller@4eff0000 { /* 0xceff0000 */ > compatible = "arm,pl192-vic"; > reg = <0x4eff0000 0x1000>; > interrupt-controller; > #interrupt-cells = <1>; > }; > > vic1: interrupt-controller@f00000 { /* 0x80f00000 */ > compatible = "arm,pl192-vic"; > reg = <0xf00000 0x1000>; > interrupt-controller; > #interrupt-cells = <1>; > }; I still don't see the value of the /* 0x80f00000 */ comments, you should define the ranges to the most sensible mapping based on the datasheet so you don't need the comments. If the datasheet uses a bus-local address (0xf00000), then just get rid of the comment, since that only adds confusion. OTOH if the 0x80f00000 number is what is in the datasheet, then adjust the ranges to do a 1:1 mapping of the registers on the bus and use that address directly. Arnd