Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp6438338rwp; Mon, 17 Jul 2023 23:39:35 -0700 (PDT) X-Google-Smtp-Source: APBJJlHc9fle6nRzzeZUX8rys2eyF9PyDyMRkIVD3BI3LSdrqehjsIlu6qY4+EhcuapqGRdPOiHi X-Received: by 2002:a17:902:d382:b0:1b1:7362:9a18 with SMTP id e2-20020a170902d38200b001b173629a18mr10120301pld.27.1689662375031; Mon, 17 Jul 2023 23:39:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689662375; cv=none; d=google.com; s=arc-20160816; b=gAhBc6/0QySZAGbq4PzbQ9edhLzLZ5FpukoC6PKnn2VMUdE59Mt4X78IlCHRDO50kl XGWjMRgX2xzs/uP6wGSEE+gYDfDHVqRQ+d3rNX1mkqDjiKqh5PEhwiFRDKdXwdfJ9Eqm CmHqJhRdk979bqjOr1BBeiV5+iGFGWCze+zv6ejTrQiZszvT+Mmfcei1xhLEvwgF3SPy 81LLgW0NHmchU2Ypy56NQ9S8YWNmUHbWX8Zmhx4fSDeOaN4QThxRxa75iavjj3qF/zBU oGvi4AYzojZbv5IYp0vxSWCqet0QiqESUYSSyA69TxPuvJ2uYGEckpXSpqe4KwLB7OOQ et3g== 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:dkim-signature; bh=t7CLNl341a6qbr1/+SqD2wU8H0rNBWIA4UoKO2oRkIk=; fh=DKMzsX1yp7O2jeP+II7KT1uwGMnH9bBOMqXP0EFJHBI=; b=QsxX/YC8ai2IDUkb0AjIfz7YGCh28opybqVGRZL4saMFEHtIACpgZY/NNKrAftBho6 bFhxvcqe6w1nqcl0CIn0NZsVHjIAcwGkxBNCnJmVdagVGOogsfkaiw6VuJZaPDcFaKbo xen/1iU2Ctothkp+Je2iTdV/R4FSFmP+vsOBVIwLMR66C7Lfqd2h5skDuieTNpvk/mUQ O59DR0vrXQwmhAW6cYNf9FfZ/ujzOtNgk03ZkTtVwGa874D3aDQyPf3f3qQFcPdjC9cH fwM7XQRrusPelgOtuvg24RTsiNpZ+1cXyAgqY5dhE9p5UAbcPPTK0k7cwwSnI0AW1uLr jdAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=Wl56MJJj; 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 r12-20020a170902c60c00b001ab1d1a6802si1096179plr.1.2023.07.17.23.39.22; Mon, 17 Jul 2023 23:39:35 -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=Wl56MJJj; 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 S230398AbjGRG0s (ORCPT + 99 others); Tue, 18 Jul 2023 02:26:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229986AbjGRG0q (ORCPT ); Tue, 18 Jul 2023 02:26:46 -0400 Received: from mail-il1-x129.google.com (mail-il1-x129.google.com [IPv6:2607:f8b0:4864:20::129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 296DC126; Mon, 17 Jul 2023 23:26:46 -0700 (PDT) Received: by mail-il1-x129.google.com with SMTP id e9e14a558f8ab-3487d75e4c5so14236185ab.0; Mon, 17 Jul 2023 23:26:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689661605; x=1692253605; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=t7CLNl341a6qbr1/+SqD2wU8H0rNBWIA4UoKO2oRkIk=; b=Wl56MJJjwI2mGTf3k92EgT//sXuLO8UWap6B6DnjCHdiDGbk/T/t0FOA41rH9qKBIo hgFX+twXDXU+UPv3h+XZXDGthvIGgMAnjT01HXajCc32OR9aswCnZFxQdvURhkO7KvQI mZY/lCeQASJ+ztY7uVqrIJtC7qnmx1CaHZdwnNNN5/yvmDsHjMoXckiNnA/sj9sV6ycl d2iFmS62V8mLQV55duuSBNM7Q0ImbHFEBePwGLiUDyGlB7jcFmp+gu5m92wHG7W+yuh8 2/BESdcUKDN9R5hinjFlpGgVEreT4Vi1D47ygIAzhsyh6AfnOG5s/zZ+xkdSzcbrzS1r fwQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689661605; x=1692253605; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=t7CLNl341a6qbr1/+SqD2wU8H0rNBWIA4UoKO2oRkIk=; b=QN0Wg4F8w2PL3haZhC8u/3qJ6y1CoxOv9K6lnWghKknJG4U/X7ldrBhzAQHcz/36KQ gVk1cpD9g7nGl8+fv+CsCDUzjnWkc6BGlHu/49Zf2UQf8+T4uwe3FQNrnxaaLb35sTM3 OKid76wD/ub3M2xmCB90UtJsbCM7+uh8SNwCr4vpXVOp2ez07W4ogbSMF88HsF5u9VxK tYeLXIvXNBCjvvF/mdHKH+ggevG8nt34VDRWIDu04MRcr9HUmpJFPcZxK4rcPH+FWlOC BzXCnLNWYPMslghz7nREqEsNBoE4zwoz00kMD0nUwiuEzy7wwkYYf09K2tby4lelf4gH 26Bg== X-Gm-Message-State: ABy/qLanL1nD2zkziW6kzOVxr1+xHh8LwhgLw8MpVFCXOWd0fWkaXAAf TdQMHWPMDbgKMTGt0vpVhi4= X-Received: by 2002:a92:cdaa:0:b0:341:f920:4483 with SMTP id g10-20020a92cdaa000000b00341f9204483mr2038959ild.9.1689661605424; Mon, 17 Jul 2023 23:26:45 -0700 (PDT) Received: from localhost.localdomain (211-20-114-70.hinet-ip.hinet.net. [211.20.114.70]) by smtp.gmail.com with ESMTPSA id n16-20020a92d9d0000000b00345d154ce58sm467680ilq.12.2023.07.17.23.26.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jul 2023 23:26:44 -0700 (PDT) From: Dylan Hung X-Google-Original-From: Dylan Hung To: 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 Cc: BMC-SW@aspeedtech.com, kobedylan@gmail.com, Dylan Hung Subject: [PATCH v3] dt-bindings: clock: ast2600: Add I3C and MAC reset definitions Date: Tue, 18 Jul 2023 14:26:16 +0800 Message-Id: <20230718062616.2822339-1-dylan_hung@aspeedtech.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Add reset definitions of AST2600 I3C and MAC controllers. In the case of the I3C reset, since there is no reset-line hardware available for `ASPEED_RESET_I3C_DMA`, a new macro `ASPEED_RESET_I3C` with the same ID is introduced to provide a more accurate representation of the hardware. The old macro `ASPEED_RESET_I3C_DMA` is kept to provide backward compatibility. Signed-off-by: Dylan Hung --- changes in v2: - Added back ASPEED_RESET_I3C_DMA for backward compatibility - link to v1: https://lore.kernel.org/all/20230621094545.707-1-dylan_hung@aspeedtech.com/ changes in v3: - Added an explaination for adding a duplicate ID in the commit message - Link to v2: https://lore.kernel.org/all/20230717075123.1597977-1-dylan_hung@aspeedtech.com/ include/dt-bindings/clock/ast2600-clock.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 + #define ASPEED_RESET_PWM 37 #define ASPEED_RESET_PECI 36 #define ASPEED_RESET_MII 35 -- 2.25.1