From patchwork Wed Jun 15 10:27:43 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 635811 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from mail-yw0-x23e.google.com (mail-yw0-x23e.google.com [IPv6:2607:f8b0:4002:c05::23e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rV2lf71bXz9t1l for ; Wed, 15 Jun 2016 20:27:58 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.b=uB9hS689; dkim-atps=neutral Received: by mail-yw0-x23e.google.com with SMTP id p73sf5657501ywe.0 for ; Wed, 15 Jun 2016 03:27:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=sender:mime-version:from:to:cc:subject:date:message-id:in-reply-to :references:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:x-spam-checked-in-group :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=xmOFnc5lScJ8U5ntV5hrLe9JzAPPSehy863fJIC9sJQ=; b=uB9hS689qNQnL15g6MxKhXhxY3fnS5dMQLNnIIbAT76wJrGNiydD5bRelPwlyZdK7m AJxvqjIzZq/HxeJY2ZD/eMyvDOaHgViLoLLbr8FXL6IbaBxTDER+FqSs4cw6zbZMpzNl PRDgT737cBo47G7JAuecSdQ7jeZ7gH1qZbuJZem7v/kBBAo3UocIvvahQiGG1FtLrNUB o3CtEglmHUFKblYLMEh3BEFHZF8g9DR9xNkpm4iweCdqAOSkjEWOBn4EmcWZYZKxFZA/ YWLxqoXfXkY2aVdKMyJDcsy6vTFTmohkfu2+T9+ohVzKuYkVHLP5S7GsCsMtINSpsJZg PSnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=sender:x-gm-message-state:mime-version:from:to:cc:subject:date :message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=xmOFnc5lScJ8U5ntV5hrLe9JzAPPSehy863fJIC9sJQ=; b=aQ59U0hgOKwCe5aBrr3j9tpJG9uQnXXlUFDeOkgXCe8ZNQ/VVPR+tyhe9ljhuIs8yn 82Z5QUi2rsi0OFn2Ya7fFl/Qtab4UsbVzIwL4t0JcJjsQMC92vt2LERE+WroBH8wAtq8 LiID+uUnUxFiuVMlO2T+lTHhJU9Bw7G1QuhCbKn+e0FLKmc0lJtKwNfC0PmBQt4iu3Bh BKIH/FdpmgmLAoPOVhr5ZOMOUXt08y/H9qrHnYH/Ya044JjUX9ZTQMG5FlKvR0oVB6gP I6d4H77IhJyvG/QyvU0Yv+4yCdCMZz4X7zVoDCEJ6Pk4AY9iPZ0zEReLNnYPfRQZTtQ7 oTPw== Sender: rtc-linux@googlegroups.com X-Gm-Message-State: ALyK8tLMxm+pxrskZouzBKpsr3wIupzZMtg8Fzx54pePIToFOlmJK8Ov8lYUOE59M0cHUQ== X-Received: by 10.157.8.226 with SMTP id 89mr315252otf.16.1465986476177; Wed, 15 Jun 2016 03:27:56 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: rtc-linux@googlegroups.com Received: by 10.157.63.161 with SMTP id r30ls122938otc.65.gmail; Wed, 15 Jun 2016 03:27:55 -0700 (PDT) X-Received: by 10.157.32.113 with SMTP id n104mr1840432ota.45.1465986475797; Wed, 15 Jun 2016 03:27:55 -0700 (PDT) Received: from wens.csie.org (mirror2.csie.ntu.edu.tw. [140.112.30.76]) by gmr-mx.google.com with ESMTPS id un17si1624699pab.0.2016.06.15.03.27.55 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Jun 2016 03:27:55 -0700 (PDT) Received-SPF: neutral (google.com: 140.112.30.76 is neither permitted nor denied by best guess record for domain of wens@wens.csie.org) client-ip=140.112.30.76; Received: by wens.csie.org (Postfix, from userid 1000) id A1F8D5F9C3; Wed, 15 Jun 2016 18:27:51 +0800 (CST) From: Chen-Yu Tsai To: Mark Brown , Lee Jones , Alessandro Zummo , Alexandre Belloni , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Maxime Ripard , Michael Turquette , Stephen Boyd Cc: Chen-Yu Tsai , rtc-linux@googlegroups.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: [rtc-linux] [PATCH v2 06/10] ARM: dts: sun9i: a80-optimus: Add device node for AC100 Date: Wed, 15 Jun 2016 18:27:43 +0800 Message-Id: <1465986467-14802-7-git-send-email-wens@csie.org> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1465986467-14802-1-git-send-email-wens@csie.org> References: <1465986467-14802-1-git-send-email-wens@csie.org> X-Original-Sender: wens@csie.org X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 140.112.30.76 is neither permitted nor denied by best guess record for domain of wens@wens.csie.org) smtp.mailfrom=wens@wens.csie.org Reply-To: rtc-linux@googlegroups.com Precedence: list Mailing-list: list rtc-linux@googlegroups.com; contact rtc-linux+owners@googlegroups.com List-ID: X-Spam-Checked-In-Group: rtc-linux@googlegroups.com X-Google-Group-Id: 712029733259 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun9i-a80-optimus.dts | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/sun9i-a80-optimus.dts b/arch/arm/boot/dts/sun9i-a80-optimus.dts index 78fddd9152a5..24ef8e65a975 100644 --- a/arch/arm/boot/dts/sun9i-a80-optimus.dts +++ b/arch/arm/boot/dts/sun9i-a80-optimus.dts @@ -322,6 +322,27 @@ }; }; }; + + ac100: codec@e89 { + compatible = "x-powers,ac100"; + reg = <0xe89>; + + ac100_codec: codec { + compatible = "x-powers,ac100-codec"; + interrupt-parent = <&r_pio>; + interrupts = <0 9 IRQ_TYPE_LEVEL_LOW>; /* PL9 */ + }; + + ac100_rtc: rtc { + compatible = "x-powers,ac100-rtc"; + interrupt-parent = <&nmi_intc>; + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; + #clock-cells = <1>; + clock-output-names = "cko1_rtc", + "cko2_rtc", + "cko3_rtc"; + }; + }; }; #include "axp809.dtsi"