Hi,Biyong Sun:
yes,
I want to make GPIO to control, but he did not offer the following section control pin design to me, how do I make him self-control action to 0 or 1, for example, I want to MSATA_PWR_EN control to GPIO_16 and low to high signal, how do I do?
Please help me,thanks.
So I just think it wrote dead. (for imx6q.dtsi code)
I want a similar code as follows:
imx6qdl-sabresd.dtsi:
reg_usb_h1_vbus: usb_h1_vbus {
compatible = "regulator-fixed";
regulator-name = "usb_h1_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio = <&gpio3 31 0>; --> Control the way I want,control 0/1
enable-active-high;
};
imx6q.dtsi:
sata: sata@02200000 {
compatible = "fsl,imx6q-ahci";
reg = <0x02200000 0x4000>;
interrupts = <0 39 0x04>;
clocks = <&clks 154>, <&clks 187>, <&clks 105>;
clock-names = "sata", "sata_ref", "ahb";
status = "disabled";
};
MSATA_DEVSLP(or call MSATA_DET), MSATA_PWR_EN is schematic name (cpu to issue).
MSATA_DEVSLP access Pin51 (mSATA interface).
MSATA_PWR_EN access another controller.