Commit graph android_kernel_sony_sdm845/include/linux/ssbi.h
Message SHA1
mfd: ssbi: Add regmap read/write helpers
Add read and write helper functions that the pm8921-core driver
can use to read and write ssbi registers via a "no-bus" regmap.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

Stephen Boyd   authored and   Lee Jones   commited 2014-03-19 08:58:30 +00:00
559c04f6f1
mfd: ssbi: Constify buffer in ssbi_write
In preparation for passing a const pointer directly to
ssbi_write() from the regmap APIs.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

Stephen Boyd   authored and   Lee Jones   commited 2014-01-21 08:28:07 +00:00
5eec14ccf9
mfd: ssbi: Remove platform data structs and hide ssbi type enum
The ssbi driver assumes that the device is DT based. Remove the
platform data structs that will never be used and hide the enum
in the only C file that uses it.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

Stephen Boyd   authored and   Lee Jones   commited 2014-01-21 08:28:07 +00:00
bae911a055
SSBI: Remove MSM_ prefix from SSBI drivers
Although the SSBI sub is currently only used on MSM SoCs, it is still
a bus in its own right.  Remove this msm_ prefix from the driver and
it's symbols.  Clients can now refer directly to ssbi_write() and
ssbi_read().

Signed-off-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

David Brown   authored and   Greg Kroah-Hartman   commited 2013-03-25 10:39:40 -07:00
ce44bf5b55
Renamed from include/linux/msm_ssbi.h (Browse further)