From patchwork Sat Mar 18 07:53:39 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yinbo Zhu X-Patchwork-Id: 71561 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp178879wrt; Sat, 18 Mar 2023 00:57:18 -0700 (PDT) X-Google-Smtp-Source: AK7set+QezVfMZmRd8DtonuWLhpKXI2aN2aFQzn/DNULF2RrW2KeCVt2N5tndqm5C+f+y6P2Xm2R X-Received: by 2002:a05:6a21:329f:b0:d5:58df:fbaa with SMTP id yt31-20020a056a21329f00b000d558dffbaamr13566096pzb.12.1679126237670; Sat, 18 Mar 2023 00:57:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679126237; cv=none; d=google.com; s=arc-20160816; b=0gZ0Gk6lNmMbpOccGqYzjugtY4bDloBuLJvERh8lQo+LTPhV6WbLD7dsjvRprFFFrq vZFldJIzqCh6rw7sEDbz412m77SQWBxavvH2jKm+CaPeJSei5ulG8Dd3maSCCSBqD8u0 NiOmZi1VoN/QKUGnEMOzMmHVmJRrN5s1GENnMbKVy60py5DC+2/sA+ZFzKobSjiC/v1T jT9teGPwYDeHGAW93UB45ZUwk/6MVJxjzgmK1PKEFnO2oWGmJCHw5cX12jsa3abllmH1 0Qs6qBFIk7jmYZHNekHat+1SZTb4diHimki2JGzh5t6jaRuRy/GgRzmLimQESx7AF8Kd ineA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=EsZfztiKI6bjB09hUADdPnPBkpPKKXf+UrilRNNc3wg=; b=v4xlZBQsjTnUDjfg5iML7Osdg0JQK5TPOyZf+67rgQ7PpCmLGIalsA3Hv1TB0mvc2v cTfrkEiGQ+PGCVu8C9liR8nK3mlZv658nv0/ZF7gIo4wo6X/uEc92XOa5yHrLDRmUTQM OXexMczo3nAaREiWxgEY4rsRG+DvizK0k1LiJ26WWiTDuqEWNw5S6xJM6Pfx1/AjWNOz 8uWsP7Inu2Yk2j/5OrIpubA2UcHtegMh/wQOeC5kwP8t7c1LojYAweYr+33FpLxE3n4O be7L42gmwoH9KCpFEwYR5Z7vwcNYNsMdCni4iidIYd80R/6V536nHs2DTjkIsMIwVhMW Q5Mw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n7-20020a6543c7000000b004fbaad02597si4555735pgp.457.2023.03.18.00.57.04; Sat, 18 Mar 2023 00:57:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229887AbjCRHxv (ORCPT + 99 others); Sat, 18 Mar 2023 03:53:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229502AbjCRHxt (ORCPT ); Sat, 18 Mar 2023 03:53:49 -0400 Received: from loongson.cn (mail.loongson.cn [114.242.206.163]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0B6783CE2A; Sat, 18 Mar 2023 00:53:46 -0700 (PDT) Received: from loongson.cn (unknown [10.20.42.35]) by gateway (Coremail) with SMTP id _____8BxYU8JbhVk_74NAA--.20008S3; Sat, 18 Mar 2023 15:53:45 +0800 (CST) Received: from user-pc.202.106.0.20 (unknown [10.20.42.35]) by localhost.localdomain (Coremail) with SMTP id AQAAf8DxwOQFbhVkyMkEAA--.21548S2; Sat, 18 Mar 2023 15:53:45 +0800 (CST) From: Yinbo Zhu To: Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org Cc: Jianmin Lv , wanghongliang@loongson.cn, Liu Peibao , loongson-kernel@lists.loongnix.cn, Yinbo Zhu Subject: [PATCH v14 1/2] dt-bindings: clock: add loongson-2 boot clock index Date: Sat, 18 Mar 2023 15:53:39 +0800 Message-Id: <20230318075340.22770-1-zhuyinbo@loongson.cn> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CM-TRANSID: AQAAf8DxwOQFbhVkyMkEAA--.21548S2 X-CM-SenderInfo: 52kx5xhqerqz5rrqw2lrqou0/ X-Coremail-Antispam: 1Uk129KBjvdXoW7GFWkCF48JF15urWrJr1fWFg_yoWkXrc_C3 97Xw48urnruFZ2k3sxJF48G3yakF1UA3W29r1xAr17Ga4Uta15Ga10vr17X3Z8WFy7uF13 A3WxKrW3ur1SgjkaLaAFLSUrUUUU1b8apTn2vfkv8UJUUUU8wcxFpf9Il3svdxBIdaVrn0 xqx4xG64xvF2IEw4CE5I8CrVC2j2Jv73VFW2AGmfu7bjvjm3AaLaJ3UjIYCTnIWjp_UUUY D7CY07I20VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1Y6r17M28lY4IEw2 IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Gr0_Xr1l84AC jcxK6xIIjxv20xvEc7CjxVAFwI0_Gr0_Cr1l84ACjcxK6I8E87Iv67AKxVW8Jr0_Cr1UM2 8EF7xvwVC2z280aVCY1x0267AKxVW8Jr0_Cr1UM2kKe7AKxVWUXVWUAwAS0I0E0xvYzxvE 52x082IY62kv0487Mc804VCY07AIYIkI8VC2zVCFFI0UMc02F40EFcxC0VAKzVAqx4xG6I 80ewAv7VC0I7IYx2IY67AKxVWUXVWUAwAv7VC2z280aVAFwI0_Gr0_Cr1lOx8S6xCaFVCj c4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JMxAIw28IcxkI7VAKI48JMxAIw28IcVCjz48v1s IEY20_WwCFx2IqxVCFs4IE7xkEbVWUJVW8JwCFI7km07C267AKxVWUXVWUAwC20s026c02 F40E14v26r1j6r18MI8I3I0E7480Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jw0_GF ylIxkGc2Ij64vIr41lIxAIcVC0I7IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7Cj xVAFwI0_Jr0_Gr1lIxAIcVCF04k26cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r 4j6F4UMIIF0xvEx4A2jsIEc7CjxVAFwI0_Gr0_Gr1UYxBIdaVFxhVjvjDU0xZFpf9x07j5 HUDUUUUU= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760691473779304843?= X-GMAIL-MSGID: =?utf-8?q?1760691473779304843?= The Loongson-2 boot clock was used to spi and lio peripheral and this patch was to add boot clock index number. Signed-off-by: Yinbo Zhu Acked-by: Krzysztof Kozlowski --- Change in v14: 1. Add the history changelog for this patch. 2. Move the boot clock index in ending. Change in v13: 1. Add this patch as new patch and the clock driver patch need depend on this patch so add this patch as a series and set version number was v13. Change in v2 to v12: 1. This patch doesn't exit, so no changelog. include/dt-bindings/clock/loongson,ls2k-clk.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/dt-bindings/clock/loongson,ls2k-clk.h b/include/dt-bindings/clock/loongson,ls2k-clk.h index db1e27e792ff..3bc4dfc193c2 100644 --- a/include/dt-bindings/clock/loongson,ls2k-clk.h +++ b/include/dt-bindings/clock/loongson,ls2k-clk.h @@ -24,6 +24,7 @@ #define LOONGSON2_SATA_CLK 14 #define LOONGSON2_PIX0_CLK 15 #define LOONGSON2_PIX1_CLK 16 -#define LOONGSON2_CLK_END 17 +#define LOONGSON2_BOOT_CLK 17 +#define LOONGSON2_CLK_END 18 #endif