-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'mfd-for-linus-4.5' of git://git.kernel.org/pub/scm/linux/k…
…ernel/git/lee/mfd Pull MFD updates from Lee Jones: "New Device Support: - Add support for s2mps15; sec-core - Add support for Lewisburg; lpc_ich - Add support for cs47l24 and wm1831; arizona New Functionality: - Allow user to select syscon register width; syscon Fix-ups: - Lots of Checkpatch fixes - Rename -pmic/-regulator; s2mps11 - Build driver components into a single module; wm8994-* - Better handing of IRQ during suspend/resume; as3722 - Constify things; da903x - Remove unused code; ab8500-core - Improve error handing; qcom_rpm - Simplify code: wm831x-otp, sta2x11-mfd - Improve locking; cros_ec_spi - Fix incorrect DT binding filename reference; arizona, palmas, snps-dwapb-gpio, wm8994 Bug Fixes: - Fix broken SYSFS 'show ID' call; wm831x-otp - Protect reads from non-existent registers; qcom-spmi-pmic - Repair build warnings; as3722 - Fix IRQ request ordering; arizona-irq - Ensure return value is boolean; ucb1x00-core, tps65010, tc6393xb, htc-egpio, dm355evm_msp, asic3" * tag 'mfd-for-linus-4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd: (58 commits) mfd: davinci_voicecodec: Remove pointless 'out of memory' error message mfd: da9052-irq: Fix trivial 'space before comma' error mfd: da9052-i2c: Fix tabbing/whitespace issue mfd: da903x: Fix white space and split string issues mfd: cs5535-mfd: Add missing line spacing and make local array static mfd: cros_ec_spi: Repair comparison ordering issue mfd: cros_ec_i2c: Fix trivial 'tabs before spaces' whitespace issue. mfd: asic3: Fix a plethora of Checkpatch errors and warnings mfd: as3711: Repair OOM and 'line over 80 chars' formatting warnings mfd: arizona-i2c: Add blank line formatting after declaration mfd: arizona-core: msleep() is unreliable for anything <20ms use usleep_range() instead mfd: adp5520: Some trivial 'no space before tab' fixes mfd: ab8500-sysctrl: Fix Constify, printk => pr_info and formatting issues mfd: ab8500-gpadc: Squash a whole bunch of Checkpatch warnings and one error mfd: ab8500-debugfs: Clean-up non-conforming commenting and print formatting mfd: ab8500-core: Fix many warnings reported by Checkpatch mfd: ab2100-otp: Remove pointless 'out of memory' error message mfd: ab3100-core.c: Fix multiple warnings reported by Checkpatch mfd: aat2870-core: Remove unnecessary 'out of memory' message mfd: 88pm860x-core: Fix commenting and declaration spacing ...
- Loading branch information
Showing
73 changed files
with
2,983 additions
and
1,230 deletions.
There are no files selected for viewing
49 changes: 49 additions & 0 deletions
49
Documentation/devicetree/bindings/clock/samsung,s2mps11.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
Binding for Samsung S2M and S5M family clock generator block | ||
============================================================ | ||
|
||
This is a part of device tree bindings for S2M and S5M family multi-function | ||
devices. | ||
More information can be found in bindings/mfd/sec-core.txt file. | ||
|
||
The S2MPS11/13/15 and S5M8767 provide three(AP/CP/BT) buffered 32.768 kHz | ||
outputs. The S2MPS14 provides two (AP/BT) buffered 32.768 KHz outputs. | ||
|
||
To register these as clocks with common clock framework instantiate under | ||
main device node a sub-node named "clocks". | ||
|
||
It uses the common clock binding documented in: | ||
- Documentation/devicetree/bindings/clock/clock-bindings.txt | ||
|
||
|
||
Required properties of the "clocks" sub-node: | ||
- #clock-cells: should be 1. | ||
- compatible: Should be one of: "samsung,s2mps11-clk", "samsung,s2mps13-clk", | ||
"samsung,s2mps14-clk", "samsung,s5m8767-clk" | ||
The S2MPS15 uses the same compatible as S2MPS13, as both provides similar | ||
clocks. | ||
|
||
|
||
Each clock is assigned an identifier and client nodes use this identifier | ||
to specify the clock which they consume. | ||
Clock ID Devices | ||
---------------------------------------------------------- | ||
32KhzAP 0 S2MPS11/13/14/15, S5M8767 | ||
32KhzCP 1 S2MPS11/13/15, S5M8767 | ||
32KhzBT 2 S2MPS11/13/14/15, S5M8767 | ||
|
||
Include dt-bindings/clock/samsung,s2mps11.h file to use preprocessor defines | ||
in device tree sources. | ||
|
||
|
||
Example: | ||
|
||
s2mps11_pmic@66 { | ||
compatible = "samsung,s2mps11-pmic"; | ||
reg = <0x66>; | ||
|
||
s2m_osc: clocks { | ||
compatible = "samsung,s2mps11-clk"; | ||
#clock-cells = <1>; | ||
clock-output-names = "xx", "yy", "zz"; | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.