From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 93CDBCD1288 for ; Fri, 29 Mar 2024 09:25:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:Content-Type: Content-Transfer-Encoding:Reply-To:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:References:Cc:To:Subject: From:MIME-Version:Date:Message-ID:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=b7+25yZIeSWI5aSptfDw28/sZKiB9K1MFJVDJAJ5p/E=; b=j3vuSs+tcNT0tB0sTYLDLcwP2O fopWfFldOMsWduqLC2yJxv62KpFFByu5KWkjegdTZroUDaPcSKxexsC1h7OVeU2N6pJgTSEEQQ0L6 jWj1n1sPl+6YPXTB6K1vev2ylx3c7GcIjgpGgMC61pqYhcKKsFkAVAeNGLiUzIQdhVBPJKaLhnDoX sxXPhp6NgW9WGQ2FWcKPOs2FlsfJG5HDC5SuRMg6weu41vV07QJFPvgn7JlzyF4/6A69aBGcWeaX0 ACJSaErKYGBXzHkNaFD/i2Y2i0cbJiRciL8boW5FSCFcvCVdpVsWGjfXtrXT4AxkrW6CycDFw1bD8 UueGRnyA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rq8UW-0000000HTg8-1a0G; Fri, 29 Mar 2024 09:25:40 +0000 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rq8US-0000000HTdn-2frd for linux-amlogic@lists.infradead.org; Fri, 29 Mar 2024 09:25:38 +0000 Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-512bde3d197so1232662e87.0 for ; Fri, 29 Mar 2024 02:25:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711704332; x=1712309132; darn=lists.infradead.org; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=GEQURDN2hc0rSK6rdl4NmLGBAAhTVwyKdlzTTBj2f1Y=; b=WPCplhU88Di6PECfQDH/77ri1VeWJBrvl5wf9mbd+tpxnVfuvZ1irVix1J6feOBjnr SvOqIiZ3z0rnEKtfnTyPSvr54DgRWvTXcx7YpleldWel79bCaIapw23Mp9kxdzZqWlzy Ve+E0Cl4lUZq+1AJGf6ldFO9Qg8HgEe+xbZxNgCDT1KxsviIlS2i0ykxBtP0By6FRl99 0rjFJ+VZ5aGUGabT2hyxv5BTzExp321ChHBOS7VC/ygsWBNtjArYiGVGxz/Zw64YN78L HpdgDOF6S1COAYIcHKn3zoM5HHC6uHorPTt7nLAxZU+6EvsiomRmqSaEi/MEukReWe6P PevA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711704332; x=1712309132; h=content-transfer-encoding:in-reply-to:organization:autocrypt :content-language:references:cc:to:subject:reply-to:from:user-agent :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=GEQURDN2hc0rSK6rdl4NmLGBAAhTVwyKdlzTTBj2f1Y=; b=XebqEqVx0dNQat9KK7xc1T98+gRWaGENo1qa7YGnzay5GPRspDgj4hTs0jmYTxirgX VblNFiL+PGvoe06UUj7275E/uqxZAYgfHBWFEGDx5dhP5RCYTIttlmvu+dPt0TihrMzB EgpXzyNYMTXlWhHuRMxx12iaEpNh5INjo+c3TQJj4hUymTtCES0mfDi3HJrvVXghSV9/ Fp3n18ZistC1W8VSoVKpvH8QgXnAoXgM6c9cfPXv0CkC7Uu1xn5zh59CxFB7btMc+ajV 5GBfjF9fGwDUT0wTH8boSRIGKj2FbsJQgiYw+KmfAO9+KF5pQbnpBM2JTU6ugntWRuyE e1IA== X-Forwarded-Encrypted: i=1; AJvYcCUz3MqtpMlkUYgah55eVavzkZ39wsgM4Dmw/qY1Kyw103T4JWFoHIrG/7anZoEILymbjP9gnX6D0zAe6BFEkjD3I0cPrL7KeNpYUS76vUlkoWU= X-Gm-Message-State: AOJu0YzbKoGGW/hU0s5zFJF57U1QRUGJv38zpc0fY8wgiOW/Hs0EtDKM 5Boiz4RpfZYVMOl82P0gZ/srjtETLibE8PFb56Y4WnhFVqTWzczfWOf7LqMvuC4= X-Google-Smtp-Source: AGHT+IHj6Ku1SlLeycX3BBrqFVuNDojRtoSuuN3VaZC2NvqJlEZFkyTdAgLhvZ+kMwOUKwvGrTDGLA== X-Received: by 2002:a19:f802:0:b0:513:e27c:78f0 with SMTP id a2-20020a19f802000000b00513e27c78f0mr1463695lff.46.1711704332376; Fri, 29 Mar 2024 02:25:32 -0700 (PDT) Received: from ?IPV6:2a01:e0a:982:cbb0:3cd8:c97b:1468:c232? ([2a01:e0a:982:cbb0:3cd8:c97b:1468:c232]) by smtp.gmail.com with ESMTPSA id n3-20020a5d67c3000000b00341ddb65b07sm3742703wrw.63.2024.03.29.02.25.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 29 Mar 2024 02:25:31 -0700 (PDT) Message-ID: Date: Fri, 29 Mar 2024 10:25:29 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Neil Armstrong Subject: Re: [PATCH 2/3] reset: reset-meson: add support for Amlogic T7 SoC Reset Controller To: kelvin.zhang@amlogic.com, Philipp Zabel , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kevin Hilman , Jerome Brunet , Martin Blumenstingl Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Zelong Dong References: <20240329-t7-reset-v1-0-4c6e2e68359e@amlogic.com> <20240329-t7-reset-v1-2-4c6e2e68359e@amlogic.com> Content-Language: en-US, fr Autocrypt: addr=neil.armstrong@linaro.org; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKk5laWwgQXJtc3Ryb25nIDxuZWlsLmFybXN0cm9uZ0BsaW5hcm8ub3JnPsLAkQQTAQoA OwIbIwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgBYhBInsPQWERiF0UPIoSBaat7Gkz/iuBQJk Q5wSAhkBAAoJEBaat7Gkz/iuyhMIANiD94qDtUTJRfEW6GwXmtKWwl/mvqQtaTtZID2dos04 YqBbshiJbejgVJjy+HODcNUIKBB3PSLaln4ltdsV73SBcwUNdzebfKspAQunCM22Mn6FBIxQ GizsMLcP/0FX4en9NaKGfK6ZdKK6kN1GR9YffMJd2P08EO8mHowmSRe/ExAODhAs9W7XXExw UNCY4pVJyRPpEhv373vvff60bHxc1k/FF9WaPscMt7hlkbFLUs85kHtQAmr8pV5Hy9ezsSRa GzJmiVclkPc2BY592IGBXRDQ38urXeM4nfhhvqA50b/nAEXc6FzqgXqDkEIwR66/Gbp0t3+r yQzpKRyQif3OwE0ETVkGzwEIALyKDN/OGURaHBVzwjgYq+ZtifvekdrSNl8TIDH8g1xicBYp QTbPn6bbSZbdvfeQPNCcD4/EhXZuhQXMcoJsQQQnO4vwVULmPGgtGf8PVc7dxKOeta+qUh6+ SRh3vIcAUFHDT3f/Zdspz+e2E0hPV2hiSvICLk11qO6cyJE13zeNFoeY3ggrKY+IzbFomIZY 4yG6xI99NIPEVE9lNBXBKIlewIyVlkOaYvJWSV+p5gdJXOvScNN1epm5YHmf9aE2ZjnqZGoM Mtsyw18YoX9BqMFInxqYQQ3j/HpVgTSvmo5ea5qQDDUaCsaTf8UeDcwYOtgI8iL4oHcsGtUX oUk33HEAEQEAAcLAXwQYAQIACQUCTVkGzwIbDAAKCRAWmrexpM/4rrXiB/sGbkQ6itMrAIfn M7IbRuiSZS1unlySUVYu3SD6YBYnNi3G5EpbwfBNuT3H8//rVvtOFK4OD8cRYkxXRQmTvqa3 3eDIHu/zr1HMKErm+2SD6PO9umRef8V82o2oaCLvf4WeIssFjwB0b6a12opuRP7yo3E3gTCS KmbUuLv1CtxKQF+fUV1cVaTPMyT25Od+RC1K+iOR0F54oUJvJeq7fUzbn/KdlhA8XPGzwGRy 4zcsPWvwnXgfe5tk680fEKZVwOZKIEuJC3v+/yZpQzDvGYJvbyix0lHnrCzq43WefRHI5XTT QbM0WUIBIcGmq38+OgUsMYu4NzLu7uZFAcmp6h8g Organization: Linaro In-Reply-To: <20240329-t7-reset-v1-2-4c6e2e68359e@amlogic.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240329_022537_055843_F96E92D3 X-CRM114-Status: GOOD ( 15.22 ) X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: neil.armstrong@linaro.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org On 29/03/2024 10:17, Kelvin Zhang via B4 Relay wrote: > From: Zelong Dong > > There are 7 sets of Reset Source in Amlogic T7 SoC Reset Controller, > and the offset between base and level registers is 0x40. > Add a new compatible string and struct meson_reset_param to support > the reset controller on T7 SoC. > > Signed-off-by: Zelong Dong > Signed-off-by: Kelvin Zhang > --- > drivers/reset/reset-meson.c | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/reset/reset-meson.c b/drivers/reset/reset-meson.c > index f78be97898bc..1e9fca3e30e8 100644 > --- a/drivers/reset/reset-meson.c > +++ b/drivers/reset/reset-meson.c > @@ -102,6 +102,11 @@ static const struct meson_reset_param meson_s4_param = { > .level_offset = 0x40, > }; > > +static const struct meson_reset_param t7_param = { > + .reg_count = 7, > + .level_offset = 0x40, > +}; > + > static const struct of_device_id meson_reset_dt_ids[] = { > { .compatible = "amlogic,meson8b-reset", .data = &meson8b_param}, > { .compatible = "amlogic,meson-gxbb-reset", .data = &meson8b_param}, > @@ -109,6 +114,7 @@ static const struct of_device_id meson_reset_dt_ids[] = { > { .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}, > + { .compatible = "amlogic,t7-reset", .data = &t7_param}, > { /* sentinel */ }, > }; > MODULE_DEVICE_TABLE(of, meson_reset_dt_ids); > Reviewed-by: Neil Armstrong _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic