mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 11:09:48 +07:00
e93762bbf6
This patches makes following changes to omap_hdq driver - Enable 1-wire mode. - Implement w1_triplet callback to facilitate search rom procedure and auto detection of 1-wire slaves. - Proper enabling and disabling of interrupt. - Cleanups (formatting and return value checks). HDQ mode remains unchanged. Signed-off-by: Vignesh R <vigneshr@ti.com> Cc: Rob Herring <robh+dt@kernel.org> Cc: Pawel Moll <pawel.moll@arm.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Ian Campbell <ijc+devicetree@hellion.org.uk> Cc: Kumar Gala <galak@codeaurora.org> Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Cc: Jonathan Corbet <corbet@lwn.net> CC: Tony Lindgren <tony@atomide.com> Cc: Vignesh R <vigneshr@ti.com> Cc: NeilBrown <neilb@suse.de> Cc: Fabian Frederick <fabf@skynet.be> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
23 lines
535 B
Plaintext
23 lines
535 B
Plaintext
* OMAP HDQ One wire bus master controller
|
|
|
|
Required properties:
|
|
- compatible : should be "ti,omap3-1w" or "ti,am4372-hdq"
|
|
- reg : Address and length of the register set for the device
|
|
- interrupts : interrupt line.
|
|
- ti,hwmods : "hdq1w"
|
|
|
|
Optional properties:
|
|
- ti,mode: should be "hdq": HDQ mode "1w": one-wire mode.
|
|
If not specified HDQ mode is implied.
|
|
|
|
Example:
|
|
|
|
- From omap3.dtsi
|
|
hdqw1w: 1w@480b2000 {
|
|
compatible = "ti,omap3-1w";
|
|
reg = <0x480b2000 0x1000>;
|
|
interrupts = <58>;
|
|
ti,hwmods = "hdq1w";
|
|
ti,mode = "hdq";
|
|
};
|