Solution (source code)

= Solution

No normal flow at a rigid wall gives $\boxed{\phi(\pm1)=0}$. At a free surface $y=1+\eta$, the linearized <kinematic boundary condition> is
$$
(\partial_t+U\partial_x)\eta=v=-\partial_x\psi,
$$
so $(U-c)\eta=-\phi$. The linearized tangential momentum equation gives the pressure amplitude $p=(U-c)\phi'-U'\phi$. Constant surface pressure therefore requires
$$
\boxed{(U-c)\phi'-U'\phi=0}.
$$