Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp407898ybh; Thu, 12 Mar 2020 04:21:37 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsbmyxrBfP7olh8ZdxWGdqx34Ci3JVE/flBhuEuvCwsWd7FDU2vNT5Y1iUgw1jMNfp8h47p X-Received: by 2002:aca:f1c2:: with SMTP id p185mr2241104oih.87.1584012097253; Thu, 12 Mar 2020 04:21:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584012097; cv=none; d=google.com; s=arc-20160816; b=KfHQG4MeYqg54VnTc+Xacvrom2PTLuRM+iHaxu7dyLgEl8p2HVXsbM09tybAWvRwbx cR9BQNO2vPrs+hpjYXCmEsZeOlu8L7mkKnSj6PU1wLBm+1598sQ+PEwHVXv3/VzU9di3 QHDyQIrI5rHrbHMCAiy2PU2Mw6R0tLV9PGM+Da7ptu3W8CQGdrKQk4hs0KSdCTTnY5WU yJFyCYTw8xzVHhOybeRU/gwbE2cogZKyBXEFwUAV3uN28HN0KfRO6zAdN6n4FWfpB6Ah yDkMki2syKuEGMxdt8pV68YyNmtJSm2m7/i1nrYroeOCW9rlMaO8BLX9vHqY0zCamNgl 5CuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=y1ExLDcUkUP697B4kMNOxy0l/kp6xCU47lG1jBrxBa0=; b=JxMbVk1pdBDSMe5B99naySpaUvHvoneR+HBF0V2KQrpNdz0e04sseB5uVo5rKNJpwY hFFcP+FGJv9++ajbf2SYVnp+ncCjzFVM43nHD3B5q3eW8L5aXTd6QCEexPCsncc4VFSH rycUw+6dvz0tyso5q+RtkP5gj3z94ugJJYQElMDBrcp2UeBG087i6aLUbVXNRP0F8YrF I+a2Rsug9hGw1ddrej4ZBMkiMtkaIULm6/jzwlySikZHOU7yeUhyoHrGVcnbJeN4CRAP uAkKFXU+XDnQhVM66TDwgkd5AipdJVBIXftaaktcolYM6hEHiV6vbLjHY2r1F0smg5eM FvfA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z24si1910612otp.159.2020.03.12.04.21.24; Thu, 12 Mar 2020 04:21:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726971AbgCLLVJ (ORCPT + 99 others); Thu, 12 Mar 2020 07:21:09 -0400 Received: from sauhun.de ([88.99.104.3]:41260 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726023AbgCLLVI (ORCPT ); Thu, 12 Mar 2020 07:21:08 -0400 Received: from localhost (p54B331A0.dip0.t-ipconnect.de [84.179.49.160]) by pokefinder.org (Postfix) with ESMTPSA id 71E3C2C1ECC; Thu, 12 Mar 2020 12:21:06 +0100 (CET) Date: Thu, 12 Mar 2020 12:21:06 +0100 From: Wolfram Sang To: Geert Uytterhoeven Cc: Wolfram Sang , Linux I2C , Linux-Renesas , linux-i3c@lists.infradead.org, Kieran Bingham , Niklas =?utf-8?Q?S=C3=B6derlund?= , Luca Ceresoli , Jacopo Mondi , Laurent Pinchart , Vladimir Zapolskiy , Linux Kernel Mailing List , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Subject: Re: [RFC PATCH 6/7] i2c: of: mark a whole array of regs as reserved Message-ID: <20200312112106.GB1013@ninjato> References: <20200220172403.26062-1-wsa+renesas@sang-engineering.com> <20200220172403.26062-7-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="TRYliJ5NKNqkz5bu" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --TRYliJ5NKNqkz5bu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > > +int of_i2c_get_board_info(struct device_node *node, struct i2c_board_i= nfo *info) > > +{ > > + u32 addr; > > + int ret; > > + > > + ret =3D of_property_read_u32(node, "reg", &addr); >=20 > Perhaps the time is ripe to start considering #address-cells, instead > of assuming 1, here ... I will check both instances. Thanks, Geert! --TRYliJ5NKNqkz5bu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOZGx6rniZ1Gk92RdFA3kzBSgKbYFAl5qGyEACgkQFA3kzBSg Kbacgw//d7BKezsM+cMzwalRi0/ITR5ZQag8QKwqATzh94iB4BvWCJpBTUySYyG3 fcjUNvsnpl8UFfayDD3mld3Xy37lOW3sIp+A9ZGezoaMF9oIrigVUNi+q1SWkJXA GStzUJnvjm2GKpUMTD5AvmrPCbn7ZxNoSfXQXvCqg2XrJnqggJacVHREqSrfb+iC H9DhIEZ8yD54zWueE4/Bhf/BFs80DYExVB3U7PDLMoQoS9XJkktOpm1W0WnPn9eH CCbvUIvjtUpZ7zOLrA+YQcGxDQ+++Br52Lb129PraWCtMFYluwckM9SJYjkye9le 4cFxMeh2hPIko5nmbwqnTPoi260QGCBu1UUb8Xy7A3b+0qzMQQRhBSrZde5xvgzs 5XcN/WNAPlDeRuC+lZy2NrinDZgYxWs9Qt1McLzzgumsUnredKCvokMRndk6dab3 6PTAcUC4kcraiiRwk81w8pIYjcZlSXrjnoRPxCb+8da37ksiJ04gdEvH1iOAV0f+ jqofmXdbXZ7iUrMzk3EZFNK0oDHKeEE4PBpz/AWZAKcA0Em5ZFCpIjhCAmtLclOn /B6dsuS9YAkKVRwQtyKWm+4aKO4kxiqpUJrcZ93VG+wTGQA8qU6qb4tQL/D59a6m tIhEVvuks81jRSHZxlsg7aG6zMAEVTWTkuZID+90o7WUU7lDwO8= =3LQe -----END PGP SIGNATURE----- --TRYliJ5NKNqkz5bu--