From patchwork Fri Jun 7 19:43:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 166189 Delivered-To: patch@linaro.org Received: by 2002:a92:9e1a:0:0:0:0:0 with SMTP id q26csp1053992ili; Fri, 7 Jun 2019 12:43:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqwOXA0XITkwGnaGg7w0f3Z0/Kkjuko8rnsBQ5VNHgbgqhlgHclaJXSEss8yuwdSd9Pg5X6T X-Received: by 2002:a65:50cb:: with SMTP id s11mr4520597pgp.371.1559936625299; Fri, 07 Jun 2019 12:43:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559936625; cv=none; d=google.com; s=arc-20160816; b=HwYJ7to1KPgvqKWqyCcUH51ljd5pgWNOsf2608pv89tHfFqRTH/4+rQzTVyHdwpgTt ffebPxDE6Z3eaZvdiTtDy1fQI37BGufzQ8byfpvobiC/R6EmIdO9pMLC3W0OioKyiQFb 7AYMl7GgPrm9BgsCqR9Kd2oxp0Uhguodjeypqzjs13pVELhjGJvveboq/IKm1UIKQhHR yYDIiTN4e/TH2VlXSAcoEAt/6QPDkYyEJ78uD3QW2+D5GmK/GXKu5FttcH7pIiEEcfye BcPHbxHWvCq+cSDRSAmT+2SmGo2iE5MiEjL2dx7l8BE9gd6UOqXfy3ZPKGwY4hkEsgkd Ou4w== 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=IXeFoug5LmsRz1pszEsGX8nCQtdRBU07TuulEF/IOco=; b=PdTJConPcLX5Gc71JBGd84Y3BCo91h9ROliLziu8pQXSKJ4opXr49ofF3cF3NwtZz5 5cKHY0sTw0UVFOeR2zKfze9J1+WHPU8Hherh54jqtiv2KguP9hg9ReC75HvG3+dOAARa hBRrOJ1Yy1LHPtf9bR+n3kG0w8G9JLX6c6Lr7MpKLY4hQJMZC22KHUEx2wgVV0aZb09+ AEReR7E3skMMMrQV0/sH/YaRQxYMxptLQPLhoat0B19vwpYumu1Sze3ztSL3+lWmVH4K f3y2kw38lkfolKcR8yUUoGNXNMJlWpxOtAqIVct/MXJQDKZeHD6OflXZae04W+1BnJSc G1/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0oUCfe4A; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q21si2671764pgi.357.2019.06.07.12.43.44; Fri, 07 Jun 2019 12:43:45 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=@kernel.org header.s=default header.b=0oUCfe4A; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729796AbfFGTno (ORCPT + 8 others); Fri, 7 Jun 2019 15:43:44 -0400 Received: from mail.kernel.org ([198.145.29.99]:52850 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729482AbfFGTno (ORCPT ); Fri, 7 Jun 2019 15:43:44 -0400 Received: from localhost (c-71-197-186-152.hsd1.wa.comcast.net [71.197.186.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id ACD9720868; Fri, 7 Jun 2019 19:43:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1559936623; bh=tFAX1TrUh+zWhm4cmBHIYK3G5smuy2djcrTGV59Ksuw=; h=From:To:Cc:Subject:Date:From; b=0oUCfe4AFMgIqpLhsK2SHdwXSoWkt+P20/GrYCplr6QfJXa76J7i7SRSkPx2TloI3 epYMnraxb41OXVZvSeBI71eWnQWkNU/VlY0qfL2tTCNmFOX2EkIT+SS6RFNmF7ui3p cbaYb85XTpJX3G1h3pDJN5LREahcfvbK12lP7dns= From: Kevin Hilman To: linux-rtc@vger.kernel.org, Alexandre Belloni Cc: linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Kevin Hilman Subject: [PATCH 1/2] dt-bindings: rtc: new binding for Amlogic VRTC Date: Fri, 7 Jun 2019 12:43:42 -0700 Message-Id: <20190607194343.18359-1-khilman@kernel.org> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Kevin Hilman Add binding fo the new VRTC driver for Amlogic SoCs. The 64-bit family of SoCs only has an RTC managed by firmware, and this VRTC driver provides the simple, one-register firmware interface. Signed-off-by: Kevin Hilman --- .../devicetree/bindings/rtc/rtc-meson-vrtc.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/rtc/rtc-meson-vrtc.txt -- 2.21.0 Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/rtc/rtc-meson-vrtc.txt b/Documentation/devicetree/bindings/rtc/rtc-meson-vrtc.txt new file mode 100644 index 000000000000..f02886179788 --- /dev/null +++ b/Documentation/devicetree/bindings/rtc/rtc-meson-vrtc.txt @@ -0,0 +1,16 @@ +* Amlogic Virtual RTC (VRTC) + +This is a Linux interface to an RTC managed by firmware, hence it's +virtual from a Linux perspective. The interface is 1 register where +an alarm time is to be written. + +Required properties: +- compatible: should be "amlogic,meson-vrtc" +- reg: physical address for the alarm register + +Example: + + vrtc: rtc@0a8 { + compatible = "amlogic,meson-vrtc"; + reg = <0x0 0x000a8 0x0 0x4>; + };