18c2ecf20Sopenharmony_ciBinding for simple gpio gated clock. 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciThis binding uses the common clock binding[1]. 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci[1] Documentation/devicetree/bindings/clock/clock-bindings.txt 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ciRequired properties: 88c2ecf20Sopenharmony_ci- compatible : shall be "gpio-gate-clock". 98c2ecf20Sopenharmony_ci- #clock-cells : from common clock binding; shall be set to 0. 108c2ecf20Sopenharmony_ci- enable-gpios : GPIO reference for enabling and disabling the clock. 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ciOptional properties: 138c2ecf20Sopenharmony_ci- clocks: Maximum of one parent clock is supported. 148c2ecf20Sopenharmony_ci 158c2ecf20Sopenharmony_ciExample: 168c2ecf20Sopenharmony_ci clock { 178c2ecf20Sopenharmony_ci compatible = "gpio-gate-clock"; 188c2ecf20Sopenharmony_ci clocks = <&parentclk>; 198c2ecf20Sopenharmony_ci #clock-cells = <0>; 208c2ecf20Sopenharmony_ci enable-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>; 218c2ecf20Sopenharmony_ci }; 22