Re: [PATCH] drm/bridge: ti-sn65dsi86: Check for CONFIG_PWM using IS_REACHABLE()

2025-02-24 Thread Doug Anderson
Hi, On Mon, Feb 17, 2025 at 9:49 AM Uwe Kleine-König wrote: > > Currently CONFIG_PWM is a bool but I intend to change it to tristate. If > CONFIG_PWM=m in the configuration, the cpp symbol CONFIG_PWM isn't > defined and so the PWM code paths in the ti-sn65dsi86 driver are not > used. > > The corr

Re: [PATCH] drm/bridge: ti-sn65dsi86: Check for CONFIG_PWM using IS_REACHABLE()

2025-02-18 Thread Robert Foss
On Mon, Feb 17, 2025 at 6:55 PM Louis Chauvet wrote: > > > > Le 17/02/2025 à 18:49, Uwe Kleine-König a écrit : > > Currently CONFIG_PWM is a bool but I intend to change it to tristate. If > > CONFIG_PWM=m in the configuration, the cpp symbol CONFIG_PWM isn't > > defined and so the PWM code paths i

[PATCH] drm/bridge: ti-sn65dsi86: Check for CONFIG_PWM using IS_REACHABLE()

2025-02-17 Thread Uwe Kleine-König
Currently CONFIG_PWM is a bool but I intend to change it to tristate. If CONFIG_PWM=m in the configuration, the cpp symbol CONFIG_PWM isn't defined and so the PWM code paths in the ti-sn65dsi86 driver are not used. The correct way to check for CONFIG_PWM is using IS_REACHABLE which does the right

Re: [PATCH] drm/bridge: ti-sn65dsi86: Check for CONFIG_PWM using IS_REACHABLE()

2025-02-17 Thread Louis Chauvet
Le 17/02/2025 à 18:49, Uwe Kleine-König a écrit : Currently CONFIG_PWM is a bool but I intend to change it to tristate. If CONFIG_PWM=m in the configuration, the cpp symbol CONFIG_PWM isn't defined and so the PWM code paths in the ti-sn65dsi86 driver are not used. The correct way to check for