Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7787633rwp; Tue, 18 Jul 2023 23:36:30 -0700 (PDT) X-Google-Smtp-Source: APBJJlHa2mTM5YuVHfq96FJoAyMo04NZ2FUhELaJSTLgamAQ4RWBwOCjD4zQP2nRLTNh8Kibb/9A X-Received: by 2002:aa7:c704:0:b0:51e:e67:df4d with SMTP id i4-20020aa7c704000000b0051e0e67df4dmr1403755edq.38.1689748590467; Tue, 18 Jul 2023 23:36:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689748590; cv=none; d=google.com; s=arc-20160816; b=T9/8gw44BlFFOrBWIaPvFUoLTyafjIvUgLhHN9Kf4YJQWemWgowBWHEWeIx8jEoAGP dnC1wTSH4/RQKQ9pEQryiuup0JRDlUQog8zJ196ctsH91qfQmjzuZK+Zk36J/bLl2PBT kmUQ6/qAJoSD0c6unCLPvTztjnRmK++gGivEdIbmGWcsfG8kbl3yfhVIWwx4jnUXFytK r2fF/OW73rp4fz2zgAAe95mzQnWQuBSEpPN0f80u4WLr8xe7R1dxRqFlUUfpeaAopH8y Ug88tIcheVjXmuW85BTPjqLqRPW6h+AoSTz3DOxuwUu95f498uHs1KFuzn4VaohsD+J1 aB5Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=esN7d2fYa8HGxQ+yfzkh3j+c0wohul5TCE6w2U6H3jM=; fh=1P3HV1Mt4lZHTNNrkyCCdN4VMy5hxN5KNqktJpXoCH4=; b=FCBzoKmp73eLhUJdfrK8n8r4QYkrOdikf2DQqrGLh7iSO+6Ii7gHz9z9Ccv5y689kG mE2fpHB4qX30yaEY2a3rVm2PGxpHjoohAUgjFDm2KYG0GP94R4p3aFq/Tz7WDWrt/xfK nAAeC7OnDMsxMjOyRm7MrMNOI31PR9Xmvd9KQRlyU2vJmAoMvWQLm/B80TcskHZ2XtL4 E3PcnGCP8vWvntaYaGqwAKr+PmntGlaBfTVFZEhsqg+erZ4FqJtSNgL1WgE56VRpT04v +zwBvJgCdP2sjiBMkKXVPSGG2o0I8IpfBVXY9PlgrOREIKvFCn0dHzZ6tZlsWdfYysyU CcwQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f24-20020a056402005800b0051dd4debda1si2984537edu.43.2023.07.18.23.36.06; Tue, 18 Jul 2023 23:36:30 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=amlogic.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230313AbjGSGK4 (ORCPT + 99 others); Wed, 19 Jul 2023 02:10:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229648AbjGSGKy (ORCPT ); Wed, 19 Jul 2023 02:10:54 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C07F1FD8; Tue, 18 Jul 2023 23:10:06 -0700 (PDT) Received: from droid10-sz.amlogic.com (10.28.11.69) by mail-sh.amlogic.com (10.18.11.5) with Microsoft SMTP Server id 15.1.2507.13; Wed, 19 Jul 2023 14:09:53 +0800 From: zelong dong To: Neil Armstrong , Philipp Zabel , Kevin Hilman , Rob Herring , Martin Blumenstingl , Jerome Brunet CC: , , , Krzysztof Kozlowski , , , Zelong Dong , "Dmitry Rokosov" Subject: [PATCH v3 2/3] reset: reset-meson: add support for Amlogic C3 SoC Reset Controller Date: Wed, 19 Jul 2023 14:09:53 +0800 Message-ID: <20230719060954.14864-3-zelong.dong@amlogic.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20230719060954.14864-1-zelong.dong@amlogic.com> References: <20230719060954.14864-1-zelong.dong@amlogic.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-Originating-IP: [10.28.11.69] X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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 From: Zelong Dong Add a new compatible string to support for the reset controller on the C3 SoC. The count and offset for C3 Soc RESET registers are same as S4 Soc. Signed-off-by: Zelong Dong Reviewed-by: Dmitry Rokosov Reviewed-by: Martin Blumenstingl --- drivers/reset/reset-meson.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/reset/reset-meson.c b/drivers/reset/reset-meson.c index 13878ca2779d..861b9d1b1469 100644 --- a/drivers/reset/reset-meson.c +++ b/drivers/reset/reset-meson.c @@ -109,6 +109,7 @@ static const struct of_device_id meson_reset_dt_ids[] = { { .compatible = "amlogic,meson-axg-reset", .data = &meson8b_param}, { .compatible = "amlogic,meson-a1-reset", .data = &meson_a1_param}, { .compatible = "amlogic,meson-s4-reset", .data = &meson_s4_param}, + { .compatible = "amlogic,c3-reset", .data = &meson_s4_param}, { /* sentinel */ }, }; MODULE_DEVICE_TABLE(of, meson_reset_dt_ids); -- 2.35.1