Hi A question that might sound like a nooby one but I cant really google any useful results. I want to use audio codec (rt5677) pins as gpio. I need those gpio's to create a fixed-regulator. Realtek developers sent a patch that creates gpio_chip for audio codec pins http://mailman.alsa-project.org/pipermail/alsa-devel/2014-September/081244.html The next question is how to use these codec pins in DTS. Looking at other examples I believe my regulator should look like reg_audio: rt5677_supply { compatible = "regulator-fixed"; regulator-name = "rt5677-supply"; gpio = <&?????? ???? 0>; enable-active-high; }; And the question what should be used for "gpio" property? I mean what is the name of gpio controller and what gpio number should be used. Realtek developers use rt5677->gpio_chip.base = -1; that dynamically assigns gpio numbers and I don't really know what gpio number is used for PIN2 of my audio codec. Thanks for you reply in advance. -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html