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 4656EC04FFE for ; Sat, 18 May 2024 01:44:12 +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-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:CC:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=HVHTn73ZuC18q7yvfhJ2YY2nF5CXmi/RRmsTIJef3sA=; b=rtArLj/k78Viad Yg/tYAYcG0NyrKc6+jqzQK1Utr/TcYjTL29YdqFjiUkPRMc27WMH615r0+Rv44c/CQvW1vdlMtXmK 9oLOI0u6eru4P6A4CX9Seo0BFyucamEVMQ5KzIhq0AH8m3DU3fCcLuVm5NzXoZ4mh0Ctl6z2nAgz2 STKGVEx6J4i88pJG7cx8NTnFCKEH0I5HD4ExUti7GmF/fmU3AGVnYrLnKvS3gi0eaV7YwKUc4n/2c o/TKu/DwDwCuHKLMECsAIxsC3W/RsE6rA04oyNECM43UQhWrxXyUuwSBDCeNNK63flfzQgiHQwWM2 Eh6NgO23zQebsRMTz+aw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s897D-00000009NVK-1aQI; Sat, 18 May 2024 01:44:03 +0000 Received: from mx1.sberdevices.ru ([37.18.73.165]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s8978-00000009NU9-0Lvk for linux-amlogic@lists.infradead.org; Sat, 18 May 2024 01:43:59 +0000 Received: from p-infra-ksmg-sc-msk01 (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id BB146100008; Sat, 18 May 2024 04:43:54 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru BB146100008 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1715996634; bh=ciRY/oNH7Pr9VAZ4Mv/e3qGv1izWj9doEd37rAcP5cM=; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type:From; b=IMf90iAcoSN85RZyksX59dlMj9rPJKI1jtqcZgaIRUrqVMj+wTg42Ws8be2pJG7oA 18W2bAU12HxBvhxLOY07WeSIBO5ezTql8gIFvhkVGZ9Chh/ej9De7eFRJL4o/3AiQR 2mQUtooEDPzLjYvShSLKVNdagcYmF1gdjsBKWGxH5qEiUi2ne9CYhMPEqHbs/waSoe QEdiy6xcttSndUVD8hBKXzcoRS1uvEozFjjr3kXgFQra8AdK7RNTFPn0At0velRA0J uW8rFYg69KnO7Ug36X/awf8NIN1XxDKXgUr6OXvcXieUHMDeB48iEUfNBWvVp9XuuP SFxHs/OOCskFg== Received: from smtp.sberdevices.ru (p-i-exch-sc-m02.sberdevices.ru [172.16.192.103]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sberdevices.ru (Postfix) with ESMTPS; Sat, 18 May 2024 04:43:54 +0300 (MSK) Received: from [192.168.20.2] (100.64.160.123) by p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Sat, 18 May 2024 04:43:54 +0300 Message-ID: Date: Sat, 18 May 2024 04:43:02 +0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH 0/9] reset: amlogic: move reset drivers out of CCF Content-Language: en-US To: Jerome Brunet , Philipp Zabel , Stephen Boyd , Neil Armstrong CC: , , References: <20240516150842.705844-1-jbrunet@baylibre.com> From: Jan Dakinevich In-Reply-To: <20240516150842.705844-1-jbrunet@baylibre.com> X-Originating-IP: [100.64.160.123] X-ClientProxiedBy: p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) To p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) X-KSMG-Rule-ID: 10 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Lua-Profiles: 185325 [May 18 2024] X-KSMG-AntiSpam-Version: 6.1.0.4 X-KSMG-AntiSpam-Envelope-From: YVDakinevich@sberdevices.ru X-KSMG-AntiSpam-Rate: 0 X-KSMG-AntiSpam-Status: not_detected X-KSMG-AntiSpam-Method: none X-KSMG-AntiSpam-Auth: dkim=none X-KSMG-AntiSpam-Info: LuaCore: 20 0.3.20 743589a8af6ec90b529f2124c2bbfc3ce1d2f20f, {Tracking_smtp_not_equal_from}, {Tracking_uf_ne_domains}, {Tracking_from_domain_doesnt_match_to}, d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;127.0.0.199:7.1.2;sberdevices.ru:7.1.1,5.0.1;smtp.sberdevices.ru:7.1.1,5.0.1;100.64.160.123:7.1.2;salutedevices.com:7.1.1;lore.kernel.org:7.1.1, FromAlignment: n, {Tracking_smtp_domain_mismatch}, {Tracking_smtp_domain_2level_mismatch}, {Tracking_white_helo}, ApMailHostAddress: 100.64.160.123 X-MS-Exchange-Organization-SCL: -1 X-KSMG-AntiSpam-Interceptor-Info: scan successful X-KSMG-AntiPhishing: Clean, bases: 2024/05/18 00:39:00 X-KSMG-LinksScanning: Clean, bases: 2024/05/18 00:41:00 X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.0.1.6960, bases: 2024/05/17 20:54:00 #25244128 X-KSMG-AntiVirus-Status: Clean, skipped X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240517_184358_506221_0EB60033 X-CRM114-Status: GOOD ( 17.05 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org This is a nice rework! But unfortunately after applying these patches at least USB doesn't work on A1 SoC. My assumption it is because RESET_MESON is now unselected due to dependency on AUXILIARY_BUS. On 5/16/24 18:08, Jerome Brunet wrote: > This RFC follows the discussion about having reset driver in the clock tree > [1]. Ideally those should reside in the reset part of tree. > > Also the code of the amlogic reset driver is very similar between the 2 trees > and could use the same driver code. > > This RFC moves the reset driver of audio clock controller of the g12 and > sm1 SoC family to the reset tree, using the auxiliary bus. > > The infrastructure put in place is meant to be generic enough so we may > eventually also move the reset drivers in the meson8b and aoclk clock > controllers. > > [1] https://lore.kernel.org/linux-clk/e3a85852b911fdf16dd9ae158f42b3ef.sboyd@kernel.org > > Jerome Brunet (9): > reset: amlogic: convert driver to regmap > reset: amlogic: add driver parameters > reset: amlogic: split the device and platform probe > reset: amlogic: use reset number instead of register count > reset: amlogic: add reset status support > reset: amlogic: add toggle reset support > reset: amlogic: add auxiliary reset driver support > clk: meson: add auxiliary reset helper driver > clk: amlogic: axg-audio: use the auxiliary reset driver > > drivers/clk/meson/Kconfig | 6 + > drivers/clk/meson/Makefile | 1 + > drivers/clk/meson/axg-audio.c | 108 +-------- > drivers/clk/meson/meson-clk-rst-aux.c | 84 +++++++ > drivers/clk/meson/meson-clk-rst-aux.h | 14 ++ > drivers/reset/Kconfig | 1 + > drivers/reset/reset-meson.c | 210 ++++++++++++++---- > include/soc/amlogic/meson8b-auxiliary-reset.h | 17 ++ > 8 files changed, 293 insertions(+), 148 deletions(-) > create mode 100644 drivers/clk/meson/meson-clk-rst-aux.c > create mode 100644 drivers/clk/meson/meson-clk-rst-aux.h > create mode 100644 include/soc/amlogic/meson8b-auxiliary-reset.h > -- Best regards Jan Dakinevich _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic