Searched +full:sc9860 +full:- +full:i2c (Results 1 – 3 of 3) sorted by relevance
/linux-6.14.4/Documentation/devicetree/bindings/i2c/ |
D | sprd,sc9860-i2c.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/i2c/sprd,sc9860-i2c.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Spreadtrum SC9860 I2C controller 10 - Orson Zhai <[email protected]> 11 - Baolin Wang <[email protected]> 12 - Chunyan Zhang <[email protected]> 15 - $ref: /schemas/i2c/i2c-controller.yaml# 19 const: sprd,sc9860-i2c [all …]
|
/linux-6.14.4/drivers/clk/sprd/ |
D | sc9860-clk.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // Spreatrum SC9860 clock driver 8 #include <linux/clk-provider.h> 16 #include <dt-bindings/clock/sprd,sc9860-clk.h> 25 static CLK_FIXED_FACTOR(fac_4m, "fac-4m", "ext-26m", 27 static CLK_FIXED_FACTOR(fac_2m, "fac-2m", "ext-26m", 29 static CLK_FIXED_FACTOR(fac_1m, "fac-1m", "ext-26m", 31 static CLK_FIXED_FACTOR(fac_250k, "fac-250k", "ext-26m", 33 static CLK_FIXED_FACTOR(fac_rpll0_26m, "rpll0-26m", "ext-26m", 35 static CLK_FIXED_FACTOR(fac_rpll1_26m, "rpll1-26m", "ext-26m", [all …]
|
/linux-6.14.4/drivers/i2c/busses/ |
D | i2c-sprd.c | 4 * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 11 #include <linux/i2c.h> 77 /* SPRD i2c data structure */ 95 writel(count, i2c_dev->base + I2C_COUNT); in sprd_i2c_set_count() 100 u32 tmp = readl(i2c_dev->base + I2C_CTL); in sprd_i2c_send_stop() 103 writel(tmp & ~STP_EN, i2c_dev->base + I2C_CTL); in sprd_i2c_send_stop() 105 writel(tmp | STP_EN, i2c_dev->base + I2C_CTL); in sprd_i2c_send_stop() 110 u32 tmp = readl(i2c_dev->base + I2C_CTL); in sprd_i2c_clear_start() 112 writel(tmp & ~I2C_START, i2c_dev->base + I2C_CTL); in sprd_i2c_clear_start() 117 u32 tmp = readl(i2c_dev->base + I2C_STATUS); in sprd_i2c_clear_ack() [all …]
|