Re: [PATCH] rcar-vin: rcar-csi2: Correct the selection of hsfreqrange

2020-06-05 Thread Michael Rodin
Hello Niklas and Suresh, Renesas confirmed that there is a typo in the Hardware Manual (Table 25.9): The correct range for 220 Mbps is 197.125-244.125 and not 197.125 - 224.125 so the both patches are correct, we can do configuration based only on the "default" bit rates. I would say that now we

[PATCH] rcar-vin: rcar-csi2: Correct the selection of hsfreqrange

2020-05-27 Thread Michael Rodin
From: Suresh Udipi hsfreqrange should be chosen based on the calculated mbps which is closer to the default bit rate and within the range as per table[1]. But current calculation always selects first value which is greater than or equal to the calculated mbps which may lead to chosing a wrong