Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6276846rwp; Mon, 17 Jul 2023 19:16:32 -0700 (PDT) X-Google-Smtp-Source: APBJJlEVWWvZm24hxBmISe1noFrY+CzxuzzOFaC82cGjIR7tMuAKch+EujwJDH3Bc76XwZon2Osw X-Received: by 2002:a05:6a20:7283:b0:12c:c614:f55 with SMTP id o3-20020a056a20728300b0012cc6140f55mr16952530pzk.43.1689646591715; Mon, 17 Jul 2023 19:16:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689646591; cv=none; d=google.com; s=arc-20160816; b=yjXegCnXO+LMOmZDUiVAnFJQBZyiTRdLI+J8prwE0dpFU1c5/XV26AW/pKBPsevJUW x0WUqWt3r5ublLMfxsKvX2XQA3Fl/+xT5AABO4/fvp8J3uFcx6Oslybm/NRYR6oT1Ze7 haNLAhPGJ0HN3tqDEBozQq/nK3bGAVKQkzIyKURaO+YrlMtdz9DzrwG5OyT/6DHUso4S +osKm4f2W6c1ilVDj7D73pzGZUmgmxO8CZ7AjhYClhS3SFVwUupxTrhZSTPMs26vYCqq ohWZa+tRMwR3Y3Xj/N5SvzRCAdcDxcPr98eSHsTvwSi1rlK6jA553wXAQcQbcNgELT9Z /Akg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=U12thfBC/uhau1XBUrL7dHLjdhbT2BBv6HBHyUCow2Q=; fh=Zx2XidE/fkV2honIvdqjUrxrlT6Sdi4huaR/CQyDHeM=; b=rs0lkVjFO4M7tv/uXmOhn959at7ihcSA2ibKWi4zWFEs9Ys7Vy5FIiopLPTzR3vARx 7joAEELpn55rZsTTq8iYiBK4iNoO3faI2kBXDwPlsT3NSWlX7j0hMyF3AyKwe129RIs1 sugOEtBRjKblHtoxD/Qm4ijcgbMRCwHF8/NsCcdE6GJlkFI3AeplD0c/tvBvYWsdQe7H 5QNpyEDrOvSFWtgP3OMepK1scM8mxV6njWlwEH1s9BKlCT8hkev00eewyEESm+URmH7C J7vnnn0vA46OXI5sz3tPtAR5Uy/eESIwKaj4TnmizBZv1AAUdrMLb76v2ChDzAUvUOkc OQIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=FIFhiEru; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y193-20020a638aca000000b0055c8d58cee9si758562pgd.714.2023.07.17.19.16.19; Mon, 17 Jul 2023 19:16:31 -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=pass header.i=@gmail.com header.s=20221208 header.b=FIFhiEru; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229779AbjGRCHX (ORCPT + 99 others); Mon, 17 Jul 2023 22:07:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229555AbjGRCHW (ORCPT ); Mon, 17 Jul 2023 22:07:22 -0400 Received: from mail-pj1-x102a.google.com (mail-pj1-x102a.google.com [IPv6:2607:f8b0:4864:20::102a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6AE0E6C; Mon, 17 Jul 2023 19:07:21 -0700 (PDT) Received: by mail-pj1-x102a.google.com with SMTP id 98e67ed59e1d1-2632336f75fso3541524a91.3; Mon, 17 Jul 2023 19:07:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689646041; x=1692238041; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=U12thfBC/uhau1XBUrL7dHLjdhbT2BBv6HBHyUCow2Q=; b=FIFhiEruPtPW4fpcHerFnM562imVfAkWeAQHJQ+nWzK8MukPrmywDxIwaKCjorMrA8 pH7fHLfTjspA+2vZSzMzskxDyxqFp2nPahCMWN7G1kMe/F/0Jk5qmlj/selw97TeQSIK 0PXJD8K9A3cAu3eWJAb72uS1Q+vdkJX8FQKRKK0Q0hzdlDosk97LoA2gCxi/kNqMYT2u 85INxYrmLM7/pr2caYdVpzI5SRvHrGS/Sy/eF7+9eX48l39pLdutPfqVUg3GdAoIA/Y7 XYTT/lzq8+wAjcpBVsEL0m8XOBrgVqG0NRhU4r+bBogMeBlOcHasJBeimW/doOxYKKa+ mOWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689646041; x=1692238041; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=U12thfBC/uhau1XBUrL7dHLjdhbT2BBv6HBHyUCow2Q=; b=M4xcFuembH77y72Hr6HUCrcApjyDwrXHgJPILwplJV/zw406rZ0Vik8Ao7S6VvUPq0 AUj6/VCn7lWFk653tQZs+6OkeZw61X9Y6l0kiZ7+QPuuPucTfK96+O7SfOTy+Sgpr1pK JgBrWbQBqnrP+QbSErbpRBsgB2xfnZjFVbh5dfvBOhklOqWcnlJOyuaELiz/F+jptOM1 03SvyAPDpPUyz0yxyPptsd+TrJF+hGpHO03HL9UB2jaYHj1+NVogMk2cTOBcQN+xLPCW Tvy4Uq6CRYt0pgRLIFxcw3DwGL+phETJhFBR2S8vVT+wTlukaJ1ZTXLBRs3rSCa+bmHm NwDg== X-Gm-Message-State: ABy/qLaY3T8yFm7jo3ZG5rxCKQicqs73NV0D4CBVqH4FPJ6pZ9/PPA2U sWTtWHepoL7fZGhbZvpjFcAt77Z+Y6tT7QUzaNj6ogny0ddw7dCF X-Received: by 2002:a17:90a:bf10:b0:263:f643:4bd3 with SMTP id c16-20020a17090abf1000b00263f6434bd3mr11918894pjs.27.1689646041008; Mon, 17 Jul 2023 19:07:21 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Chih-Jen Hung Date: Tue, 18 Jul 2023 10:07:10 +0800 Message-ID: Subject: Re: [PATCH v2] dt-bindings: clock: ast2600: Add I3C and MAC reset definitions To: Conor Dooley Cc: "mturquette@baylibre.com" , "sboyd@kernel.org" , "robh+dt@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "conor+dt@kernel.org" , "linux-clk@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , BMC-SW , Chih-Jen Hung Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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_BLOCKED,SPF_HELO_NONE,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 Chih-Jen Hung =E6=96=BC 2023=E5=B9=B47=E6=9C=8818=E6= =97=A5 =E9=80=B1=E4=BA=8C =E4=B8=8A=E5=8D=889:59=E5=AF=AB=E9=81=93=EF=BC=9A > > On Mon, Jul 17, 2023 at 02:58:58PM +0800, Dylan Hung wrote: > > Add reset definitions of AST2600 I3C and MAC controllers. > > Signed-off-by: Dylan Hung > --- > include/dt-bindings/clock/ast2600-clock.h | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > > What changed compared to v1? > Are there any users of the additional resets (eg, in a dts somewhere)? > > Thanks, > Conor. An existing macro, ASPEED_RESET_I3C_DMA, was removed in V1. However, considering that this macro may be used somewhere, I have decided to add it back in V2. I will ensure to include the changelog in V3. > > > diff --git a/include/dt-bindings/clock/ast2600-clock.h > b/include/dt-bindings/clock/ast2600-clock.h > index e149eee61588..712782177c90 100644 > --- a/include/dt-bindings/clock/ast2600-clock.h > +++ b/include/dt-bindings/clock/ast2600-clock.h > @@ -90,7 +90,19 @@ > /* Only list resets here that are not part of a clock gate + reset pair= */ > #define ASPEED_RESET_ADC 55 > #define ASPEED_RESET_JTAG_MASTER2 54 > + > +#define ASPEED_RESET_MAC4 53 > +#define ASPEED_RESET_MAC3 52 > + > +#define ASPEED_RESET_I3C5 45 > +#define ASPEED_RESET_I3C4 44 > +#define ASPEED_RESET_I3C3 43 > +#define ASPEED_RESET_I3C2 42 > +#define ASPEED_RESET_I3C1 41 > +#define ASPEED_RESET_I3C0 40 > +#define ASPEED_RESET_I3C 39 > #define ASPEED_RESET_I3C_DMA 39 This is the macro I added back in V2. There is no reset-line hardware available for `ASPEED_RESET_I3C_DMA`, so I have added a new macro to provide a better representation of the hardware design. I will include the explanation in the commit message of V3. > + > #define ASPEED_RESET_PWM 37 > #define ASPEED_RESET_PECI 36 > #define ASPEED_RESET_MII 35 > -- > 2.25.1