Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp509385ybf; Wed, 26 Feb 2020 17:28:37 -0800 (PST) X-Google-Smtp-Source: APXvYqyDD301N0nSdeMBMjhOMB3rmaWR+aj9SpLaqQv9Sgv7zF4pySwjGSGKPFwEP1hjBDX31zOL X-Received: by 2002:a05:6808:64d:: with SMTP id z13mr1555118oih.104.1582766917347; Wed, 26 Feb 2020 17:28:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582766917; cv=none; d=google.com; s=arc-20160816; b=aloOAixHlBH4Ni/u3ZxyAfXU1QAs7MFANfoKcl1caW09xLZkSRN5akjcl6AtPGgCGo X+iTs2vmqJO8Jz6i4GsT8tDe7eMv+lnNy0CTx7Cu3q1bQVdtCx/YmyZjbGPnJ8MRBFC2 /D4Id34zmrrwnoztTvluKcZ7bJ9AZKexEN+SuiJaAbm8wT6e3MqpmOKQpzPQ5B7kEeOO b3FG30Mold1pAWS0joKrOgXgddfhH/aBG2LMYc+QpknSZjSBEpsAva/BaIWaOH6wEtOV ALLYEs7fqEzzb90MUEDfmo59jXGWI0U2wiZKzNmumrmNRAEQVvx2COwG8PeBDmGXrlKZ LZ2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=zi3Psy2flmGLMJQh1FcSwedr8TBTKppmZYdOez68c40=; b=LAkvGseHXdsv/arNfBcwFPYE9wOYEe8WUWpD0meMeLDh0ZpQ8zehWVqs1d0gQzBKGs TZW3MZcCtz/s4t9cafA2/MvzKI3RgC/kl19vekc/E8mHT/3oOvayqC4uoKBj1t803DTN aFefz44AOkuwIQnLcgIjN4a2mJ6SH+aZkjA4i3qzVvs/hMRfSjvYZgVrMtsoUeDH+a3X XgUr8+oFeU38Jh5J7tj/uWKGE9G1I7qxw8EGxDRvhLUBuCMoKX2fVIEF2MRhGAXd1ovm HBldRHORpUQftsPLrF64xjbNDQvKmpFvXEGCQOK/mzwwIV8PyBitLIebQOIX5MFGkqhs a3Cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=CXFGnn7L; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d10si706375oti.226.2020.02.26.17.28.24; Wed, 26 Feb 2020 17:28:37 -0800 (PST) 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; dkim=pass header.i=@megous.com header.s=mail header.b=CXFGnn7L; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728148AbgB0B1K (ORCPT + 99 others); Wed, 26 Feb 2020 20:27:10 -0500 Received: from vps.xff.cz ([195.181.215.36]:44692 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727964AbgB0B1K (ORCPT ); Wed, 26 Feb 2020 20:27:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1582766828; bh=u1U5biX1YBQymIrRPcMlcQ+pX+ofoeqYtiKTMcwGEkk=; h=From:To:Cc:Subject:Date:From; b=CXFGnn7LldFRSTbl8VIBS9TBOVvyh4Cdp1xET3TKP+izNCKdFiQ4JfJH3pTQN56GC pvcfcDrInjqUXrShZzqsPoeLG01k6zfyiUTB72i6a/dO5Z+tEK6QtEAXRYWmxiaPW7 bLs5SWzYcsggp9am9AShglyt2TiqMF37o3u0MPYc= From: Ondrej Jirman To: linux-sunxi@googlegroups.com, Rob Herring , Maxime Ripard , Chen-Yu Tsai Cc: Ondrej Jirman , Mark Rutland , Corentin Labbe , Georgii Staroselskii , Samuel Holland , Martijn Braam , Luca Weiss , Bhushan Shah , Icenowy Zheng , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/3] Add support for Pine64 PinePhone Linux Smartphone Date: Thu, 27 Feb 2020 02:26:47 +0100 Message-Id: <20200227012650.1179151-1-megous@megous.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds an initial support for Pine64 PinePhone. Please take a look. thank you and regards, Ondrej Jirman Changes in v2: - make i2c2_pins default pinctrl config for i2c2 node - add description of the differences between 1.0 and 1.1 to the commit message - added copyright header for Martijn Braam - drop pinctrl config from i2c1 and i2c2 nodes, since it's now the default - extend comments on i2c2 and uart3 nodes to be more clear - rebased on top of linux-next and resolved conflicts - dropped the function-enumerator from leds Changes not made: - I didn't drop pinctrl configs on mmc0, mmc2 and uart3 - these are actually not default in dtsi, as was suggested - gpio-leds kept with the new function/color binding, but I dropped the function-enumerator It seems intention for the future (since about 06-2019[0]) is for LEDs to not have a devicename in their class name, because that's determinable from the sysfs in other ways, and to use the function and color properties instead of label in DT. [0] https://lore.kernel.org/lkml/20190609190803.14815-5-jacek.anaszewski@gmail.com/T/ function-enumerator is supposed to be used if function/color don't make the LED name unique for the board. [1] So I dropped function-enumerator from my series, as it just added a numeric suffix to the LED name for no reason. [1] https://lore.kernel.org/patchwork/patch/1063388/ This follow the recent new board binding additions to the kernel (in 5.6): https://elixir.bootlin.com/linux/v5.6-rc3/source/arch/arm64/boot/dts/amlogic/meson-gx-libretech-pc.dtsi#L96 Ondrej Jirman (3): arm64: dts: sun50i-a64: Add i2c2 pins dt-bindings: arm: sunxi: Add PinePhone 1.0 and 1.1 bindings arm64: dts: allwinner: Add initial support for Pine64 PinePhone .../devicetree/bindings/arm/sunxi.yaml | 10 + arch/arm64/boot/dts/allwinner/Makefile | 2 + .../allwinner/sun50i-a64-pinephone-1.0.dts | 11 + .../allwinner/sun50i-a64-pinephone-1.1.dts | 11 + .../dts/allwinner/sun50i-a64-pinephone.dtsi | 379 ++++++++++++++++++ arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 8 +- 6 files changed, 420 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.0.dts create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone-1.1.dts create mode 100644 arch/arm64/boot/dts/allwinner/sun50i-a64-pinephone.dtsi -- 2.25.1