From patchwork Wed Mar 22 20:45:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Helmut Klein X-Patchwork-Id: 9640035 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 28EF260327 for ; Wed, 22 Mar 2017 20:46:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1A26927D45 for ; Wed, 22 Mar 2017 20:46:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0EDBD28461; Wed, 22 Mar 2017 20:46:15 +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 CCBEA27D45 for ; Wed, 22 Mar 2017 20:46:14 +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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Date:Message-ID:Subject:From:To: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=eD7w434F/NIceN0d3S8NPofPgME9LRSQRosgfQZzW1o=; b=urx1xm1MzN2qTD TC4Jf9nHHiaXWCrQd3+pyvYVvd9L2bf0O3/Wnta7ek9BPj52lCpHdGrULkZlD9w9eIkB+c3JoYQIZ t+By1UT/Dsiz+AdA4yTk4N+4PtPYWKgukBqswE/uvHwZIlash+JLGVi+k6RcdP1hmthjACR/efdmk KsSfo/pKdVRhpK9JF7nb3H5pCf5MOpxr2/8sY2a2hYoj2H36IjeqbOfPvcFz3dhubDsR4/01fCxjg Ulnmg516fR0/+Vk4At/f1Sa4Cl0ooU7D6XmmtsrZFEeoEcka6R3KmzozzGbgaPzi/Knd+ZQ1L3NhN BqYx2jdCcMeFiCb+cQPw==; 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 1cqn8z-0006rD-8Y; Wed, 22 Mar 2017 20:46:09 +0000 Received: from mail-wr0-x234.google.com ([2a00:1450:400c:c0c::234]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cqn8v-0006WW-EQ for linux-amlogic@lists.infradead.org; Wed, 22 Mar 2017 20:46:07 +0000 Received: by mail-wr0-x234.google.com with SMTP id u108so135615153wrb.3 for ; Wed, 22 Mar 2017 13:45:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=547kqdudHo16mzUH4oqHAg872uqWDiKdMVhcAOvgmpQ=; b=A+GtHjTj0ODZ4c2noG95AjwpY4rBHOUjEatNuUWTVfiIICzM0EUP2sw+80FSUsyQ2p ZCLSjNufiPI/gJZmImUHkCQ/tQgOf8OBoPrnGeehWXU+KQdv701Bv6XkYM067Z92pYvL ETPG064yHqHF9pf03/QksLTO26TCCJ7cLzy+2Do1ZIb6AlUdNl0cZcAAG8Q7iwxenO0L xXrJMfC1oRUUqc8XtVRDpyBkWos3pRdzRlNllPExlUWL+859VggJy0kqaTEVz+Xsu4W4 KwloVY6FtcqNlQ355Q4AoZfAtAA/H+CKkbFskZzrz/fSaN2+jr9gt3uIRzVswj+sn57r m4iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=547kqdudHo16mzUH4oqHAg872uqWDiKdMVhcAOvgmpQ=; b=N1AjorK0WlEKI3y7v2UC2g3aWwDswc9DN0JZHGcqsA9lgMiJvPedV3hc16pUSXdjW1 coKJTbSYbxQKVfLjmY4JwMoPND3cJXEEoTfgSOrDjMcctEkU4nV4r7JJEnzXFDvkxd1H nuHRvLKTq9CVXF1/3mwEUyQO3AtCPLewgmKHYF5pFEuuljlA01xrdnJ8dUDcZTf1wv8I zh/xS/Q1IyGi7tx4BSwn2VXCt4N1avHH98TZNC07R04SI6SiJyv5Qd3/p26jSuspNbeS a4OddhFDvsohhonziEc8WpjYzTm4FPsX6eZIaCDttJ6cTf6+dIthE7vmHgLrZwdaCII9 fNpQ== X-Gm-Message-State: AFeK/H0Z4JXeRCj7S0mXF72sxpzKln6HYLEOAu535Qz13mE1HElYVRa653qO+YWUrLbuRw== X-Received: by 10.223.145.97 with SMTP id j88mr36882942wrj.178.1490215543397; Wed, 22 Mar 2017 13:45:43 -0700 (PDT) Received: from [192.168.178.48] (x4d04c3e2.dyn.telefonica.de. [77.4.195.226]) by smtp.gmail.com with ESMTPSA id 191sm1618294wmv.25.2017.03.22.13.45.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Mar 2017 13:45:43 -0700 (PDT) To: linux-amlogic@lists.infradead.org From: Helmut Klein Subject: [PATCH 1/4] meson_uart: expose CLKID_UART0 Message-ID: <8bfedbda-5429-400f-c77b-a9bdb793fdaf@gmail.com> Date: Wed, 22 Mar 2017 21:45:42 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170322_134605_647459_E06C5885 X-CRM114-Status: UNSURE ( 6.16 ) 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: , Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP this patch exposes the CLKID_UART0 to dt-bindings diff -Napur a/include/dt-bindings/clock/gxbb-clkc.h b/include/dt-bindings/clock/gxbb-clkc.h --- a/include/dt-bindings/clock/gxbb-clkc.h 2017-03-09 21:09:50.000000000 +0100 +++ b/include/dt-bindings/clock/gxbb-clkc.h 2017-03-22 19:04:32.220233526 +0100 @@ -15,6 +15,7 @@ #define CLKID_SPI 34 #define CLKID_I2C 22 #define CLKID_SAR_ADC 23 +#define CLKID_UART0 26 #define CLKID_ETH 36 #define CLKID_USB0 50 #define CLKID_USB1 51 diff -Napur a/drivers/clk/meson/gxbb.h b/drivers/clk/meson/gxbb.h --- a/drivers/clk/meson/gxbb.h 2017-03-09 21:09:41.000000000 +0100 +++ b/drivers/clk/meson/gxbb.h 2017-03-22 19:05:32.120151735 +0100 @@ -194,7 +194,7 @@ /* #define CLKID_SAR_ADC */ #define CLKID_SMART_CARD 24 #define CLKID_RNG0 25 -#define CLKID_UART0 26 +/* CLKID_UART0 */ #define CLKID_SDHC 27 #define CLKID_STREAM 28 #define CLKID_ASYNC_FIFO 29