From: Robin van der Gracht <robin.van.der.gracht@protonic.nl>
To: barebox@lists.infradead.org
Cc: Robin van der Gracht <robin.van.der.gracht@protonic.nl>
Subject: [PATCH] aiodev: rockchip_saradc: Fix ADC resolution for RK3562
Date: Wed, 4 Mar 2026 13:46:06 +0100 [thread overview]
Message-ID: <20260304124606.549402-1-robin.van.der.gracht@protonic.nl> (raw)
The RK3562 has a 10 bit A/D converter.
Fixes: 6e46ee2f (aiodev: rockchip_saradc: Add RK3562 support)
Signed-off-by: Robin van der Gracht <robin.van.der.gracht@protonic.nl>
---
drivers/aiodev/rockchip_saradc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/aiodev/rockchip_saradc.c b/drivers/aiodev/rockchip_saradc.c
index d4cb1f4fbe..38f6f0d93e 100644
--- a/drivers/aiodev/rockchip_saradc.c
+++ b/drivers/aiodev/rockchip_saradc.c
@@ -257,7 +257,7 @@ static int rockchip_saradc_probe(struct device *dev)
}
static const struct rockchip_saradc_cfg rk3562_saradc_cfg = {
- .num_bits = 12,
+ .num_bits = 10,
.num_channels = 8,
.read = rockchip_saradc_read_v2,
};
--
2.43.0
reply other threads:[~2026-03-04 12:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260304124606.549402-1-robin.van.der.gracht@protonic.nl \
--to=robin.van.der.gracht@protonic.nl \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox