Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Linux/BEAGLEBK: Configure aic3106 in devicetree fails, warning "using dummy regulator"?

$
0
0

Part Number: BEAGLEBK

Tool/software: Linux

We use make a develop board, based on BeagleBone Black's hardware. We add a aic3106. We have problem on configure aic3106 node in devicetree.

Our aic3106 node configuration is similiar to am335x evm:

&i2c1{
    pinctrl-names = "default";
    pinctrl-0 = <&myi2c1_pins_default>;
    status = "okay";

    clock-frequency = <100000>;

    tlv320aic3106: tlv320aic3106@1b {
            #sound-dai-cells = <0>;
            compatible = "ti,tlv320aic3106";
            reg = <0x1b>;
            status = "okay";
    };
};

But at linux startup, it print these:

[   22.325608] 1-001b supply IOVDD not found, using dummy regulator
[   22.325700] 1-001b supply DVDD not found, using dummy regulator
[   22.325767] 1-001b supply AVDD not found, using dummy regulator
[   22.325829] 1-001b supply DRVDD not found, using dummy regulator
[   22.684430] tda998x 0-0070: found TDA19988
[   22.694103] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops [tda998x])
[   22.694551] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   22.694566] [drm] No driver support for vblank timestamp query.
[   22.695065] tilcdc 4830e000.lcdc: No connectors reported connected with modes
[   22.695095] [drm] Cannot find any crtc or sizes - going 1024x768
[   22.910334] Console: switching to colour frame buffer device 128x48
[   23.050278] tilcdc 4830e000.lcdc: fb0:  frame buffer device
[   23.050327] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
[   23.063003] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[   24.736640] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[   24.872303] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[   25.599729] asoc-simple-card sound: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok

As it shows, linux didnot get the right configuration of these :

IOVDD
DVDD
AVDD
DRVDD

Because I didnot know how to configure these.As in am335x evm's devicetree, it configure like these:

tlv320aic3106: tlv320aic3106@1b {
    #sound-dai-cells = <0>;
    compatible = "ti,tlv320aic3106";
    reg = <0x1b>;
    status = "okay";

    /* Regulators */
    AVDD-supply = <&vaux2_reg>;
    IOVDD-supply = <&vaux2_reg>;
    DRVDD-supply = <&vaux2_reg>;
    DVDD-supply = <&vbat>;
};
vaux2_reg: regulator@10 {
    regulator-always-on;
};

vbat: fixedregulator0 {
    compatible = "regulator-fixed";
    regulator-name = "vbat";
    regulator-min-microvolt = <5000000>;
    regulator-max-microvolt = <5000000>;
    regulator-boot-on;
};

 I've idea about regulator configuration in beaglebone with aic3106, How to configure regulators in devicetree?

Thanks.


Viewing all articles
Browse latest Browse all 262198

Trending Articles