Message ID | 20241203111314.2420473-1-claudiu.beznea.uj@bp.renesas.com (mailing list archive) |
---|---|
Headers | show
Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (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 BF4221E377C for <linux-renesas-soc@vger.kernel.org>; Tue, 3 Dec 2024 11:13:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733224414; cv=none; b=Alh9ZtaDjGBoOyZj1t3G4qSkNRdQMbrwIdsxVKQLdeRStHReOm4shik355AxZdJLhw+q6UDkX8ZQr6rWRqtOp3ckYzvxzh3OaieTnuwAQ4sr1NX80uw6W8IcKYooEvdc6ki3w7aAHsvW8d1V6+L6+jOvaFZ1l9OWuKq7YB+mgOM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733224414; c=relaxed/simple; bh=oGSk6hVxW1wYB/QI1mVV80YFrcUPoJqrE8+x2OzhEEI=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=PmKPr0Mk5yaaIVga5PNCNiSVHnuSPOROK/a9aP2kZdmgb5dhTvjo7k8asyWC0/qA+rNp2sYEvWCtwrGRNhG7VAh1Lji0ojwsRfDMpTi7Cubc1XLZWqsuBsGZ9joQ2UhLIWFRtIs9GoXlVJ6/p67TK+dcIZNiJm/qcoux/64UvZk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev; spf=pass smtp.mailfrom=tuxon.dev; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b=T1Mansl/; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tuxon.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="T1Mansl/" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4349e4e252dso50164085e9.0 for <linux-renesas-soc@vger.kernel.org>; Tue, 03 Dec 2024 03:13:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1733224410; x=1733829210; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ZHAew+5pIUtNZ469Ay/e6iOZX+tKVuk7Y65o+7qMTAc=; b=T1Mansl/VVrNqeYSnHiYEZTqakQvk/nx49YN3fgp8Rg+KuMxAhUWAZabiOdqYyOZsp 8k5c0nH36NbZidcxPKY7IDdM3v/Ht8fzXEWFd0fiX3XvQhv4IieC7aCDgc8I/YHqNtv9 svkoribsIoW7pcoCaZUykqDrB82Mu3Bam8E+jfgHavADowlFG2YMYeUQ+fCL+CTeo2Sx BniANs0Tr9sKS/rlgLv7q5QYW/UIwREHeuDPis1TeMDf5vLbPpfqMjBJRz+MBQVVN1XX LAsAqjQWVXK+FnMDXUCUK7Im5di9D0MLb6sgx9Ymh5XDKu1wDlx0naTRBVsLe/0lheSC bNOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733224410; x=1733829210; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZHAew+5pIUtNZ469Ay/e6iOZX+tKVuk7Y65o+7qMTAc=; b=xQHQnK5kM0VKxtquNTrDA5j9RsoNsuNcjiRePdau8Xa2jwHZI72zNarT5tVkf23BOn MAhe+knS9QEucauo4v7+izv2RFn8oJZvU9PycoGsCY0Z6iyKFon6R9z7MkvYQe0zWCEe Pjg46wK6FTL+D7zRTcuDIIH1VHrjIgof75rhiwZUm894+oeaUoy3DE7t9tJlcjqHA1gI /B2vM+qpdeduYgzIcp0NgmqFVMba8TFfnq6DXvU1ILMPtTgdUbYkwey2J7iADBZNb+bf kekizMmpDXwoEj78dir5BRq4EPsIXd1K8D6+WQUtdzaffGJNeHk5KH6GsG8gaHkfIpI2 hQGg== X-Forwarded-Encrypted: i=1; AJvYcCXpuLc5u0mVJR5lry/Bvyl47Con5anxXly9nCTyvr/YEvpmdpOTMydqkF/3Yxz8Vk4afHuMwM+5RP5wi6XKzE6yhg==@vger.kernel.org X-Gm-Message-State: AOJu0YwiW2jggvfHq7uzIVHw6GDzNRkjUkjv5OYjWXe9GPkzNjoos8xs Jp/jnwFeR6W5Fm1BFWQgCMG0lwTPcZBoaxUQ+2YR+JRNqQmeKzAgi7psaV/+Eu4= X-Gm-Gg: ASbGncsOyev1TSM8PCUiaqwehUYqn5BsShts7XbpZGu7YlFVlssSfX8P6uCuMv2tpSe bVS1XdCTHxMk0GA/DRpVpS5Uo4TwfkSK39v0gAeUhF2CPgEwoJ23T/nCZphaMvCC9cHo6PPH7dx FwDEOpXh/M/YuLSU8zMks0i/J2PIFFfN5e0NhyXO4E1KKa2/fTlZg50GbfhuYcD+bD/Mle8g4wd xdoOa88wMHqtWJH8mFM00Rvxfrs9u08WPRUPVJW9h35a8DVJAiTUJ+TZSBy1hWq39RfOE9Vo9qn qNPV X-Google-Smtp-Source: AGHT+IErtKnY0Pv3GfVcIJwifhLrCQ99HAQ814LD/e3xtS/wVzvpDdVQw8u6DVBzuWDInXQU6dGy3Q== X-Received: by 2002:a05:600c:1f91:b0:42c:de34:34be with SMTP id 5b1f17b1804b1-434d09acf48mr20434705e9.3.1733224409944; Tue, 03 Dec 2024 03:13:29 -0800 (PST) Received: from claudiu-X670E-Pro-RS.. ([82.78.167.161]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-385e0117069sm11794315f8f.60.2024.12.03.03.13.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Dec 2024 03:13:29 -0800 (PST) From: Claudiu <claudiu.beznea@tuxon.dev> X-Google-Original-From: Claudiu <claudiu.beznea.uj@bp.renesas.com> To: prabhakar.mahadev-lad.rj@bp.renesas.com, jic23@kernel.org, lars@metafoo.de, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, geert+renesas@glider.be, magnus.damm@gmail.com, mturquette@baylibre.com, sboyd@kernel.org, p.zabel@pengutronix.de Cc: claudiu.beznea@tuxon.dev, linux-iio@vger.kernel.org, linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Subject: [PATCH 00/14] iio: adc: rzg2l_adc: Add support for RZ/G3S Date: Tue, 3 Dec 2024 13:13:00 +0200 Message-Id: <20241203111314.2420473-1-claudiu.beznea.uj@bp.renesas.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: <linux-renesas-soc.vger.kernel.org> List-Subscribe: <mailto:linux-renesas-soc+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-renesas-soc+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit |
Series |
iio: adc: rzg2l_adc: Add support for RZ/G3S
|
expand
|
From: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Hi, This series adds ADC support for the Renesas RZ/G3S SoC. Series is organized as follows: - patch 01/14: adds clocks, reset and power domain support for ADC - patches 02-06/14: cleanup patches to ease the addition of RZ/G3S support - patches 07/14: enables runtime PM autosuspend support - patches 08-12/14: add RZ/G3S support, including suspend-to-RAM functionality - patches 13-14/14: add device tree support Merge strategy, if any: - patch 01/14 can go through the Renesas tree - patches 02-12/14 can go through the IIO tree - patch 13-14/14 can go through the Renesas tree Thank you, Claudiu Beznea Claudiu Beznea (14): clk: renesas: r9a08g045: Add clocks, resets and power domain support for the ADC IP iio: adc: rzg2l_adc: Use devres helpers to request pre-deasserted reset controls iio: adc: rzg2l_adc: Simplify the runtime PM code iio: adc: rzg2l_adc: Switch to RUNTIME_PM_OPS() and pm_ptr() iio: adc: rzg2l_adc: Use read_poll_timeout() iio: adc: rzg2l_adc: Simplify the locking scheme in rzg2l_adc_read_raw() iio: adc: rzg2l_adc: Enable runtime PM autosuspend support iio: adc: rzg2l_adc: Prepare for the addition of RZ/G3S support iio: adc: rzg2l_adc: Add support for channel 8 iio: adc: rzg2l_adc: Add suspend/resume support dt-bindings: iio: adc: renesas,rzg2l-adc: Document RZ/G3S SoC iio: adc: rzg2l_adc: Add support for Renesas RZ/G3S arm64: dts: renesas: r9a08g045: Add ADC node arm64: dts: renesas: rzg3s-smarc-som: Enable ADC .../bindings/iio/adc/renesas,rzg2l-adc.yaml | 37 +- arch/arm64/boot/dts/renesas/r9a08g045.dtsi | 53 +++ .../boot/dts/renesas/rzg3s-smarc-som.dtsi | 4 + drivers/clk/renesas/r9a08g045-cpg.c | 7 + drivers/iio/adc/rzg2l_adc.c | 414 ++++++++++-------- 5 files changed, 323 insertions(+), 192 deletions(-)