Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4217788rwr; Mon, 8 May 2023 04:55:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5QaJW8xYHF64WCZTO6C6FP3gB97B5C1P1/uNGoNslux2ONB0iEgnehGuCJCFEAMSp3lHrc X-Received: by 2002:a05:6a00:2310:b0:642:fbed:2808 with SMTP id h16-20020a056a00231000b00642fbed2808mr13264999pfh.25.1683546903459; Mon, 08 May 2023 04:55:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683546903; cv=none; d=google.com; s=arc-20160816; b=d9rUx98lzoMZiCGq1fPZYU6/IhKdI/Nzmka8vfWTAAqCjbusBenMa9bblfi8pJoeq2 3usbKz9+N3TLipSwFlols9HS4ro3BIB7CaVKYpUP6wDaRdF6aLAXd/tabRUfJtMl3tpE Y8XAPN8Lq6MzNwdAArZ9R8gSDpOr5MyP5ImtXmCbPnyjDVu3AACwaoy3lfGtG/VTbI33 z8s+gurTtpHPKn5BXDrgHT8jCT1TMJdEZabDMuyx+asjHhY61ZJKeEZhjaeII03u5MUf O3aiaDGgRKALFA+S1ocLImTVH4gsb8nhuwRJ3JAwb6Ly+/nLMcvW/DAuScuiEbJpeCyY liog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=FAXj9vdWVw/uVbMUUy1Eo7yUps3op6/q9sCH5rCv8jo=; b=Xtp/3mTscS4vEgPm1LbnZsofwwZN0O0MoWrKbm1+U9xOkM1d8Z9u9jXMMpkgeYmzjS eYIyT6bSBmJzx3BnkejnxAAR8zazDVmWjrLdg1vz3s9k1po+uPLAUlw3rI+97EPrU66R mWf8m2e+RHt8QXhHYGlTWqKYcZGdRavDR26b1PlhWh69g54LG+j0J9Mjc1hd/kQ/6htI xEQUfrPinSUhxWR7shhE6KvAMAaey97F3Vj7/dji0LpSMN5fTppQUeZgGKFW8TaDi818 wSyWH58z9b6p13PRi1hl7lJ6lH3BoP8eW+17l9qoXKdaWK2LAQ7Pr9J66xbN59lxIkRu DOAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="gmF/MTiw"; 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=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f21-20020aa79695000000b00643b7b6bf0esi5562709pfk.261.2023.05.08.04.54.50; Mon, 08 May 2023 04:55:03 -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=@intel.com header.s=Intel header.b="gmF/MTiw"; 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=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235473AbjEHLC7 (ORCPT + 99 others); Mon, 8 May 2023 07:02:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235455AbjEHLCi (ORCPT ); Mon, 8 May 2023 07:02:38 -0400 Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E367F2E814; Mon, 8 May 2023 04:01:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1683543686; x=1715079686; h=date:from:to:cc:subject:in-reply-to:message-id: references:mime-version; bh=LjfkfoKDufvFptmjnU8Tpr/miNBczjPxAPKLfzlZzdI=; b=gmF/MTiwnEnSvrJ8lxfKxTtC/KvhQ4Fhyx3ktWO4cuebN8aT1n6BF07X fyjDZBTZkwEdeJo1r/pXXDWx+G+RMW8xnZqycss6C39T3CNb7aSwMUfxb RmzHO2IIMq0nkJGThASqlAuFMN/VZ+sy/deVquGLxgzehRleU1Eh/hgaY UbBa31qz0FifMHONYdvJf7pN3x4Chw96VBoXNwFOCYgE+ZQZbX/ysMQUQ HL1BWBKBtSHMeP8D4AYFNeywWXa8lrvd4b8qWZ63Xbw/He8CrgcYW2kdk +/6CIBjQUlgsvQA/zT2ZssauS6Qbw7QfjFgQZlOZM1C4uAyVJbbzCvtoN A==; X-IronPort-AV: E=McAfee;i="6600,9927,10703"; a="329237302" X-IronPort-AV: E=Sophos;i="5.99,258,1677571200"; d="scan'208";a="329237302" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 May 2023 04:01:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10703"; a="698489829" X-IronPort-AV: E=Sophos;i="5.99,258,1677571200"; d="scan'208";a="698489829" Received: from cciobanu-mobl1.ger.corp.intel.com ([10.249.37.159]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 May 2023 04:00:58 -0700 Date: Mon, 8 May 2023 14:00:56 +0300 (EEST) From: =?ISO-8859-15?Q?Ilpo_J=E4rvinen?= To: Jacky Huang cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, lee@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, p.zabel@pengutronix.de, Greg Kroah-Hartman , Jiri Slaby , tmaimon77@gmail.com, catalin.marinas@arm.com, will@kernel.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, LKML , linux-arm-kernel@lists.infradead.org, linux-serial , arnd@arndb.de, schung@nuvoton.com, mjchen@nuvoton.com, Jacky Huang Subject: Re: [PATCH v10 09/10] reset: Add Nuvoton ma35d1 reset driver support In-Reply-To: <20230508025936.36776-10-ychuang570808@gmail.com> Message-ID: <1ec43550-9aee-3a36-6ca5-ed56e98628f@linux.intel.com> References: <20230508025936.36776-1-ychuang570808@gmail.com> <20230508025936.36776-10-ychuang570808@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-1035541048-1683543664=:1790" X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_PASS, SPF_NONE,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 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1035541048-1683543664=:1790 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8BIT On Mon, 8 May 2023, Jacky Huang wrote: > From: Jacky Huang > > This driver supports individual IP reset for ma35d1. The reset > control registers is a subset of system control registers. registers are > Signed-off-by: Jacky Huang > --- > diff --git a/drivers/reset/reset-ma35d1.c b/drivers/reset/reset-ma35d1.c > new file mode 100644 > index 000000000000..19ed323981df > --- /dev/null > +++ b/drivers/reset/reset-ma35d1.c > @@ -0,0 +1,234 @@ > +// SPDX-License-Identifier: GPL-2.0-only > +/* > + * Copyright (C) 2023 Nuvoton Technology Corp. > + * Author: Chi-Fang Li > + */ > + > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > +#include > + > +struct ma35d1_reset_data { > + struct reset_controller_dev rcdev; > + struct notifier_block restart_handler; > + void __iomem *base; > + spinlock_t lock; Please add a comment about what this protects. After adding that, feel free to add also: Reviewed-by: Ilpo J?rvinen -- i. --8323329-1035541048-1683543664=:1790--