On 1/4/2022 10:29 PM, Mark Brown wrote:
On Tue, Jan 04, 2022 at 11:05:59AM +0800, SevenLee wrote:
On 2021/12/29 08:45 PM, Mark Brown wrote:
The clock speed seems sensible enough to control from userspace since it's going to be a power/performance tradeoff but why also expose the slew rate to userspace - that seems more like something that would come from the board design?
Because customers need to adjust different DMIC materials by themselves. Adjust which slope is the most suitable according to the conditions of use, and improve electromagnetic interference by setting the slew rate so that customers can try the best solution.
Sure, but do they need to do this at runtime? That sounds like tuning that you do once during system design and never touch again so better done as a DT property.
They are not to do at run-time. You are right, I will send the new patch for clock selection again, and then send the second patch with the slew rate for the DT property.
________________________________ ________________________________ The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.