Loading Documentation/devicetree/bindings/sound/max98095.txt 0 → 100644 +16 −0 Original line number Diff line number Diff line MAX98095 audio CODEC This device supports I2C only. Required properties: - compatible : "maxim,max98095". - reg : The I2C address of the device. Example: max98095: codec@11 { compatible = "maxim,max98095"; reg = <0x11>; }; sound/soc/codecs/max98095.c +7 −0 Original line number Diff line number Diff line Loading @@ -2399,10 +2399,17 @@ static const struct i2c_device_id max98095_i2c_id[] = { }; MODULE_DEVICE_TABLE(i2c, max98095_i2c_id); static const struct of_device_id max98095_of_match[] = { { .compatible = "maxim,max98095", }, { } }; MODULE_DEVICE_TABLE(of, max98095_of_match); static struct i2c_driver max98095_i2c_driver = { .driver = { .name = "max98095", .owner = THIS_MODULE, .of_match_table = of_match_ptr(max98095_of_match), }, .probe = max98095_i2c_probe, .remove = max98095_i2c_remove, Loading Loading
Documentation/devicetree/bindings/sound/max98095.txt 0 → 100644 +16 −0 Original line number Diff line number Diff line MAX98095 audio CODEC This device supports I2C only. Required properties: - compatible : "maxim,max98095". - reg : The I2C address of the device. Example: max98095: codec@11 { compatible = "maxim,max98095"; reg = <0x11>; };
sound/soc/codecs/max98095.c +7 −0 Original line number Diff line number Diff line Loading @@ -2399,10 +2399,17 @@ static const struct i2c_device_id max98095_i2c_id[] = { }; MODULE_DEVICE_TABLE(i2c, max98095_i2c_id); static const struct of_device_id max98095_of_match[] = { { .compatible = "maxim,max98095", }, { } }; MODULE_DEVICE_TABLE(of, max98095_of_match); static struct i2c_driver max98095_i2c_driver = { .driver = { .name = "max98095", .owner = THIS_MODULE, .of_match_table = of_match_ptr(max98095_of_match), }, .probe = max98095_i2c_probe, .remove = max98095_i2c_remove, Loading