[PATCH v3 5/7] nvmem: imx-ocotp: Add i.MX7D timing write clock setup support

Bryan O'Donoghue pure.logic at nexus-software.ie
Wed Oct 11 09:22:51 PDT 2017


On 11/10/17 17:03, Philipp Zabel wrote:
> Would
> 
> 	fsource = DIV_ROUND_UP_ULL((u64)clk_rate * DEF_FSOURCE,
> 				   NSEC_PER_SEC) + 1;
> 	strobe_prog = DIV_ROUND_CLOSEST_ULL((u64)clk_rate * DEF_STROBE_PROG,
> 					    NSEC_PER_SEC) + 1;
> 
> work instead?

Might do, I'll see and change it if it works



More information about the linux-arm-kernel mailing list