Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2762659rwd; Sun, 28 May 2023 23:57:17 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5kARns0SiCZe5Hwqb8QdoVzrjSo+37Wx38GdRkEtBEHvapXaZsl0p4oAlgoBgeIyhT2LGD X-Received: by 2002:a05:6a20:8f0b:b0:10d:1213:432a with SMTP id b11-20020a056a208f0b00b0010d1213432amr8977368pzk.33.1685343436915; Sun, 28 May 2023 23:57:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685343436; cv=none; d=google.com; s=arc-20160816; b=QAAhj7wY0S58H7N9qhH1nk9Sl0WYPevO82ma2mtHeCSJh+QXh0J7sl5OxCSzr2jdkZ tyqlxOyBRwF4PiEZWBkrlUx9P6nTI/TdMMPdciNrOlrL6fF6kS15LTIG3f8ShIh/DFix AZJVEGdB3AbeEKzuGFSoLuFTE6I4YE7TkdUUCdHUqVPXJmvbav51SN9nab2/HUvHWGg6 a9ja38VWdQHcjYwjH5NErTshcMa9QrcGCSVyo7xa4KFDyBY5FDEflkp3Q7GvUl2aOZ3f hFCCO6MPg4NJjsLkDz62iSk1WH2R+xzdepGuAHmpjApSOAIsY6md/vHWMbsHm4Jq2FJ6 K99A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=e20onqPlkUa9zNhtk9MZkufUACudIUerNynMU4WZ+/M=; b=OcZ5J3TNkWLL2ox+5pB+6J3dXDygwradAqG3viyKPOyZGCuIgpowKmUU/GHxGY5SXI EKE2oH852VFRG2Yy3gfv5qLiUjHW08B20g9y65DDBDofMwrDeJ4Q8GUDFjzv+3ux//px l4zmu8Ij/82BSIqCFZra4ReO4AT0VewIpMY5k7KByjnMeYveUPfDcrKN9IABQFaX/51T cptp7Dvs+5EdGU02wIp/3kKa0C5rVooR7lhV4HQaZifRbGD2Ke3iRyUiLpiJ1HrnKgeJ NsegaIVBevoYVrEG9BwPFl/Fs5UKZcbV3EyLNyiGe0dBlWGHZCRcBJhK/RfXNZHYbmgO v4hA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s20-20020a63af54000000b0051b9a1e823csi8778086pgo.137.2023.05.28.23.57.05; Sun, 28 May 2023 23:57:16 -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 S230117AbjE2GoV (ORCPT + 99 others); Mon, 29 May 2023 02:44:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229669AbjE2GoU (ORCPT ); Mon, 29 May 2023 02:44:20 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C316C90; Sun, 28 May 2023 23:44:17 -0700 (PDT) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id E8A4780ED; Mon, 29 May 2023 14:44:14 +0800 (CST) Received: from EXMBX168.cuchost.com (172.16.6.78) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 29 May 2023 14:44:14 +0800 Received: from [192.168.120.57] (171.223.208.138) by EXMBX168.cuchost.com (172.16.6.78) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 29 May 2023 14:44:14 +0800 Message-ID: Date: Mon, 29 May 2023 14:44:13 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v1 1/3] dt-bindings: qspi: cdns,qspi-nor: Add clocks for StarFive JH7110 SoC To: Mark Brown CC: , , , , "Rob Herring" , Krzysztof Kozlowski , Conor Dooley , "Emil Renner Berthing" , Ziv Xu References: <20230526062529.46747-1-william.qiu@starfivetech.com> <20230526062529.46747-2-william.qiu@starfivetech.com> <87e9ed95-ea57-44c8-85f8-34264b5c6dde@sirena.org.uk> Content-Language: en-US From: William Qiu In-Reply-To: <87e9ed95-ea57-44c8-85f8-34264b5c6dde@sirena.org.uk> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [171.223.208.138] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX168.cuchost.com (172.16.6.78) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On 2023/5/26 23:33, Mark Brown wrote: > On Fri, May 26, 2023 at 02:25:27PM +0800, William Qiu wrote: > >> then: >> properties: >> + clocks: >> + maxItems: 3 >> + >> + clock-names: >> + items: >> + - const: qspi-ref >> + - const: qspi-ahb >> + - const: qspi-apb >> + > > Are these really the names that the clocks have in the IP? It seems > weird that they'd include the IP name in there and not just be ref, ahb > and apb. Hi Mark, These three clocks are the internal clocks in the IP. The AHB clock is the main system clock used to transfer data over the AHB bus between an external master and the QSPI controller. The APB clock is used to access the register map of the QSPI controller, perform controller and device configuration.service interrupts and control certain run time modes. The reference clock is used to serialize the data and drive the external SPI interface. I'm going to change the names of these three clocks to hclk, pclk, and ref_clk, as defined in the data book. What do you think? Thanks for taking time to review this patch series and give useful suggestions. Best regards, William