From patchwork Tue Mar 21 20:00:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yangfl X-Patchwork-Id: 73040 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1987125wrt; Tue, 21 Mar 2023 13:13:11 -0700 (PDT) X-Google-Smtp-Source: AK7set9dWnCQcRlVlkqQftA2BJfaK1o2Q7oVLDUBhW5TG6gf5yAMWfFJ7CQSGB5VbfOPY1rcfCKF X-Received: by 2002:a05:6a00:4c10:b0:594:1f1c:3d3a with SMTP id ea16-20020a056a004c1000b005941f1c3d3amr968387pfb.15.1679429591251; Tue, 21 Mar 2023 13:13:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679429591; cv=none; d=google.com; s=arc-20160816; b=wNvXFy5F2FCeNUYxWkNADwOgPCFM0MW7BnBuEMAdl+dm/3kJOpPTXsaPQ0YXD9FQ5K ozlR1dq4nAb//G6gFuhyDAdSZkBD9cwpdo349Q0RKacGB0fyKxUipBCsg48d1z9zQdPI AAIhD9oyAcYufLjUs7U+rwSZQK/HRr5xMpXyqpm/dh0GLm3u88f95IMU50LEHFT2DpOk xj6d9Sz33DMF03nYljt8QLG/HDC/TijjvFG0lCc9cFkHdSgmytq0Yf7AoeY/Aw4Xk4vi h7PDOh7WCX+ypueZaEL4BwuXbUFLGul86RWB/wLnj4NojVAdGEkNDmQEbmvHHh5rx31B bs/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:from :dkim-signature; bh=P1nihvRARKpi6tkVd5cEgKMlSNEP4XWbbAUmPmevZWQ=; b=S9lfqdPjmgOxT8I6csm3RKV+IFmG6cM6H1+ENiJ4qQWBP9OiKgDbXFW82YZY494oEO dlpgsqesSOwH/jrRTjGaIEYKucEhf3w5hV/VBvgF8CJ4O99E5Bx24QhI5SzRpz5Ce03s +xJ2awZrKRdOskH0HJDrB2FEE1uORkVj6negiwLSQb1XdhGegjIhBprWbqzvGgv3kQ82 1MP5wJSr2djxv34apkN0F5oYM5CRCFRsKWpXZZ2NM+gD4BUAmcg3br2ZNdZqWqpC3Fm/ bGtRGR5SKq45m/4WsEcjWwlQSaC3nXfPz2VsubcG6YTejAad6BEGz+C9WaZxo0Gip0NS KHuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20210112 header.b=CjACuUfh; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x40-20020a056a000be800b005a8ac319433si10143232pfu.178.2023.03.21.13.12.57; Tue, 21 Mar 2023 13:13:11 -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; dkim=fail header.i=@gmail.com header.s=20210112 header.b=CjACuUfh; 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; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230051AbjCUUCE (ORCPT + 99 others); Tue, 21 Mar 2023 16:02:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230044AbjCUUCA (ORCPT ); Tue, 21 Mar 2023 16:02:00 -0400 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3754955048; Tue, 21 Mar 2023 13:01:37 -0700 (PDT) Received: by mail-pl1-x629.google.com with SMTP id iw3so17244228plb.6; Tue, 21 Mar 2023 13:01:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679428895; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=P1nihvRARKpi6tkVd5cEgKMlSNEP4XWbbAUmPmevZWQ=; b=CjACuUfhyvhaIzXzGcaoe9QWTR5Jz/iqQtv6C0/yrMk5u1TKxx1Hk8JipBXNwxq/yL +jG8sep1y3TnQmNSC9tbOb9zRT2iZwO9qRh/jq2wt4KRfjDY+Gnj09wX6WPfKw/kLxnH xN5/fUxqNoOLk3AMr4hcD2jP7wdNwEzzzlABLMLONUXXCieDyctkiFJk5Q1JC9NRT4US +SKLhetuSId8aiAjAmVqWCZG+Oc4zXKkOEgo2YP97ZOvE+7H5bi1IcrL8LVV+RGaxX+8 CNhikD0yxRDCeUt7B73EQe6qCMzv4J89zmd/jypGKleLXslt4l9cCVkXMS7t2zacC/MH XCiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679428895; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=P1nihvRARKpi6tkVd5cEgKMlSNEP4XWbbAUmPmevZWQ=; b=nqjkygd0poQHRLuwgn4FJfXPE3tvzbqppUjetLw2ogI5OHtIrtY/aln6CHgFIsG76U S//oF2Nh3udF5isQvTm8hrSjTy+j1yxpUY/orItyIUah0fR0FzsO2hb5vbRTsW0E8gRG DQgjikt/0jpPD/3LdKyWOyJOOrxZyVLWGQmHt9vQJOvVDuZzZsuL8vBcR3ImjYNLJsZU tPOSqngq79cSihfOEMQYNMyYwX9M+8ErEi4DVg9Wj9LPlWCzR7UgG/swJk+mf/LFr9BI gYezlvjB/SXVDHjDWXc0Q63WJbylfAOJmZAc1JunsyiNGtBK33p9kq8bCicniJblvjrj doiA== X-Gm-Message-State: AO0yUKW/xOmb2dvwJGnFGqx8gevQXKu9aEOXOVQqofJQoAu1k2+61tQD nxURSa+9U1xr6ltRMUjtcVU= X-Received: by 2002:a17:90b:1b42:b0:23d:2532:ae34 with SMTP id nv2-20020a17090b1b4200b0023d2532ae34mr885924pjb.2.1679428894863; Tue, 21 Mar 2023 13:01:34 -0700 (PDT) Received: from d.home.yangfl.dn42 ([104.28.245.199]) by smtp.gmail.com with ESMTPSA id mt19-20020a17090b231300b0023b5528b8d4sm930557pjb.19.2023.03.21.13.01.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 13:01:34 -0700 (PDT) From: David Yang Cc: David Yang , Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Krzysztof Kozlowski , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org Subject: [PATCH v6 5/6] dt-bindings: clock: Add Hi3798MV100 CRG Date: Wed, 22 Mar 2023 04:00:26 +0800 Message-Id: <20230321200031.1812026-6-mmyangfl@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230321200031.1812026-1-mmyangfl@gmail.com> References: <20230321200031.1812026-1-mmyangfl@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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 To: unlisted-recipients:; (no To-header on input) 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?1761009563162310601?= X-GMAIL-MSGID: =?utf-8?q?1761009563162310601?= Add CRG bindings for Hi3798MV100 SoC. CRG (Clock and Reset Generator) module generates clock and reset signals used by other module blocks on SoC. Signed-off-by: David Yang Acked-by: Krzysztof Kozlowski --- .../devicetree/bindings/clock/hisi-crg.txt | 2 ++ include/dt-bindings/clock/histb-clock.h | 13 +++++++++++++ 2 files changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/clock/hisi-crg.txt b/Documentation/devicetree/bindings/clock/hisi-crg.txt index cc60b3d42..972c038c8 100644 --- a/Documentation/devicetree/bindings/clock/hisi-crg.txt +++ b/Documentation/devicetree/bindings/clock/hisi-crg.txt @@ -13,6 +13,8 @@ Required Properties: - "hisilicon,hi3516cv300-crg" - "hisilicon,hi3516cv300-sysctrl" - "hisilicon,hi3519-crg" + - "hisilicon,hi3798mv100-crg" + - "hisilicon,hi3798mv100-sysctrl" - "hisilicon,hi3798cv200-crg" - "hisilicon,hi3798cv200-sysctrl" diff --git a/include/dt-bindings/clock/histb-clock.h b/include/dt-bindings/clock/histb-clock.h index e64e5770a..126b1f839 100644 --- a/include/dt-bindings/clock/histb-clock.h +++ b/include/dt-bindings/clock/histb-clock.h @@ -58,6 +58,19 @@ #define HISTB_USB3_UTMI_CLK1 48 #define HISTB_USB3_PIPE_CLK1 49 #define HISTB_USB3_SUSPEND_CLK1 50 +#define HISTB_USB2_UTMI_CLK1 51 +#define HISTB_USB2_2_BUS_CLK 52 +#define HISTB_USB2_2_PHY_CLK 53 +#define HISTB_USB2_2_UTMI_CLK 54 +#define HISTB_USB2_2_UTMI_CLK1 55 +#define HISTB_USB2_2_12M_CLK 56 +#define HISTB_USB2_2_48M_CLK 57 +#define HISTB_USB2_2_OTG_UTMI_CLK 58 +#define HISTB_USB2_2_PHY1_REF_CLK 59 +#define HISTB_USB2_2_PHY2_REF_CLK 60 +#define HISTB_FEPHY_CLK 61 +#define HISTB_GPU_BUS_CLK 62 +#define HISTB_GPU_CORE_CLK 63 /* clocks provided by mcu CRG */ #define HISTB_MCE_CLK 1