From patchwork Wed Oct 10 02:16:35 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 10633851 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0382E112B for ; Wed, 10 Oct 2018 02:16:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E3B0B29DB3 for ; Wed, 10 Oct 2018 02:16:41 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D457629DDD; Wed, 10 Oct 2018 02:16: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=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6302F29DB3 for ; Wed, 10 Oct 2018 02:16:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727284AbeJJJgc (ORCPT ); Wed, 10 Oct 2018 05:36:32 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:54103 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727193AbeJJJgc (ORCPT ); Wed, 10 Oct 2018 05:36:32 -0400 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie3.idc.renesas.com with ESMTP; 10 Oct 2018 11:16:37 +0900 Received: from relmlii1.idc.renesas.com (relmlii1.idc.renesas.com [10.200.68.65]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id E154474C47; Wed, 10 Oct 2018 11:16:36 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.54,362,1534777200"; d="scan'208";a="293131789" Received: from mail-os2jpn01lp0152.outbound.protection.outlook.com (HELO JPN01-OS2-obe.outbound.protection.outlook.com) ([23.103.139.152]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-GCM-SHA384; 10 Oct 2018 11:16:36 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+yFsIHr27uwGUcljfJclW5M0wOWeEepm/kegbwsuMIg=; b=PCaxcJZxVJEF8yGE2kWyR72BO1S0nrpMy7UCGyuw1t6BS9Ug0ewULiLxc5y7RZxBA169ohUkP6sC0YCVXfShPc48B8IJUxRwCtS2yJUev2KLmjQ52fiPUh6RS66WmjGqE84itTSRta2zq4y67zGLfeQk5UyEGGSBZ/9wL4WVPxM= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=kuninori.morimoto.gx@renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.130) by TYXPR01MB1870.jpnprd01.prod.outlook.com (2603:1096:403:b::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.23; Wed, 10 Oct 2018 02:16:35 +0000 Message-ID: <87d0si1rkt.wl-kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 1/2] dt-bindings: clock: add description of 74aup1g157gw User-Agent: Wanderlust/2.15.9 Emacs/24.5 Mule/6.0 MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") To: Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <87efcy1rm4.wl-kuninori.morimoto.gx@renesas.com> References: <87efcy1rm4.wl-kuninori.morimoto.gx@renesas.com> Date: Wed, 10 Oct 2018 02:16:35 +0000 X-Originating-IP: [211.11.155.130] X-ClientProxiedBy: KAXPR01CA0047.jpnprd01.prod.outlook.com (2603:1096:402:1a::33) To TYXPR01MB1870.jpnprd01.prod.outlook.com (2603:1096:403:b::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d5fa4604-e76e-456c-b436-08d62e566721 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:TYXPR01MB1870; X-Microsoft-Exchange-Diagnostics: 1;TYXPR01MB1870;3:LwBjoxJwubJyBq2eri4fFkeOnO9/xoMb3SQMr8mjGzxjvNn1IkfbZM4PZTfKOCysCmAI5d7HUb9X/CRwew0vYIHvVc2m9TT0kMyrdTInuC8+0YPmIME1lkmyO8WUfzl7pAnBvjDTGr5Krhvh82faf973py09eYSTL8CR/Fc5TAoMf9crozlep1k5j618XyNiHQlnXuIeVU2McgGwP7ZsxaJ1og6hsjs5DzsvYwCczpn9YN5xYzSb7iasu/sAVYzi;25:HwH8K+Ef4pCXVXoaax/W6HkIooAj+PGXXvDc/926kWajqVZkoW1HsLAWhFN5mHCeTdjVjW/CGbewsRILQdjJ2kNPwK91RXubwkdAqd1vfu0cK7PbXlMcjd0FG+8vKYgORJU7XIGI7uTE4d4pj1exJN0mhC1E9qojjlHH16h95JRpr88Jc+6MtDq0xp+lfvlycZXyIyPfcLbaXKqQ34R4jd14tdYBBkh+ufjGmaSUMHqyQw4cF9eeujSuQtGF+1U6uJuzv9UQZEpg+WjzZhROCuhsX/C93JY31sHaLf1gMuG/9grgdOnGOMWSO0zjpl+E0ly38+2l0LRhx/ugsf3X5g==;31:0B5en2G26sroy34CTVxBT1ysUqfktQ/7KynNYHhFDhxh3Fg8cYECl5l6adjZiVSf1Nbq8qKiuzkqRHUe9cS9dlC4WLwHyCXz4vlrYWHXq9DLVSm+auWY2Jxkclw36zaemFHHwj2uDvzjPTgyzVTwUKaz+zxGetKsZX2uwje1PTmGKQtBg0IW+W3Xes/qNuMl9+amVx+VrfOpRm5GspNW8BLMMovVomDmS+BXNID6+bE= X-MS-TrafficTypeDiagnostic: TYXPR01MB1870: X-Microsoft-Exchange-Diagnostics: 1;TYXPR01MB1870;20:QncC290J9I1CZZjXLDG/Y3bw3hjgBycv41kMrwK4GpEMTvI/A3tFrYLPxwXEnZrEWl0zPugyRuFxHUj10Sl1dCcj6OMUc8AO46xmw+YnkvTQwKe3INod551ove7II3Bz4vl0xjmNgbZwhP7SHNMpowspgYXz3A+jU9Q6equn6q7gUxrzs+6VAC5uBMiBrmdFVYEtcmN5Y8x6C3xczzjRFAFHz52X2oHptSidtdu/PiGrNVlNqvIz7t+h3/csm3trFWYs9YoVWqGbmV2YCunWZSxZ1LYFnhBMUuWwv16C2HaS2OGDH8sJsne2YRBL5XCAa5fJY/oBDumiIvVSj6/80c0QgTIPWSrjZ5i4tPALU7y5eTriUJoYjWB7LsTZGbAU3C3WM8C/eXXslubTPXV36GHv7t9oCHfjNKL61rxQ6VZnYLmounVLJjUNju+/ItaZ0wjPRONx3mxCktNdL2aCIjdKxoYAFh8+i9jtEZK2rpls0hiSsrXjMFrU4Ie76ZII;4:TOjj8+5pEt+SFar6JTUiskU6fBl9yzKLCv98QvNVUkM54jD600XlW/L3y7f36NR6n2/vmCEaTafXIYlBiff3A0JdrZE+TviORk52egFQQCNaQY/TebP7rRp9hOyGDMAJI1aZKDJNCf2/gC/VuhqyOoADaDS4csSfazqyltyFVw9bOucRGFu1Ilr2BO1hWdJb/WjJJIgzRTlsiqAu5cz0CsGCIB17SMtB91pX3AST157u05JxDWFGZG9HgnEdU9P7+pwco/7BitwILdOgiGXU9w== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(93006095)(93001095)(10201501046)(3231355)(944501410)(52105095)(3002001)(6055026)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(201708071742011)(7699051);SRVR:TYXPR01MB1870;BCL:0;PCL:0;RULEID:;SRVR:TYXPR01MB1870; X-Forefront-PRVS: 08213D42D3 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10019020)(366004)(376002)(39860400002)(346002)(136003)(396003)(189003)(199004)(53936002)(86362001)(4326008)(8676002)(81156014)(58126008)(69596002)(81166006)(68736007)(110136005)(53416004)(386003)(66066001)(105586002)(7696005)(47776003)(52116002)(106356001)(76176011)(16526019)(6486002)(2906002)(8936002)(3846002)(6116002)(7736002)(23726003)(26005)(186003)(305945005)(486006)(476003)(16586007)(36756003)(50466002)(97736004)(25786009)(2616005)(446003)(316002)(11346002)(478600001)(956004)(5660300001)(16060500001);DIR:OUT;SFP:1102;SCL:1;SRVR:TYXPR01MB1870;H:morimoto-PC.renesas.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; Received-SPF: None (protection.outlook.com: renesas.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: 1;TYXPR01MB1870;23:aIFWfRvwWL20wyXqFve935PrnZXZuqA34T3GTCjX9addPzPWWR8USjGPBCdHvatjbSUrA7Jyz09taXit8LaC2NPTTZ3XKhNZNSGDBDWqP6Fh4lIplUDRLgGXLn9FViDTXjU/DJvBbghvW2kYR1s9lGKnTKMv4vnAmrp746CNrKHecvaTKptjHmuMBHQeTmkGOh5FNDHjN4s0SxUuTt7SIgZtYFuAiR02I0CQ9Okin8a40v02pLx8rFcHrWvRQEjKWSCtkpuSi+FUIIPwcjoquT4aFC6F7cslO9IMlk36Dz/vym3zvbBrrXXWHuF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ft7CgPLvOMLLOvI+iQzRxx9ReYF5f7BJrsCrisB5N14mg9gObQ4 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;TYXPR01MB1870;20:e0fktDWdF50qNhBIcjS+dYvE8/KRCRh7seb8iL+rDIqMLB1Ku2DsFrqiGjlc/R2+xrtMMXzMtXsj/6TnEOaFflYeJm6eywqf6Xk8lVg+hmnf+noj2DulAjlOduwdmGdykN5NARgPB7l43dFDRVbgsKLwLj+DpJmJoCMF59cb0tk= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2018 02:16:35.0460 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d5fa4604-e76e-456c-b436-08d62e566721 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYXPR01MB1870 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kuninori Morimoto 74aup1g157gw needs i0 and i1 pin as input, select and output it by sel gpio pin. This patch adds description for 74aup1g157gw as clock multiplexer. "nxp,74aup1g157gw-clk" will select most closest input as output, "nxp,74aup1g157gw-audio-clk" will select 48kHz/44.1kHz categorized input as output. Signed-off-by: Kuninori Morimoto --- .../devicetree/bindings/clock/nxp,74aup1g157gw.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Documentation/devicetree/bindings/clock/nxp,74aup1g157gw.txt diff --git a/Documentation/devicetree/bindings/clock/nxp,74aup1g157gw.txt b/Documentation/devicetree/bindings/clock/nxp,74aup1g157gw.txt new file mode 100644 index 0000000..d07bc04 --- /dev/null +++ b/Documentation/devicetree/bindings/clock/nxp,74aup1g157gw.txt @@ -0,0 +1,19 @@ +NXP 74AUP1G157GW Low-power 2-input multiplexer for clock + +Required properties: +- compatible: "nxp,74aup1g157gw-clk" (select closest input as output) + "nxp,74aup1g157gw-audio-clk (select 48kHz / 44.1kHz as output) +- clocks: select input clock as i0, i1 +- clock-names: "i0" and "i1" +- sel-gpios: selector pin + +Examples: + + clk { + #clock-cells = <0>; + compatible = "nxp,74aup1g157gw-audio-clk"; + clocks = <&clk8snd>, <&clksnd>; + clock-names = "i0", "i1"; + sel-gpios = <&gpio_exp_75 13 GPIO_ACTIVE_HIGH>; + }; +