- reg : The chip select number on the I2C bus
Optional properties:
-- ak4613,in1-single-end : Boolean. Indicate input / output pins are single-ended.
-- ak4613,in2-single-end rather than differential.
-- ak4613,out1-single-end
-- ak4613,out2-single-end
-- ak4613,out3-single-end
-- ak4613,out4-single-end
-- ak4613,out5-single-end
-- ak4613,out6-single-end
+- asahi-kasei,in1-single-end : Boolean. Indicate input / output pins are single-ended.
+- asahi-kasei,in2-single-end rather than differential.
+- asahi-kasei,out1-single-end
+- asahi-kasei,out2-single-end
+- asahi-kasei,out3-single-end
+- asahi-kasei,out4-single-end
+- asahi-kasei,out5-single-end
+- asahi-kasei,out6-single-end
Example:
/* Input 1 - 2 */
for (i = 0; i < 2; i++) {
- snprintf(prop, sizeof(prop), "ak4613,in%d-single-end", i + 1);
+ snprintf(prop, sizeof(prop), "asahi-kasei,in%d-single-end", i + 1);
if (!of_get_property(np, prop, NULL))
priv->ic |= 1 << i;
}
/* Output 1 - 6 */
for (i = 0; i < 6; i++) {
- snprintf(prop, sizeof(prop), "ak4613,out%d-single-end", i + 1);
+ snprintf(prop, sizeof(prop), "asahi-kasei,out%d-single-end", i + 1);
if (!of_get_property(np, prop, NULL))
priv->oc |= 1 << i;
}