Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7770817rwp; Tue, 18 Jul 2023 23:14:59 -0700 (PDT) X-Google-Smtp-Source: APBJJlGX4Z6ff2fsAjYAjLwL/ATis4bDj4caEYJ+POu/1OQs5UoHrz1AN4g/VgibzhHsQpFuCDQv X-Received: by 2002:a17:906:100e:b0:993:d632:2c3 with SMTP id 14-20020a170906100e00b00993d63202c3mr1271278ejm.21.1689747298818; Tue, 18 Jul 2023 23:14:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689747298; cv=none; d=google.com; s=arc-20160816; b=lqxqlI8BdMGEzlNZf8W917JHTk3Xu7WyBPe+1GAlDm7MGG/oaF+krrcyoU1nLQTeSP 1M3vEylF5s9htAu7zSkjPSJ1xFvBs/kgThdXUXVg7OjWV4PguvQC+xQziE208AG5/Mrx UI4AYOfQ8hG8hqcprHmGo7x3IGXIyYfuigd5wrErb0N2uZcwx3+2SFBk9+RcI19C8058 y+2Y6v8Dm6tO7XP/Tdrv8YqhcW6YFlJqNjIyh3HCCTHGwyMR/wS141jEs2igDQ4+zAhg nYWoT/5TVdSVs23t0Oun7xbDjGjRpXXC4l9lvUpd3kUkD0pDWZ2l+8Oh0HyOyIqoTOJi JafQ== 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; bh=NfQglbA/MJ1fSsn4aGL7SagVLg9lBu/ZFHDvi42U4G8=; fh=Qde4VaxImnmqQm1RkWrpg9XRFSWGy/foLGGs/d1de74=; b=TrB3P7E3oW6L5380vf2fiqltCDY8901hia1ZWum8PhRUFHIT232vv0qja+9G290iPo QSSdYmhKo1S2CS5O1zvU/vRCGsX2KGXe0HwayuUk22zah2SMTNmjNBuZ0rlN5kEV+PEH o7m0PvejfXqvXduGIf/wlZ2RmlnQ6UFGokTZW2mXtcKeJemnhL4Z1+MxjK3Yudl/jPIA VlboT+07ik/MTcJwEAEBHeygDQRrhx19VmOHc6gRQk+gjDl+gvJexbNbVMyNGqInFM7R ytgKUwShLtpl7zUpuAzV//i2JncIyfCtVmrlOQUxymnE2Tm5Y365S43XFNz1m6OSedUP F3EA== 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 gw7-20020a170906f14700b0099317a3240esi2357797ejb.396.2023.07.18.23.14.34; Tue, 18 Jul 2023 23:14:58 -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 S229843AbjGSGKN (ORCPT + 99 others); Wed, 19 Jul 2023 02:10:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230242AbjGSGKD (ORCPT ); Wed, 19 Jul 2023 02:10:03 -0400 Received: from mail-sh.amlogic.com (mail-sh.amlogic.com [58.32.228.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 958CB1BF5; Tue, 18 Jul 2023 23:10:00 -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:46 +0800 From: zelong dong To: Neil Armstrong , Philipp Zabel , Kevin Hilman , Rob Herring , Martin Blumenstingl , Jerome Brunet CC: , , , Krzysztof Kozlowski , , , Zelong Dong Subject: [PATCH v3 0/3] reset: amlogic-c3: add reset driver Date: Wed, 19 Jul 2023 14:09:51 +0800 Message-ID: <20230719060954.14864-1-zelong.dong@amlogic.com> X-Mailer: git-send-email 2.35.1 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,URIBL_BLOCKED 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 This patchset adds Reset controller driver support for Amlogic C3 SoC. The RESET registers count and offset for C3 Soc are same as S4 Soc. Changes since v1: - remove Change-ID - run scripts/checkpatch.pl and fix reported warnings - sort dts node by base reg offset Changes since v2: - replace keyword "meson" with "amlogic" --- v1:https://lore.kernel.org/all/20230630121059.28748-1-zelong.dong@amlogic.com/ v2:https://lore.kernel.org/all/20230718123550.13712-1-zelong.dong@amlogic.com/ Zelong Dong (3): dt-bindings: reset: Add compatible and DT bindings for Amlogic C3 Reset Controller reset: reset-meson: add support for Amlogic C3 SoC Reset Controller arm64: dts: amlogic: add reset controller for Amlogic C3 SoC .../bindings/reset/amlogic,meson-reset.yaml | 1 + arch/arm64/boot/dts/amlogic/amlogic-c3.dtsi | 7 ++ drivers/reset/reset-meson.c | 1 + include/dt-bindings/reset/amlogic,c3-reset.h | 119 ++++++++++++++++++ 4 files changed, 128 insertions(+) create mode 100644 include/dt-bindings/reset/amlogic,c3-reset.h -- 2.35.1