From patchwork Wed Feb 26 05:13:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ran Bi X-Patchwork-Id: 11405241 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 95CC292A for ; Wed, 26 Feb 2020 05:24:00 +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 5F7F821927 for ; Wed, 26 Feb 2020 05:24:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="iD1DjRgS"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="e7tZR/Qj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5F7F821927 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+patchwork-linux-mediatek=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=XMiSKK4TDtWqY5h3Rb/+BMaCDmM+WGswynRqCuarJmw=; b=iD1DjRgSIlcqh/ ZIdR8c1gvyC4BT6+8fcmJBRuIAIq/4eIQPXh9DK7f06OtXKjwLzPQrXpKbB2HVUtGGqJlIPb7OPZZ JhWsgE/LdueWkWWZlkxX4odInYTzHe4sUW2P9OYLQUQUsKA5ahPW9qZa8HTomxHhu7DXf4llGsaoP SxkXCZeNRfU6u3vf7qH+FaxsSmg45a1DNZqRQxoEBIwG0B+0mh/VtqSuwg/3MrHCllZGRwxtkFWkL EulV5B8QBPKbvyba4PbyeV5XvAlwa/dM8QbJ+2zo3q1QkT7wlBklT81ltGG/idCmfZGKm3qBTT4MU 9CB1rWHi4DpOSNpa60qA==; 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 1j6pAs-00075S-Ru; Wed, 26 Feb 2020 05:23:58 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1j6pAN-0006bb-Vy; Wed, 26 Feb 2020 05:23:29 +0000 X-UUID: edf67dfc7e81467ba561c059b742d17f-20200225 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=zQlE2usdlA26fIgGZ8VA3Rg8HgO4JQf85Qybm0aGcvc=; b=e7tZR/QjDjTtgojiuVJXKpeGL0kAaGs4evsflV7JvFbloMEbQGYDw7nwA6RUoGzvOHZPX12fiWby26+VWva++jEb6k87ucT4OvVTeIp/IrN/iGmo+O8oPOndwQdz3qrjqk/NJQNNIu+5FuykR9Pqaki9Oe8YNyKeOCPVM1P9cyI=; X-UUID: edf67dfc7e81467ba561c059b742d17f-20200225 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 1329655461; Tue, 25 Feb 2020 21:23:26 -0800 Received: from MTKMBS02N1.mediatek.inc (172.21.101.77) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 25 Feb 2020 21:13:23 -0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 26 Feb 2020 13:11:24 +0800 Received: from localhost.localdomain (10.17.3.153) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 26 Feb 2020 13:13:24 +0800 From: Ran Bi To: Alexandre Belloni , Rob Herring , Matthias Brugger Subject: [PATCH v3 1/4] bindings: rtc: add bindings for MT2712 RTC Date: Wed, 26 Feb 2020 13:13:00 +0800 Message-ID: <20200226051303.22560-2-ran.bi@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20200226051303.22560-1-ran.bi@mediatek.com> References: <20200226051303.22560-1-ran.bi@mediatek.com> MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200225_212328_033888_444C1AB7 X-CRM114-Status: GOOD ( 10.75 ) 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 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [216.200.240.184 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 MIME_BASE64_TEXT RAW: Message text disguised using base64 encoding 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -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 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Alessandro Zummo , Flora Fu , srv_heupstream@mediatek.com, devicetree@vger.kernel.org, Ran Bi , Greg Kroah-Hartman , Linus Walleij , Sean Wang , Nicolas Ferre , linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, Jonathan Cameron , Mauro Carvalho Chehab , Yingjoe Chen , Eddie Huang , "David S . Miller" , linux-arm-kernel@lists.infradead.org, linux-rtc@vger.kernel.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org Document the binding for MT2712 RTC implemented by rtc-mt2712. Reviewed-by: Rob Herring Signed-off-by: Ran Bi --- .../devicetree/bindings/rtc/rtc-mt2712.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/rtc-mt2712.txt diff --git a/Documentation/devicetree/bindings/rtc/rtc-mt2712.txt b/Documentation/devicetree/bindings/rtc/rtc-mt2712.txt new file mode 100644 index 000000000000..c33d87e5e753 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/rtc-mt2712.txt @@ -0,0 +1,14 @@ +Device-Tree bindings for MediaTek SoC based RTC + +Required properties: +- compatible : Should be "mediatek,mt2712-rtc" : for MT2712 SoC +- reg : Specifies base physical address and size of the registers; +- interrupts : Should contain the interrupt for RTC alarm; + +Example: + +rtc: rtc@10011000 { + compatible = "mediatek,mt2712-rtc"; + reg = <0 0x10011000 0 0x1000>; + interrupts = ; +};