Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2288065pxb; Mon, 11 Jan 2021 06:08:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJzriu4wmmAbSq6TfMvXQen/hAIAOWWfenQQP+2VejtrTPk41r78ebv0LpeVNdIOAZmOCZUc X-Received: by 2002:a05:6402:19b0:: with SMTP id o16mr14307527edz.270.1610374083564; Mon, 11 Jan 2021 06:08:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610374083; cv=none; d=google.com; s=arc-20160816; b=jb0PtNiUoqEW/gOlLcfzoMq6Y7Q+tVSnq8ET5Tl8FiuzSWXE6ncSIAOoIZ7viqZvWa XX2NXRwRId7ljkLpT4K1AuaI7E45tEzz7pJkyL2aH2yoL0fMza+d7RgwjwhZm96v7KDd DOLhmd+eSp5XgmiNoeCcRHB+eAGAwwnkOGOTlhV4O2qnZGjs2nMYFCOBqrCv/sHqcP7r 5m4vtMRpkE/65Rl4U4rh4Qxj+c4ZpdDxrklo9/W4k6urXVVSfXdKcOzT6Dypju8/hO+R PwR7YdWk2ZRGteL4VOk/bmYOhONeenbElwPw8JSfHR+DIgyDCcMyNzdn+/uM8gjH0Jm/ Ywkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :autocrypt:from:references:to:subject:dkim-signature; bh=uobXBUEv4oqTEB0i8KeKmXbTD71SSmB2fLpGYVHr2ko=; b=svsZ1NfOfgkuKCdBdDHHXmdC7sLG52hvSMeOmdh3COLmtp8WMsGiNu7Sdb+VcFhDXa nvOBTRzlOuq5yisUPIWkUhgXl89hs5Kfz1OBqaT404HOG9ZIcJRCchj+qGOMpBvk5PKB qah1/Ylzo4mzsdCFcskRuNxR2C3+Ln7z8F0FGurdoqVaJCJL0rz0O7dFFMf0Otkc7BRF ADHIKVLKiR99x4YPg9/qtU8qxzz2B6Tw6SaMbHEqC2zILAHcbQfINTQEm07BLPX+Yp4V pzxkEUSwfmaj+nzeyG595GtwsZyoWN9wfB2Y4jz2xUBuIJaA6UJZP/JmdGn46JkxxLI1 Fsyg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="fqM4/6tn"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn23si6571521edb.27.2021.01.11.06.07.36; Mon, 11 Jan 2021 06:08:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="fqM4/6tn"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387879AbhAKODc (ORCPT + 99 others); Mon, 11 Jan 2021 09:03:32 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388366AbhAKODE (ORCPT ); Mon, 11 Jan 2021 09:03:04 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D89DEC061794 for ; Mon, 11 Jan 2021 06:02:23 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id d13so16485421wrc.13 for ; Mon, 11 Jan 2021 06:02:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:autocrypt:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=uobXBUEv4oqTEB0i8KeKmXbTD71SSmB2fLpGYVHr2ko=; b=fqM4/6tnFGkA2YdC2Xvp8v/SciCLjx8C2wwyCZXDqVDUisTyY10dWRHOgYi2dXAb6K hbEfEjyDfWIs+qlQBHC5ciDPmxCrQASYYzNf5GYZw+RA1NxfAnaErTFY2jMGwC3yRyx2 P/L9BTMxS0xf+4uJYpw5OLF6eDFX3JDziZ9gCgYRocS223D/6+LDHF3FNsDGQgGmY647 IDKL5nrZhx8LYaf8K1a03IJqdn+bTyRgi1xhFvI3Wk0QE23LtPJsarrxspZMJc9LTFXP zclX/CG0Oe8sQzuKb7P1NnEbVJIf8lvSsw9ERKveK9s3mGjXv1XGAajVUL0qRzKMd7M+ 8SwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:autocrypt :organization:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=uobXBUEv4oqTEB0i8KeKmXbTD71SSmB2fLpGYVHr2ko=; b=MwuiPO+QXJf8Kn8qFIvHWRV+Rgcpu6nntR6ISVMaNNzcePwcoICiecUdodsJWFX3kN bRYs5bT9UhcO4G9yVYn/F++JlDGDaFraPrRkGgN/M4b4K2H68ho7eMB/Ti+Hgg62IGmZ 88jYPD/sh+mALuBN23lnCsr3rdKptK9SMoJWdE51uvZZFocUYeGEpDCTysmrmjLr+fWE EFXpJgx3PaJ4QkfCtGJ4wzqR+miXgv0qaEEa6YpuDhnaEO2dqcwxxffgi6IgSpmOW3XO zktvMMAYhy0DdlaGGp1z9DUYcJAjDXpm5tkDRTm44tcy/1IfngJT+yzddhzS/aKPlpeL QnbQ== X-Gm-Message-State: AOAM530g+CMAZ563+kGaYrwyV0KgUwP+SrVfPQC7swHK2OKws19tr/x0 PaZZTk9Bucou3DCkWHIq3xS5enU7xY10t03i X-Received: by 2002:adf:b343:: with SMTP id k3mr16162064wrd.202.1610373742081; Mon, 11 Jan 2021 06:02:22 -0800 (PST) Received: from ?IPv6:2a01:e35:2ec0:82b0:7474:6cdc:8087:ca98? ([2a01:e35:2ec0:82b0:7474:6cdc:8087:ca98]) by smtp.gmail.com with ESMTPSA id w13sm24263695wrt.52.2021.01.11.06.02.20 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 11 Jan 2021 06:02:21 -0800 (PST) Subject: Re: [PATCH] arm64: dts: meson: add i2c3/rtc nodes and rtc aliases to ODROID-N2 dtsi To: Christian Hewitt , Rob Herring , Mark Rutland , Kevin Hilman , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org References: <20210111135831.2218-1-christianshewitt@gmail.com> From: Neil Armstrong Autocrypt: addr=narmstrong@baylibre.com; prefer-encrypt=mutual; keydata= mQENBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAG0KE5laWwgQXJtc3Ryb25nIDxuYXJtc3Ryb25nQGJheWxpYnJlLmNvbT6JATsEEwEKACUC GyMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheABQJXDO2CAhkBAAoJEBaat7Gkz/iubGIH/iyk RqvgB62oKOFlgOTYCMkYpm2aAOZZLf6VKHKc7Do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QIztUp0WFTdRGgMK0cZB3Xfe6sOp24PQTHAKGtjTHNP/THomkH24Fum9K3iM /4Wh4V2eqGEgpdeSp5K+LdaNyNgaqzMOtt4HYk86LYLSHfFXywdlbGrY9+TqiJ+ZVW4trmui NIJCOku8SYansq34QzYM0x3UFRwff+45zNBEVzctSnremg1mVgrzOfXU8rt+4N1b2MxorPF8 619aCwVP7U16qNSBaqiAJr4e5SNEnoAq18+1Gp8QsFG0ARY8xp+qaKBByWES7lRi3QbqAKZf yOHS6gmYo9gBmuAhc65/VtHMJtxwjpUeN4Bcs9HUpDMDVHdfeRa73wM+wY5potfQ5zkSp0Jp bxnv/cRBH6+c43stTffprd//4Hgz+nJcCgZKtCYIAPkUxABC85ID2CidzbraErVACmRoizhT KR2OiqSLW2x4xdmSiFNcIWkWJB6Qdri0Fzs2dHe8etD1HYaht1ZhZ810s7QOL7JwypO8dscN KTEkyoTGn6cWj0CX+PeP4xp8AR8ot4d0BhtUY34UPzjE1/xyrQFAdnLd0PP4wXxdIUuRs0+n WLY9Aou/vC1LAdlaGsoTVzJ2gX4fkKQIWhX0WVk41BSFeDKQ3RQ2pnuzwedLO94Bf6X0G48O VsbXrP9BZ6snXyHfebPnno/te5XRqZTL9aJOytB/1iUna+1MAwBxGFPvqeEUUyT+gx1l3Acl ZaTUOEkgIor5losDrePdPgE= Organization: Baylibre Message-ID: Date: Mon, 11 Jan 2021 15:02:20 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20210111135831.2218-1-christianshewitt@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/01/2021 14:58, Christian Hewitt wrote: > Enable the onboard pcf8563 rtc hardware on ODROID N2/N2+ boards via the > common dtsi. Also add aliases to ensure vrtc does not claim /dev/rtc0. > > Signed-off-by: Christian Hewitt > --- > .../boot/dts/amlogic/meson-g12b-odroid-n2.dtsi | 14 ++++++++++++++ > 1 file changed, 14 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi > index 39a09661c5f6..b78be3e6974d 100644 > --- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi > +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dtsi > @@ -13,6 +13,8 @@ > aliases { > serial0 = &uart_AO; > ethernet0 = ðmac; > + rtc0 = &rtc; > + rtc1 = &vrtc; > }; > > dioo2133: audio-amplifier-0 { > @@ -478,6 +480,18 @@ > linux,rc-map-name = "rc-odroid"; > }; > > +&i2c3 { > + status = "okay"; > + pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>; > + pinctrl-names = "default"; > + > + rtc: rtc@51 { > + compatible = "nxp,pcf8563"; > + reg = <0x51>; > + wakeup-source; > + }; > +}; > + > &pwm_ab { > pinctrl-0 = <&pwm_a_e_pins>; > pinctrl-names = "default"; > Reviewed-by: Neil Armstrong