Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp607782ybl; Fri, 16 Aug 2019 00:51:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqxnsOCOaAJNu8ZWS5mBNKDuaqTQPh4w1mIcOHWBVRJVA67lpWxcAGJuU3smUJM02XhcWzFf X-Received: by 2002:a62:b408:: with SMTP id h8mr9303015pfn.46.1565941909540; Fri, 16 Aug 2019 00:51:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565941909; cv=none; d=google.com; s=arc-20160816; b=EvCqoBXGrloon+HWAcbuL+bCEZI/UZYcNPRheWDieN2kO7WQlRhw7SNe8dYx7xhnIZ dIWA+Xk/Y9NENeX4iIl8+dZTRrJCdD49vXCnycwQaUT5w7VQbecQKKVmHbTSHWqLqQ6r 9NafVLvF30kHCeU9BWu0OL2UjyQfvaBQYocIhbE91Zi5Ex2WA3AAVd2hhVEJctd/pI7l esNl0SoDdQXGu1w+aGfa60ByoiUjrVYL0PiOt/j44RJQrU3LpomEPNT+dEPO04qe5mv8 S9cmS8vGw4v35V5xAqfmebRN1BuDcmofcJM5I0xrdLSdatvLq9GWWafwpOYhV3x90++y 6bZQ== 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=NHcwLY9E+ofsakcuEKIUmlPbUIBzA6VtHBRQwHMj1/g=; b=uE8CED1KQPSvrzzEE86K4mr+nit0qxWkjVF9/LiQlWG8zOcz8orsKgKjYyza69RoMM tUP0/TgnB4cyNwunBIhEYJ2nxzIvGIh8n8X2DzaSUDPv3fNHzatSSekIW7bzKeG6p9Bt CYuhHX5fn46ln0t/uRMiVZ0vp8HxK2ZuF4HztB2/o/dU3t3BKfT+Z4OxJjDbCowDncsz 9W9RxJJXjhoFv2zNllC03/++Dodla4a9AN23WnvVU+niGmk3v/jK4KdsMavktCnYeW18 EdXBC9nXZXcozPOlC6zlUqgOLipUmPYns/byjks0XInMuTcBnuuRMlDew75lV0FE9cJW YKVg== 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 q15si3540994pls.184.2019.08.16.00.51.28; Fri, 16 Aug 2019 00:51:49 -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 S1726740AbfHPHug (ORCPT + 99 others); Fri, 16 Aug 2019 03:50:36 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:53013 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725945AbfHPHug (ORCPT ); Fri, 16 Aug 2019 03:50:36 -0400 X-Originating-IP: 86.250.200.211 Received: from localhost (lfbn-1-17395-211.w86-250.abo.wanadoo.fr [86.250.200.211]) (Authenticated sender: maxime.ripard@bootlin.com) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 560C0FF803; Fri, 16 Aug 2019 07:50:32 +0000 (UTC) Date: Fri, 16 Aug 2019 09:50:31 +0200 From: Maxime Ripard To: Bhushan Shah Cc: Icenowy Zheng , Rob Herring , Mark Rutland , Chen-Yu Tsai , Wolfram Sang , Gregory CLEMENT , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 2/3] arm64: allwinner: h6: add I2C nodes Message-ID: <20190816075031.zw4bjunn4hfoaq3e@flea> References: <20190811090503.32396-1-bshah@kde.org> <20190816064710.18280-1-bshah@kde.org> <20190816064710.18280-3-bshah@kde.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ibqavahcu4hffii3" Content-Disposition: inline In-Reply-To: <20190816064710.18280-3-bshah@kde.org> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ibqavahcu4hffii3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Aug 16, 2019 at 12:17:09PM +0530, Bhushan Shah wrote: > Add device-tree nodes for i2c0 to i2c2, and also add relevant pinctrl > nodes. > > Suggested-by: Icenowy Zheng > Signed-off-by: Bhushan Shah > --- > Changes in v2: > - Add the SoC specific compatible string instead of re-using a31 one. > > arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 56 +++++++++++++++++++- > 1 file changed, 55 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi > index bcecca17d61d..a1a329926540 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi > +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi > @@ -329,6 +329,21 @@ > function = "hdmi"; > }; > > + i2c0_pins: i2c0-pins { > + pins = "PD25", "PD26"; > + function = "i2c0"; > + }; > + > + i2c1_pins: i2c1-pins { > + pins = "PH5", "PH6"; > + function = "i2c1"; > + }; > + > + i2c2_pins: i2c2-pins { > + pins = "PD23", "PD24"; > + function = "i2c2"; > + }; > + > mmc0_pins: mmc0-pins { > pins = "PF0", "PF1", "PF2", "PF3", > "PF4", "PF5"; > @@ -464,6 +479,45 @@ > status = "disabled"; > }; > > + i2c0: i2c@5002000 { > + compatible = "allwinner,sun50i-h6-i2c"; This isn't going to work if you don't patch the driver to add the compatible. And this isn't what you described in the binding patch. Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com --ibqavahcu4hffii3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCXVZgRwAKCRDj7w1vZxhR xS+HAQCepqHx2ZpfYXULQei3MlCiSsZt/LK4vD5T0th5iQi3YgD/Yh5TJDYYPBYh bHb7icMbNnDQjvYijyzCk3IJQmfegAU= =b9Qc -----END PGP SIGNATURE----- --ibqavahcu4hffii3--