From patchwork Sun Jun 11 10:16:32 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 9780117 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8968D6031B for ; Sun, 11 Jun 2017 10:18:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7856C2858C for ; Sun, 11 Jun 2017 10:18:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6D03028590; Sun, 11 Jun 2017 10:18:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 18C37285A4 for ; Sun, 11 Jun 2017 10:18:41 +0000 (UTC) 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=0A4wDEoIZK9Bv7HhNo6RdbVRg1HbSi+sYlx9I9CXa50=; b=Mur+4AIXkcrQQkMANj347c9aYV m7fUclMRXpSUpLQsq+UMfRerp28m6hTTBz8qcTGBCU8BOXuXXbUTk4HtX0KN646ggs7VeYnjWTmfR KLRkXX9k9UVXvHc2YDCPhS5gUNmSZZ06T+awlG6PUswh9MEFKsefOZePlBFpbkV0wOBdkcsviiauU vQN2TNCKCXMLsfpVExSnJdk3p1U5R1oU6YOF2Q3gypxLnxVAzTctFZkxqZKfJqFcREjbQ61bs+qft vtN/h+sELLx4BTxrNGeP891pT24b0bxBAftiKUyYBVLeA8RdkTITbQhPC91plKOiH+vUfR5vZ7gyh ZW8OudzQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dJzx5-0005Y9-EA; Sun, 11 Jun 2017 10:18:35 +0000 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dJzwz-0005Qx-QQ for linux-amlogic@lists.infradead.org; Sun, 11 Jun 2017 10:18:33 +0000 Received: by mail-wr0-x241.google.com with SMTP id u101so15844476wrc.1 for ; Sun, 11 Jun 2017 03:18:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=DYNBUKpOuLTqn/sspQ5mLyqndrqW/sfepiEf/gDWcjc=; b=etFCAmDAPvAPgwKm25YQO+/SESeW534f4UCgBvaUbCgmDXwpjc51NJ8BL68MNgN0nL dM2alfDu+JWbjvYKnCieKl50LDCebXTfs6/bxZFCpXJr6R8dA+DD6QPRHJxSzAiL7DLU vSkeHNNBqL7QZ429Py7V9ftddLpHM9/Am3vZMkklE4qNkbpGUWqRpMvvOHTYY82Af6S9 zQUBHSqWR7ihT7tGG925WoRo3JEJ2bZjimRc2tna/2jpgLs3ErSEqhEdr4fGnyo+Slrl 8LXqeN2OnbytdY0/ygEiibr/pp37uBvG7RtZopcWVK4rYnSWcUtQ3MvTI/tvJys3c9/b uWYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=DYNBUKpOuLTqn/sspQ5mLyqndrqW/sfepiEf/gDWcjc=; b=rH0D4AyzqOxukIFXgjo88t/rl9V7Z7avS6hCQ5u1xJ2H30La1WkCZupwv5bjsmgSFR R8ZlZlnXMh6Pswj2F6RYAlVNwuxIlNl1CYMHAHKYt/dOA4NEj+WIOlmHxCQsWtFeQh7x tXerMK3rI6I8GKTAcvD+1pmvbbnsV3w3a5ik82eyA5XpxJwn7BdZmOhuTjfqM7uYu/rS dWdRdQr1LLwhqfk3W8oL/mKBF8uHlQrmcHg9LBqEG5Nm7681+/1hhdinbYg4ZTVBUq82 FdXZuXL3f6xMxKrISqZ+CgLBnRLqPW7EtLK1iVD5ZQ3Sff9/7iCsuz8vzHjluUdSMc86 mH9g== X-Gm-Message-State: AODbwcBbrrcRl2mqiOBVzS/CrJ8wvjHleIXBbz29iNx0qeAFovLrlFv8 4lk27QraK6zoaz60M5M= X-Received: by 10.223.173.38 with SMTP id p35mr4579010wrc.88.1497176289061; Sun, 11 Jun 2017 03:18:09 -0700 (PDT) Received: from blackbox.darklights.net (p200300DCD3D2E004C1F3DE25BB39BC3B.dip0.t-ipconnect.de. [2003:dc:d3d2:e004:c1f3:de25:bb39:bc3b]) by smtp.googlemail.com with ESMTPSA id k56sm6909872wrk.45.2017.06.11.03.18.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Jun 2017 03:18:08 -0700 (PDT) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, jbrunet@baylibre.com, narmstrong@baylibre.com, khilman@baylibre.com, carlo@caione.org Subject: [PATCH 01/13] clk: meson8b: export the SAR ADC clocks Date: Sun, 11 Jun 2017 12:16:32 +0200 Message-Id: <20170611101644.28581-2-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170611101644.28581-1-martin.blumenstingl@googlemail.com> References: <20170611101644.28581-1-martin.blumenstingl@googlemail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170611_031830_091114_01F04F9D X-CRM114-Status: UNSURE ( 8.36 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Martin Blumenstingl , devicetree@vger.kernel.org, mturquette@baylibre.com, linux@armlinux.org.uk MIME-Version: 1.0 Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Export the clocks for the SAR ADC so they can be used in the dt-bindings. Signed-off-by: Martin Blumenstingl Acked-by: Neil Armstrong --- drivers/clk/meson/meson8b.h | 4 ++-- include/dt-bindings/clock/meson8b-clkc.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/clk/meson/meson8b.h b/drivers/clk/meson/meson8b.h index 3881defc8644..5447d4a5c9ba 100644 --- a/drivers/clk/meson/meson8b.h +++ b/drivers/clk/meson/meson8b.h @@ -87,7 +87,7 @@ #define CLKID_PERIPHS 20 #define CLKID_SPICC 21 #define CLKID_I2C 22 -#define CLKID_SAR_ADC 23 +/* #define CLKID_SAR_ADC */ #define CLKID_SMART_CARD 24 #define CLKID_RNG0 25 #define CLKID_UART0 26 @@ -133,7 +133,7 @@ #define CLKID_MMC_PCLK 66 #define CLKID_DVIN 67 #define CLKID_UART2 68 -#define CLKID_SANA 69 +/* #define CLKID_SANA */ #define CLKID_VPU_INTR 70 #define CLKID_SEC_AHB_AHB3_BRIDGE 71 #define CLKID_CLK81_A9 72 diff --git a/include/dt-bindings/clock/meson8b-clkc.h b/include/dt-bindings/clock/meson8b-clkc.h index a55ff8c9b30f..1c7f090da440 100644 --- a/include/dt-bindings/clock/meson8b-clkc.h +++ b/include/dt-bindings/clock/meson8b-clkc.h @@ -21,5 +21,7 @@ #define CLKID_ZERO 13 #define CLKID_MPEG_SEL 14 #define CLKID_MPEG_DIV 15 +#define CLKID_SAR_ADC 23 +#define CLKID_SANA 69 #endif /* __MESON8B_CLKC_H */