From patchwork Thu Feb 27 01:26:48 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Ond=C5=99ej_Jirman?= X-Patchwork-Id: 11407569 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 34DA71805 for ; Thu, 27 Feb 2020 01:27:26 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 0CB0624670 for ; Thu, 27 Feb 2020 01:27:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="sNnkVg1c"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=megous.com header.i=@megous.com header.b="McRGIk9G" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0CB0624670 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=megous.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8sDx7D882Qzo6i/wY97Js8rB8gkcqtTNOSIs9GhmVOI=; b=sNnkVg1ca1F+hE iSNxJAFdUEqrbosxan0SC26ofJmi+FVJkQVZ460zrbAqzcuUtgmtssb3Ax2LwG5v9QkZEO3MYmkPd 0XTDZahR6tOchrCK32s6J9qjZFVpi2HBZ19meA3CiLvKwBs67h0K7wKYfn6nvJ1cxITxiBqFuz3i/ hsio1H1WFir8uHdUy/r8CDmYBQJeboCa0HRojf3wZGQlvxeUqXfZjruYI3u/90zOE71o9zKMvMekO PrSKAsvpZusZviBBywT9C+cRphfLkg2fprABhjdron2l0RNiTQcWTmyEwyMpf6LXz7k04Uo0DQb8g 9xFDnJq7CZ6rZc3GRKpQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j77xV-0007Gw-0W; Thu, 27 Feb 2020 01:27:25 +0000 Received: from vps.xff.cz ([195.181.215.36]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j77xJ-00075a-3L for linux-arm-kernel@lists.infradead.org; Thu, 27 Feb 2020 01:27:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1582766828; bh=dkpxLjrIp6Tdn2aC+XgQGBKQKbp7zPJ9k5GPmi5ZppQ=; h=From:To:Cc:Subject:Date:References:From; b=McRGIk9GxLLiplwMSeEA5Apr2WAvfIOIN567AGZguyoFScbQZV5RJwtsQmHBtCkYX i7OZKV2wDqvfq7W9iE2r3+PJvWFG+Y/DMNPQRIa1ltGUApS8Gv4fH1WO/bydv6Ui8p DJKIhCMtKT3G0x61KNJfxoaBoTo3EiUNrgsVytr4= From: Ondrej Jirman To: linux-sunxi@googlegroups.com, Rob Herring , Maxime Ripard , Chen-Yu Tsai Subject: [PATCH v2 1/3] arm64: dts: sun50i-a64: Add i2c2 pins Date: Thu, 27 Feb 2020 02:26:48 +0100 Message-Id: <20200227012650.1179151-2-megous@megous.com> In-Reply-To: <20200227012650.1179151-1-megous@megous.com> References: <20200227012650.1179151-1-megous@megous.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200226_172713_464356_B88B78EE X-CRM114-Status: UNSURE ( 9.61 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.3 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ondrej Jirman , Mark Rutland , Samuel Holland , Bhushan Shah , linux-kernel@vger.kernel.org, Luca Weiss , Martijn Braam , Georgii Staroselskii , devicetree@vger.kernel.org, Corentin Labbe , linux-arm-kernel@lists.infradead.org, Icenowy Zheng Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org PinePhone needs I2C2 pins description. Add it, and make it default for i2c2, since it's the only possiblilty. Signed-off-by: Ondrej Jirman --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi index 72b1b34879c6d..990de71ca048a 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi @@ -671,6 +671,11 @@ i2c1_pins: i2c1-pins { function = "i2c1"; }; + i2c2_pins: i2c2-pins { + pins = "PE14", "PE15"; + function = "i2c2"; + }; + /omit-if-no-ref/ lcd_rgb666_pins: lcd-rgb666-pins { pins = "PD0", "PD1", "PD2", "PD3", "PD4", @@ -958,12 +963,13 @@ i2c2: i2c@1c2b400 { interrupts = ; clocks = <&ccu CLK_BUS_I2C2>; resets = <&ccu RST_BUS_I2C2>; + pinctrl-names = "default"; + pinctrl-0 = <&i2c2_pins>; status = "disabled"; #address-cells = <1>; #size-cells = <0>; }; - spi0: spi@1c68000 { compatible = "allwinner,sun8i-h3-spi"; reg = <0x01c68000 0x1000>;