driver: sensor: add tachometer driver for rts5912
Add tachometer driver for Realtek rts5912. Signed-off-by: Jhan BoChao <jhan_bo_chao@realtek.com>
This commit is contained in:
parent
8b54e8afa9
commit
482d17f235
11 changed files with 261 additions and 0 deletions
|
@ -267,6 +267,15 @@
|
|||
interrupt-parent = <&nvic>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
tach0: tach@4000fd00 {
|
||||
compatible = "realtek,rts5912-tach";
|
||||
reg = <0x4000fd00 0x40>;
|
||||
clocks = <&sccon RTS5912_SCCON_PERIPH_GRP0 PERIPH_GRP0_TACH0_CLKPWR>;
|
||||
clock-names = "tacho";
|
||||
interrupts = <192 0>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
swj_port: swj-port {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue