From 5418b9bbfe0573c8996ed46e4e22b2fc5de144a4 Mon Sep 17 00:00:00 2001 From: Akshu Agrawal Date: Wed, 25 Apr 2018 17:53:56 +0800 Subject: drivers/i2c/da7219: Add mclk-name property Non-dts based systems can pass mclk to da7219 driver by this property. BUG=b:74570989 TEST=Enabled clock in kernel driver using the property Change-Id: I2e10769e5b3c6b3aa30f340fe0e88c29b87430cb Signed-off-by: Akshu Agrawal Reviewed-on: https://review.coreboot.org/25919 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/drivers/i2c/da7219/chip.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/drivers/i2c/da7219/chip.h') diff --git a/src/drivers/i2c/da7219/chip.h b/src/drivers/i2c/da7219/chip.h index 572d7279a5..deb1c26b3e 100644 --- a/src/drivers/i2c/da7219/chip.h +++ b/src/drivers/i2c/da7219/chip.h @@ -106,4 +106,10 @@ struct drivers_i2c_da7219_config { * [<1>, <2>, <4>, <8>] */ unsigned adc_1bit_rpt; + + /* + * mclk-name : Pass the system clk to da7219 + * ["name of mclk" ] + */ + const char *mclk_name; }; -- cgit v1.2.3