mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 13:14:02 +02:00
dt-bindings: clock: Add spread spectrum definition
Per dt-schema, the modulation methods are: down-spread(3), up-spread(2), center-spread(1), no-spread(0). So define them in dt-bindings to avoid write the magic number in device tree. Reviewed-by: Brian Masney <bmasney@redhat.com> Acked-by: Rob Herring (Arm) <robh@kernel.org> Reviewed-by: Sebin Francis <sebin.francis@ti.com> Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Brian Masney <bmasney@redhat.com>
This commit is contained in:
parent
03221f26ed
commit
ae794aa6e8
14
include/dt-bindings/clock/clock.h
Normal file
14
include/dt-bindings/clock/clock.h
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
/* SPDX-License-Identifier: GPL-2.0-only OR MIT */
|
||||
/*
|
||||
* Copyright 2025 NXP
|
||||
*/
|
||||
|
||||
#ifndef __DT_BINDINGS_CLOCK_H
|
||||
#define __DT_BINDINGS_CLOCK_H
|
||||
|
||||
#define CLK_SSC_NO_SPREAD 0
|
||||
#define CLK_SSC_CENTER_SPREAD 1
|
||||
#define CLK_SSC_UP_SPREAD 2
|
||||
#define CLK_SSC_DOWN_SPREAD 3
|
||||
|
||||
#endif /* __DT_BINDINGS_CLOCK_H */
|
||||
Loading…
Reference in New Issue
Block a user