Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1210114
| From | Chen-Yu Tsai <wens@csie.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v3 0/8] ARM: sunxi: Add Reduced Serial Bus support |
| Date | 2015-08-20 04:10 +0200 |
| Message-ID | <pZnsJ-7ui-9@gated-at.bofh.it> (permalink) |
| References | <pZ3aG-3oT-3@gated-at.bofh.it> <pZez8-2Yu-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Aug 20, 2015 at 12:32 AM, Mark Brown <broonie@kernel.org> wrote: > On Wed, Aug 19, 2015 at 12:20:01PM +0800, Chen-Yu Tsai wrote: >> Hi everyone, >> >> This is my third attempt at adding support for Allwinner's Reduced >> Serial Bus (RSB), which is used to communicate with PMICs and other >> peripherals on their newer SoCs, such as the A23/A33/A80. > > This is flagged as something that is specific to the Allwinner SoCs. > Why add generic regmap support rather than just implement the regmap > reg_read() and reg_write() in a regmap in the controller driver? Are > there expected to be other controller drivers from other vendors? I don't expect there to be any other controller drivers. And it seems at least some of the devices are dual interface (I2C/RSB). Though I don't see how its connected to the generic regmap support. Regmap is for device drivers connected to the RSB bus, not the bus controller itself. That said, there are a few RSB mfd slave devices that need support, those being the later AXP series PMICs, and AC100/AC200 audio-codec/RTC chips. The current axp20x driver already uses i2c regmaps. I could throw all the RSB-related stuff together, presumably under drivers/soc/sunxi/rsb, though that doesn't help the fact that common regmap code would be better than scattering regmap_* in various mfd drivers. Regards ChenYu -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v3 0/8] ARM: sunxi: Add Reduced Serial Bus support Chen-Yu Tsai <wens@csie.org> - 2015-08-19 06:30 +0200
[PATCH v3 6/8] ARM: dts: sun8i: Add Reduced Serial Bus controller device node to A23/A33 dtsi Chen-Yu Tsai <wens@csie.org> - 2015-08-19 06:30 +0200
[PATCH v3 3/8] rsb: Linux driver framework for Reduced Serial Bus (RSB) Chen-Yu Tsai <wens@csie.org> - 2015-08-19 06:30 +0200
Re: [PATCH v3 3/8] rsb: Linux driver framework for Reduced Serial Bus (RSB) Mark Brown <broonie@kernel.org> - 2015-08-20 19:10 +0200
[PATCH v3 1/8] rsb: Add generic Reduced Serial Bus (RSB) controller binding documentation Chen-Yu Tsai <wens@csie.org> - 2015-08-19 06:30 +0200
Re: [PATCH v3 1/8] rsb: Add generic Reduced Serial Bus (RSB) controller binding documentation Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-08-20 17:10 +0200
Re: [PATCH v3 1/8] rsb: Add generic Reduced Serial Bus (RSB) controller binding documentation Chen-Yu Tsai <wens@csie.org> - 2015-08-20 18:00 +0200
Re: [PATCH v3 1/8] rsb: Add generic Reduced Serial Bus (RSB) controller binding documentation Maxime Ripard <maxime.ripard@free-electrons.com> - 2015-08-20 23:30 +0200
Re: [PATCH v3 1/8] rsb: Add generic Reduced Serial Bus (RSB) controller binding documentation Rob Herring <robherring2@gmail.com> - 2015-08-24 00:50 +0200
Re: [PATCH v3 0/8] ARM: sunxi: Add Reduced Serial Bus support Mark Brown <broonie@kernel.org> - 2015-08-19 18:40 +0200
Re: [PATCH v3 0/8] ARM: sunxi: Add Reduced Serial Bus support Chen-Yu Tsai <wens@csie.org> - 2015-08-20 04:10 +0200
Re: [PATCH v3 0/8] ARM: sunxi: Add Reduced Serial Bus support Mark Brown <broonie@kernel.org> - 2015-08-20 19:10 +0200
csiph-web