Message ID | 20250425132727.5160-1-linux.amoon@gmail.com |
---|---|
Headers | show |
Series | Add rtc and suspend to ram for Maxim MAX77686 PMIC | expand |
On 25/04/2025 15:26, Anand Moon wrote: > + > + The MAX77686 contains three 32.768khz crystal clock outputs that can > + be controlled (gated/ungated) over I2C. Clocks are defined as > + preprocessor macros in dt-bindings/clock/maxim,max77686.h. > + > +properties: > + compatible: > + enum: > + - max77686-rtc So you claim RTC is a clock, right? Did not even think that RTC has a bit different meaning? But regardless, this code make no sense and was never tested. It cannot work. It reminds me previous approaches with whatever patches you found in the downstream... Best regards, Krzysztof
Hi Krzysztof, On Fri, 25 Apr 2025 at 20:14, Krzysztof Kozlowski <krzk@kernel.org> wrote: > > On 25/04/2025 15:26, Anand Moon wrote: > > + > > + The MAX77686 contains three 32.768khz crystal clock outputs that can > > + be controlled (gated/ungated) over I2C. Clocks are defined as > > + preprocessor macros in dt-bindings/clock/maxim,max77686.h. > > + > > +properties: > > + compatible: > > + enum: > > + - max77686-rtc > > So you claim RTC is a clock, right? Did not even think that RTC has a > bit different meaning? > > But regardless, this code make no sense and was never tested. It cannot > work. > > It reminds me previous approaches with whatever patches you found in the > downstream... Okay, I found the MAX77686A datasheet that Hardkernel shared long ago and tried to interpret the information in it. I will remove this repo once this is done. [0] https://github.com/moonlinux/Samsung_user_manuals/blob/master/MAX77686A%20Datasheet%20REV00.pdf I have gone through MAX77686A the regulator and the datasheet If you have some improvements to the code plz suggest so, > > Best regards, > Krzysztof Thanks -Anand