From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0DCFA176AA9 for ; Tue, 22 Oct 2024 08:42:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729586577; cv=none; b=Mvpf/WtUSHKAVJ5iVYqOARYuveIMXHaRs1S4wV68L7CAjZGJfhTEKRyHF28ldPrlgjuwj8stu1xeVP5TPCjMKTpsNtwujZZ9aWB2MYhV/C6eVfa1dzonA2sWqkV40lJ2dAQDM8XeUb8iT8Itl/2ThqWkoczXUPBY8SQX8R68WbE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1729586577; c=relaxed/simple; bh=Eb5cq6rhpvrVx58PTZz7HAj5RGu1n0Lf/stla6XXmuI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=qPMOQNm/O2x7Q1kTrZ5XPGZCuDHZqvIUEgeb+aUe8cqXqoM9l+Az++ZTJyLC4jwGYVcr/Fk9VyuojzjcYQ+3kAfxpetyws4Zl/+Lh3tE9e02cjOFkTDlfDT0L/MP299dBd9mDiCeKq0CJd5eU/jQvLFn6JN3Sb5u4dr0N/iatfc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com; spf=pass smtp.mailfrom=baylibre.com; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b=F6++lCn9; arc=none smtp.client-ip=209.85.128.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="F6++lCn9" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-43163667f0eso38047165e9.0 for ; Tue, 22 Oct 2024 01:42:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1729586573; x=1730191373; darn=vger.kernel.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=1jpnHnQ3gPJsZV3rud6D7V0PkG3eWvAEvUguSu5qf1I=; b=F6++lCn9BxSckRtsBnnNu3SVH90ucKKDu1CKtEBCql7EeVGT+IKfwziUMEVYIdSQGU anyAisyiuEMZGFOMB0obu+iZJVGMB9C65ebpvoFLBCkcoSVdktpT6QQm4p/kQA/5M7XV /AE17pk9aPG+w92rdNQ7hUhOcBOtZ1Lxs1KDATQ3cStiazRAQAalCQ9xYWscBhk8kEdu q/p+dTQ3gGgKKQPu/OPv4K6Xo4RpZzy70NoY1wx1sXJtFlN7ZPmec7VhC325d5XSKwUR yJvJrmMBc3miL63olEES3W8h+I8UXzcIRkD76zyQTBBz4GjL0QTLEEpaIVyiVKy48zil fBdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1729586573; x=1730191373; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1jpnHnQ3gPJsZV3rud6D7V0PkG3eWvAEvUguSu5qf1I=; b=SWDWfoxw3MMeui7KlFqyJBeWJI3trLHPZKIEdUM2RFysU5x0a7IzBx34qeERh06lVV 8T4hWwCc9R45KxOfW3kl3sgIz2YZeqJBUNHm+1OjCImPvIHgdqZK6bWzO5KbXmEIWoFD E9IcloXJUDV4LEpL3dVzigVh8cIYBGhoqWwza7RAU2q44eR7xNs/9qPr9uVn/clRQwBe 88AReUU/cPVy7BlyBKd7l6AznHcREOj9r9fgfe3zoCx7Mto+muAgER3e4v6FmfPIqOzv jTqnDqw7BmLIQQ/98qkzDau0/a27eTPYLuq0ddZlRg1OoGRiXnLLTKvbEa0RhHjiJVKI pHig== X-Forwarded-Encrypted: i=1; AJvYcCWk+BEEu8NW2/0lU/c70NF+3DnmEGG50rqBa4WMvuvmD/e0rLDlpIIVGnMtYVqeJ1ERnuTv87o2v14=@vger.kernel.org X-Gm-Message-State: AOJu0YyNICoxqVTpVV8FSEjyTRKouakeHC+u6vZuw676Hfc2TESe00w6 2gVhFT8Ko2WlfBf7qsxJwWJQRtBK23No6ubuiyKKpVsuZwkSaiJL5XPLBpG7Ens= X-Google-Smtp-Source: AGHT+IHRQTZKw+rsQ6rr0wLIuGP9VOmB5Go8obeenaZUn2sWIynPYNrej4PW0IGYCYtMiZC4z5Keng== X-Received: by 2002:adf:f452:0:b0:37c:d569:97b with SMTP id ffacd0b85a97d-37ea2174eb6mr8577418f8f.19.1729586573251; Tue, 22 Oct 2024 01:42:53 -0700 (PDT) Received: from localhost ([2a01:e0a:3c5:5fb1:ef1c:ae40:1300:20c6]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37ee0b9bb15sm6114405f8f.99.2024.10.22.01.42.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Oct 2024 01:42:52 -0700 (PDT) From: Jerome Brunet To: Jan Dakinevich Cc: Conor Dooley , , Kevin Hilman , "Krzysztof Kozlowski" , , , , , Martin Blumenstingl , Michael Turquette , Neil Armstrong , Philipp Zabel , Rob Herring , Stephen Boyd Subject: Re: [RFC PATCH v4 1/5] reset: amlogic: add support for A1 SoC in auxiliary reset driver In-Reply-To: <20240913121152.817575-2-jan.dakinevich@salutedevices.com> (Jan Dakinevich's message of "Fri, 13 Sep 2024 15:11:48 +0300") References: <20240913121152.817575-1-jan.dakinevich@salutedevices.com> <20240913121152.817575-2-jan.dakinevich@salutedevices.com> Date: Tue, 22 Oct 2024 10:42:52 +0200 Message-ID: <1jbjzcle9f.fsf@starbuckisacylon.baylibre.com> Precedence: bulk X-Mailing-List: linux-clk@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Fri 13 Sep 2024 at 15:11, Jan Dakinevich wrote: > Add support for the reset controller present in the audio clock > controller of A1 SoC families, using the auxiliary bus. > > Signed-off-by: Jan Dakinevich Independent of clock controller. Should be sent separately > --- > drivers/reset/amlogic/reset-meson-aux.c | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/drivers/reset/amlogic/reset-meson-aux.c b/drivers/reset/amlogic/reset-meson-aux.c > index dd8453001db9..a385c0125836 100644 > --- a/drivers/reset/amlogic/reset-meson-aux.c > +++ b/drivers/reset/amlogic/reset-meson-aux.c > @@ -26,6 +26,12 @@ struct meson_reset_adev { > #define to_meson_reset_adev(_adev) \ > container_of((_adev), struct meson_reset_adev, adev) > > +static const struct meson_reset_param meson_a1_audio_param = { > + .reset_ops = &meson_reset_toggle_ops, > + .reset_num = 32, > + .level_offset = 0x28, > +}; > + > static const struct meson_reset_param meson_g12a_audio_param = { > .reset_ops = &meson_reset_toggle_ops, > .reset_num = 26, > @@ -40,6 +46,9 @@ static const struct meson_reset_param meson_sm1_audio_param = { > > static const struct auxiliary_device_id meson_reset_aux_ids[] = { > { > + .name = "a1-audio-clkc.rst-a1", > + .driver_data = (kernel_ulong_t)&meson_a1_audio_param, > + }, { > .name = "axg-audio-clkc.rst-g12a", > .driver_data = (kernel_ulong_t)&meson_g12a_audio_param, > }, { -- Jerome