From nobody Fri Oct 3 13:23:48 2025 Received: from mail-ed1-f46.google.com (mail-ed1-f46.google.com [209.85.208.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3C09E279DAD for ; Sat, 30 Aug 2025 11:09:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756552194; cv=none; b=qqqMVRVHlqMxUizmz80dVZ5za6VA8XaEQr1jMK/R18aenb1vzknEZK/XnTD1DKyyEiJ6ecNaf+qiDx6AJlaL+CcPA8MF6j0ZE7vLHWEk6gt8+hymV5X068pnXf4pkcltK4cva8VMaMW4451aXJaKa3Ab5Ei9ABKvNbpnLAbUUEY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756552194; c=relaxed/simple; bh=xlL9W2A8Ervk1zk4ml7XK13XijuLbMR6cMtKEKCqU4U=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JjyNC0L5Hqp9pe5Cz/iwCOUsyQB+qpD/PxsyCrIl2wpmnxgp43O44F/8hE7CyxsI7i0A7fIeeXnwKYkYGaLpjMKvHIRZZjwUPixSUoBY+uqNRBVj3MbRsAcU+hIMRvliEJSJlIjdBt3GTAPODfX65yrwpAE6QJ6JPnAp9XJ6NwI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Gl1aNLPI; arc=none smtp.client-ip=209.85.208.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Gl1aNLPI" Received: by mail-ed1-f46.google.com with SMTP id 4fb4d7f45d1cf-6188b5e3de6so402336a12.0 for ; Sat, 30 Aug 2025 04:09:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1756552190; x=1757156990; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=Mt6BHImGK+4nyxlNYHkaJPBTdr1Pfx4Jy5o27YwNXXE=; b=Gl1aNLPIA9RKqFJ6b65526ZRotII9ojjwEFgfbRYASAtskcnnBV82vj4GAW436iR+J xK3RzWnTKj9Ibho2T7uJeqhv0U8SK19nvgZ91/jZY6yGy/aC4++6v8camjbmJ9mq/j29 V9r3Uf6cAsOxq4yG7q4l0m4Mv1ld/Jt2q2JA3NpOMf1TWbYip7FJNKAwJ/ZVHGlOU0lD Kgv/vd/ZGT6yirTI5V74wu6D/9A1DG8YaENSiorFPq2LNN8yLORLSXvxDwIVFKix7nkX tJ/+3LukGgkMq39v+ld0aged/SQZRqwb9VA4CbBT6Ak+yNu4tM7QMK/jop+Hpk2ajw7m 2fwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1756552190; x=1757156990; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Mt6BHImGK+4nyxlNYHkaJPBTdr1Pfx4Jy5o27YwNXXE=; b=qTpf0vBBUrzfHD7uUsy6l8kS3PAuxTwAUbXQDIQXZDhvPmHihg4w2ZB7oxEKy37Gyx Gn5YXUzmk4CnCSwYgI+piczxO3LeKGkaBfP5OxIDBHYp8f22KMDJPPvEKyGHa1lDYapb WCp/TZKsU2D2SuXSkkwTttE1ErkzLjoYkmE5DSeoViYzUGZam8Q21sg4xOTmrS6NG2bT B6CFqBP8StcCtA/mu96mKF2iXbKOTs5WRUfDsi2oTBg2w8EYliKXJ7cD0j3MnbvGYEbh BWEmurF0AE4HuDTVzt4t8wV+wkzWjks42/KGT3tB1zNfXUpZfxc4aZhN8Z04T6YUwlW7 eaXw== X-Forwarded-Encrypted: i=1; AJvYcCXuMePonSQGaS9skHIWL/Wl2ai0W/HIJjNh/KNlu1qFwRztEOxk0xS2G3oaNY2KQtyy2Axhf9oz1zudGFA=@vger.kernel.org X-Gm-Message-State: AOJu0YwFVrW5rxM5FyjnQSiIJfYnyAO1+XFOLEYrl+oqqMJcX9rruQpf FguoOPSHJ9PxnffpafR7HLwFLMuuYSVXKehopIix4Y0uibGPAxnUfebY7pAprvOank0= X-Gm-Gg: ASbGnctfQPplwH3strfu5qwr77uRjevv87fYwXh07hvDMK2kFeKUPzfHPS6YOOgKuyt JOmha5NpHvqQL5o9LFWz1nhjFxtsGMseokHzBaOWCcT3qidX/zGfUe5+igikO/TERtJXRGg8d2x RXmL01fOKMZ6V7gWPl7iJnYcbHkXKJdWUYe1q92RLgGIE4pmX8zB3/CUckOmUob/M0vZ3dXrVPi MI1z7sBLSmznTchvq53kDnjaNB+ePtYIy68EaL+oV9QacDfygX56B0eFPGP1KLejVMaSiRoxNhz yHSwsYqz+2ObLq7Z1LYX0zFNLixiYkJYnuY0nbx4SeNfS5uo1CpatDG1d42BMfgGHL7j50Amg/G XR+a3yaPaF/uIn3SrSAeXZsNI0IFX1XFkL3uU5evSWF6nEh4aZw== X-Google-Smtp-Source: AGHT+IFm3KrQiJLTnoLMRt7QTIhNFVWdnibXFvne96elYLkhnCNgt8ifCrnPRnxK3Ji1sk6Eo0cXfA== X-Received: by 2002:a05:6402:2546:b0:61c:ba89:fc81 with SMTP id 4fb4d7f45d1cf-61cfe99a87dmr2234309a12.4.1756552189591; Sat, 30 Aug 2025 04:09:49 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.123]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-61cfc21542asm3285666a12.18.2025.08.30.04.09.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Aug 2025 04:09:48 -0700 (PDT) From: Krzysztof Kozlowski Date: Sat, 30 Aug 2025 13:09:38 +0200 Subject: [PATCH 1/5] iio: adc: exynos_adc: Drop S3C2410 support Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250830-s3c-cleanup-adc-v1-1-de54dfb1d9ea@linaro.org> References: <20250830-s3c-cleanup-adc-v1-0-de54dfb1d9ea@linaro.org> In-Reply-To: <20250830-s3c-cleanup-adc-v1-0-de54dfb1d9ea@linaro.org> To: Jonathan Cameron , David Lechner , =?utf-8?q?Nuno_S=C3=A1?= , Andy Shevchenko , Krzysztof Kozlowski , Alim Akhtar , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=4216; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=xlL9W2A8Ervk1zk4ml7XK13XijuLbMR6cMtKEKCqU4U=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBostv00r+mskd3qVXrYKZh1HyJjhQB2ZnbjdkDE GI5PiaBKZ6JAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCaLLb9AAKCRDBN2bmhouD 11sLD/9HygQMMQRy9yLtFTmoijHCENaBVNvBPHQaTRIreeQUCqjjaiB/JtgGUDjf/6iWHt3e0v6 7GnfvISOZWlWUAHxggNlJVJrUbVUSNXIxLlwoqWoG0inQ9G8+Hm0M/4PTJFuJMvTmgOonzehjo0 99VEr8iVewZjA/93YCSw65d9h391VcVlDsyNQk3RNiChvkp2D0qwmIgGHpm5r0pSW5SZ0c3+z/M buEcjSS3nrDH82fc5oVxf9udiI/XmQKuYWOyXD99UbNekSBZkVEYE9OqXD1AFutGTaqTcvwoQo8 0JvJhc9dF8tiR8EdIiKkMoeIdqw22l/jgwLzhlDXGQsAUdpjL38qNJ1JHkrHXFxXg2EugAmx8CT aJki8VRB3EwCOtVX/OHlcbT9rqUsfC29p/O/++NHecMyKYxl8ygmrOHA0bE/jFJqt0G3B6uWTnn NJ3BypW755mW4TYgeLui8nOCAu5cRqeZoOs9r2l9p7LmVAL0i+QTaCQJrDLHFBBKg7npC/i5aBK +RnKyWQzRR13gMTc079rIZohXogU/kNpdlWM5itsmZ3l0SX9TUxOiToxUmyZokzqj7Zes7VjsxU 4x5q0JF1GRV72ifLNu1qF7eqLnJwWmCkwnV34tY1+066g5SxfGvGhC8tKnVDTmI01dw2BNVNZCE RKP77oFSoBRPdlw== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Samsung S3C24xx family of SoCs was removed from the Linux kernel in the commit 61b7f8920b17 ("ARM: s3c: remove all s3c24xx support"), in January 2023. There are no in-kernel users of its compatibles. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Andy Shevchenko --- drivers/iio/adc/exynos_adc.c | 75 +---------------------------------------= ---- 1 file changed, 1 insertion(+), 74 deletions(-) diff --git a/drivers/iio/adc/exynos_adc.c b/drivers/iio/adc/exynos_adc.c index 4614cf848535944a41e0ab19f35c5ca0546000c0..17fd33c6bd6d0dcf41771331ecb= 328e58d820ed0 100644 --- a/drivers/iio/adc/exynos_adc.c +++ b/drivers/iio/adc/exynos_adc.c @@ -44,9 +44,6 @@ #define ADC_V1_MUX(x) ((x) + 0x1c) #define ADC_V1_CLRINTPNDNUP(x) ((x) + 0x20) =20 -/* S3C2410 ADC registers definitions */ -#define ADC_S3C2410_MUX(x) ((x) + 0x18) - /* Future ADC_V2 registers definitions */ #define ADC_V2_CON1(x) ((x) + 0x00) #define ADC_V2_CON2(x) ((x) + 0x04) @@ -61,10 +58,8 @@ #define ADC_V1_CON_PRSCLV(x) (((x) & 0xFF) << 6) #define ADC_V1_CON_STANDBY (1u << 2) =20 -/* Bit definitions for S3C2410 ADC */ +/* Bit definitions for S3C2410 / S3C6410 ADC */ #define ADC_S3C2410_CON_SELMUX(x) (((x) & 7) << 3) -#define ADC_S3C2410_DATX_MASK 0x3FF -#define ADC_S3C2416_CON_RES_SEL (1u << 3) =20 /* touch screen always uses channel 0 */ #define ADC_S3C2410_MUX_TS 0 @@ -307,53 +302,6 @@ static const struct exynos_adc_data exynos_adc_s5pv210= _data =3D { .start_conv =3D exynos_adc_v1_start_conv, }; =20 -static void exynos_adc_s3c2416_start_conv(struct exynos_adc *info, - unsigned long addr) -{ - u32 con1; - - /* Enable 12 bit ADC resolution */ - con1 =3D readl(ADC_V1_CON(info->regs)); - con1 |=3D ADC_S3C2416_CON_RES_SEL; - writel(con1, ADC_V1_CON(info->regs)); - - /* Select channel for S3C2416 */ - writel(addr, ADC_S3C2410_MUX(info->regs)); - - con1 =3D readl(ADC_V1_CON(info->regs)); - writel(con1 | ADC_CON_EN_START, ADC_V1_CON(info->regs)); -} - -static struct exynos_adc_data const exynos_adc_s3c2416_data =3D { - .num_channels =3D MAX_ADC_V1_CHANNELS, - .mask =3D ADC_DATX_MASK, /* 12 bit ADC resolution */ - - .init_hw =3D exynos_adc_v1_init_hw, - .exit_hw =3D exynos_adc_v1_exit_hw, - .start_conv =3D exynos_adc_s3c2416_start_conv, -}; - -static void exynos_adc_s3c2443_start_conv(struct exynos_adc *info, - unsigned long addr) -{ - u32 con1; - - /* Select channel for S3C2433 */ - writel(addr, ADC_S3C2410_MUX(info->regs)); - - con1 =3D readl(ADC_V1_CON(info->regs)); - writel(con1 | ADC_CON_EN_START, ADC_V1_CON(info->regs)); -} - -static struct exynos_adc_data const exynos_adc_s3c2443_data =3D { - .num_channels =3D MAX_ADC_V1_CHANNELS, - .mask =3D ADC_S3C2410_DATX_MASK, /* 10 bit ADC resolution */ - - .init_hw =3D exynos_adc_v1_init_hw, - .exit_hw =3D exynos_adc_v1_exit_hw, - .start_conv =3D exynos_adc_s3c2443_start_conv, -}; - static void exynos_adc_s3c64xx_start_conv(struct exynos_adc *info, unsigned long addr) { @@ -365,15 +313,6 @@ static void exynos_adc_s3c64xx_start_conv(struct exyno= s_adc *info, writel(con1 | ADC_CON_EN_START, ADC_V1_CON(info->regs)); } =20 -static struct exynos_adc_data const exynos_adc_s3c24xx_data =3D { - .num_channels =3D MAX_ADC_V1_CHANNELS, - .mask =3D ADC_S3C2410_DATX_MASK, /* 10 bit ADC resolution */ - - .init_hw =3D exynos_adc_v1_init_hw, - .exit_hw =3D exynos_adc_v1_exit_hw, - .start_conv =3D exynos_adc_s3c64xx_start_conv, -}; - static struct exynos_adc_data const exynos_adc_s3c64xx_data =3D { .num_channels =3D MAX_ADC_V1_CHANNELS, .mask =3D ADC_DATX_MASK, /* 12 bit ADC resolution */ @@ -486,18 +425,6 @@ static const struct exynos_adc_data exynos7_adc_data = =3D { =20 static const struct of_device_id exynos_adc_match[] =3D { { - .compatible =3D "samsung,s3c2410-adc", - .data =3D &exynos_adc_s3c24xx_data, - }, { - .compatible =3D "samsung,s3c2416-adc", - .data =3D &exynos_adc_s3c2416_data, - }, { - .compatible =3D "samsung,s3c2440-adc", - .data =3D &exynos_adc_s3c24xx_data, - }, { - .compatible =3D "samsung,s3c2443-adc", - .data =3D &exynos_adc_s3c2443_data, - }, { .compatible =3D "samsung,s3c6410-adc", .data =3D &exynos_adc_s3c64xx_data, }, { --=20 2.48.1 From nobody Fri Oct 3 13:23:48 2025 Received: from mail-ej1-f41.google.com (mail-ej1-f41.google.com [209.85.218.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 042E927A925 for ; Sat, 30 Aug 2025 11:09:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756552195; cv=none; b=pmxsNWOp6gM5NwR+lahufgvLm0X9LhUpi248iC1l/Yx0uvQ8teBLYTGSB77yzgF8ZJm1jLHNVg6v6WmM1DauWm6EFyiwk+i8Lcji6d3xt4gmSlxSR0rg0lmiT5wdfjyi8ynDPVLYp9ZNp+z3qgNkvElHlKpCnnblpdyJxhQ/Ufg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756552195; c=relaxed/simple; bh=zHCa9J6rlUOO7tYPrfj8IXJe6YbyYyv4K6ql9TPqD00=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=CDbUEcsHu5cuwWb6emlA+uLhCmzCn+x13gLWeOzzukY++3qi5FNPWmuKywFeikoekt8RqkhqgPVlN8MczU9HMoA1czL9wlRg1U0dO/rNIUmd4VbUrNKz2QE9ghTf6577o37AAx88pa4rOymLSG5qddWidLvS7plxxy+PnguHyck= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=ophibfWr; arc=none smtp.client-ip=209.85.218.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="ophibfWr" Received: by mail-ej1-f41.google.com with SMTP id a640c23a62f3a-afe7f9fdb96so37272966b.2 for ; Sat, 30 Aug 2025 04:09:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1756552191; x=1757156991; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=8nB6GsrC3suUPGYnBxDulbpNmOH6mvKZMR5+BvK4sW4=; b=ophibfWrlkqzIkynyFnRvXBcrZJhobIAs04kHa6AVtynq/f1vpSJrUGDkW5JndvTCj Sur0EOuJqqNzfkDXKNormw4ICtFQwkejxNXsMtY4FkHgwoPnKnw3wa6MQzAaa5R2In6k r8O/A/YT6G6lXkUs7wUghn3t9+Xl0OOQYm+TmKTYyjFg2HpnZP9M0vrxzTiIQdEya+BE txsCmZTGP50IJs1pLmncVtLPd9mGYSsQ8Tk8XXZ7r+conYKdJ4/HR1BZdku1OKjiOPhd Z8jIh6ZEM71NwM2DOy6QkAC3p4uVU+ta9QYvCnYGdcXT7OyBkn4QDF/uQMz4PKiZAsx0 VQgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1756552191; x=1757156991; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8nB6GsrC3suUPGYnBxDulbpNmOH6mvKZMR5+BvK4sW4=; b=kNMC8IDWZQTwzhQHORkKZBfYw8rHzKMZ/OUdm0Nqmcn8CRq29eQqn+viUTRkJJujma LkvirYKmnSp6sl7yjynX7aPxh2PO/AiQY338yArv+IxcU1ZJyMmmRYPm4+0zw7mlrje3 /WY/Fg2HFFHgqROTWfqtHaoRBmHpetWDsvVmsdcMPdi7CWMd6qKaab+jZwcusTquAu7l dkgaJKLWsdpRm6fcX7o3g0vpzPGgmhbLoR1WUbdOKYlhYvBGzagtOnBNChZegAVOWpg1 xKacVbOc2clMUQ9A9veWaKn0uoke4qIQS72t31HzY00yz+m1eiFCaKP5euHYipCBuHa/ rYeg== X-Forwarded-Encrypted: i=1; AJvYcCUuwLijH7cRWA+htKX+pInlGDf5xLmrN5MIQ5ZvP2CMObQS6acYxLYXyizIxcMvE/27kGeiKpx02VHZnN0=@vger.kernel.org X-Gm-Message-State: AOJu0Ywfjq+w2KqkTAQONR3i/Qe5zDOCBC7Zj7BjyMhcwfolgwgMHNm4 +lZyc2Y5Sz7rfVubVFhfN3/tqOFedfP7jNaW+le+cZa3MT5NsQxHTovzVtXlZa4L1DbQ0bHePIJ mascL X-Gm-Gg: ASbGnctNQplwhujO+18UERUTzAN3Flcu2FW6cLo0fqg6MeltWTUiui4CV7W/3EnshK/ BTMNdiT6uLrFAGR3g/U6FJa19Bqoxk1B6Epyv8zNQhKCJ4QRZXw8WOvrK9K74zYXmQ9xX2q4jII Jq5+LfwM630aiKMxmyWz4bDvu1Lhtf1rDmyHfb7uoSliANeJksqvov3JFu8dUSkPzGcwzyiDwJ/ u1sAbqGywFnH9a6fEq9n9hDzLeiv+6N9NlM9f0CLWm1j0OzfJMq+1YSepENEpupvmArf+HZ+1xi 8JIpgmgx2irIGiOfK/QFOh3PT3KGspVMfsWnVI2cB50OuuEXhP2+E+gLE63dqZ2Tbv1bhXp7g1r oVuB5zyurn6LRjomRF0ZTN3C0+fLtbZ3B75sKX8our3VBhORGBQ== X-Google-Smtp-Source: AGHT+IEwQjzrWdjkIQWH/5UdCAnPAwyzuWU85HpS7f8tCUYr19Z6zEYlEC4pDnHs7fe5Ih6Mw5O/gw== X-Received: by 2002:a05:6402:13d0:b0:61c:cfb2:b2ce with SMTP id 4fb4d7f45d1cf-61d0d5f339cmr2022257a12.7.1756552191100; Sat, 30 Aug 2025 04:09:51 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.123]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-61cfc21542asm3285666a12.18.2025.08.30.04.09.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Aug 2025 04:09:50 -0700 (PDT) From: Krzysztof Kozlowski Date: Sat, 30 Aug 2025 13:09:39 +0200 Subject: [PATCH 2/5] iio: adc: exynos_adc: Drop touchscreen support Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250830-s3c-cleanup-adc-v1-2-de54dfb1d9ea@linaro.org> References: <20250830-s3c-cleanup-adc-v1-0-de54dfb1d9ea@linaro.org> In-Reply-To: <20250830-s3c-cleanup-adc-v1-0-de54dfb1d9ea@linaro.org> To: Jonathan Cameron , David Lechner , =?utf-8?q?Nuno_S=C3=A1?= , Andy Shevchenko , Krzysztof Kozlowski , Alim Akhtar , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=9603; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=zHCa9J6rlUOO7tYPrfj8IXJe6YbyYyv4K6ql9TPqD00=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBostv1Mf6SzYbmRYQ4l+395X7N5CPcC5zur7+7B o/VR8OOdPyJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCaLLb9QAKCRDBN2bmhouD 10cMD/0VprNv1zGvyBDDUhs3p15+vnw3XyDMIDTTn/LzRmGTZfuZ7ZPnvmruBq3ekIZwSLKbUO3 CHYak8y9aG0inxirN26ysoNlRTNhAq4M1Hn8yWQNWUKWFoY3zCBNlD17uXaXiovJdvI0soVQnr6 5TZVkOn/f8WyDa1lNNheZFWm25R1CqCxo6vocJcdytINkj1+xRWrZEr1SS28t8GAbyIp2XD/MK5 3KXmGkDGp0k3Tfkw6W8PWSGosEA59bWPJxI6q8WBAafUt66b6r8xLkUhMKA1IuWHlWjEHSe7j6x 9y6yC5gtCROG+hATEXkYv1eYNl/Lv2kDII44RTcRnSpkoekLq5qFb1y90GvOumyOH6Kfx++uZ7+ HLvNPsFWieBmWpTk6qNGEvPHiq4JpQoflHGAgkhUGIdC09fW22+Vbf6ZWFEHAwmdOaQ6nrboMLn y/7aFkjhmuMd1kBCn7OGMWY/TOOwojBwbtTA5BxArA8f0gU/wvqsbU8em00waArBGZTsSbyo7Bw WvQjHTFAJQAsRdg7IkUtf9Celey3Z2eDn4AJEU/+cd8XNi8QDF/gVg7neL+zVPebQEMAGmAXj3v j7MfIYPMMH5+PiezHfOB8wuYIBCCpLowAJx1RuBTPP40Lc9vbQqJ6k8NGvCGoNBQHESi3/YXKt2 sDtjtNSKJpT+XJQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B With last user of touchscreen via ADC (S3C24xx SoC) gone, drop the remaining code from Samsung SoC ADC driver. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Andy Shevchenko --- drivers/iio/adc/exynos_adc.c | 196 +--------------------------------------= ---- 1 file changed, 1 insertion(+), 195 deletions(-) diff --git a/drivers/iio/adc/exynos_adc.c b/drivers/iio/adc/exynos_adc.c index 17fd33c6bd6d0dcf41771331ecb328e58d820ed0..30f6d8436e775a8d2177951b436= cd45152307ea2 100644 --- a/drivers/iio/adc/exynos_adc.c +++ b/drivers/iio/adc/exynos_adc.c @@ -19,11 +19,9 @@ #include #include #include -#include #include #include #include -#include =20 #include #include @@ -35,14 +33,12 @@ =20 /* S3C/EXYNOS4412/5250 ADC_V1 registers definitions */ #define ADC_V1_CON(x) ((x) + 0x00) -#define ADC_V1_TSC(x) ((x) + 0x04) #define ADC_V1_DLY(x) ((x) + 0x08) #define ADC_V1_DATX(x) ((x) + 0x0C) #define ADC_V1_DATY(x) ((x) + 0x10) #define ADC_V1_UPDN(x) ((x) + 0x14) #define ADC_V1_INTCLR(x) ((x) + 0x18) #define ADC_V1_MUX(x) ((x) + 0x1c) -#define ADC_V1_CLRINTPNDNUP(x) ((x) + 0x20) =20 /* Future ADC_V2 registers definitions */ #define ADC_V2_CON1(x) ((x) + 0x00) @@ -61,17 +57,12 @@ /* Bit definitions for S3C2410 / S3C6410 ADC */ #define ADC_S3C2410_CON_SELMUX(x) (((x) & 7) << 3) =20 -/* touch screen always uses channel 0 */ -#define ADC_S3C2410_MUX_TS 0 - /* ADCTSC Register Bits */ #define ADC_S3C2443_TSC_UD_SEN (1u << 8) #define ADC_S3C2410_TSC_YM_SEN (1u << 7) #define ADC_S3C2410_TSC_YP_SEN (1u << 6) #define ADC_S3C2410_TSC_XM_SEN (1u << 5) #define ADC_S3C2410_TSC_XP_SEN (1u << 4) -#define ADC_S3C2410_TSC_PULL_UP_DISABLE (1u << 3) -#define ADC_S3C2410_TSC_AUTO_PST (1u << 2) #define ADC_S3C2410_TSC_XY_PST(x) (((x) & 0x3) << 0) =20 #define ADC_TSC_WAIT4INT (ADC_S3C2410_TSC_YM_SEN | \ @@ -79,12 +70,6 @@ ADC_S3C2410_TSC_XP_SEN | \ ADC_S3C2410_TSC_XY_PST(3)) =20 -#define ADC_TSC_AUTOPST (ADC_S3C2410_TSC_YM_SEN | \ - ADC_S3C2410_TSC_YP_SEN | \ - ADC_S3C2410_TSC_XP_SEN | \ - ADC_S3C2410_TSC_AUTO_PST | \ - ADC_S3C2410_TSC_XY_PST(0)) - /* Bit definitions for ADC_V2 */ #define ADC_V2_CON1_SOFT_RESET (1u << 2) =20 @@ -116,13 +101,11 @@ struct exynos_adc { struct exynos_adc_data *data; struct device *dev; - struct input_dev *input; void __iomem *regs; struct regmap *pmu_map; struct clk *clk; struct clk *sclk; unsigned int irq; - unsigned int tsirq; unsigned int delay; struct regulator *vdd; =20 @@ -131,12 +114,6 @@ struct exynos_adc { u32 value; unsigned int version; =20 - bool ts_enabled; - - bool read_ts; - u32 ts_x; - u32 ts_y; - /* * Lock to protect from potential concurrent access to the * completion callback during a manual conversion. For this driver @@ -507,55 +484,13 @@ static int exynos_read_raw(struct iio_dev *indio_dev, return ret; } =20 -static int exynos_read_s3c64xx_ts(struct iio_dev *indio_dev, int *x, int *= y) -{ - struct exynos_adc *info =3D iio_priv(indio_dev); - unsigned long time_left; - int ret; - - mutex_lock(&info->lock); - info->read_ts =3D true; - - reinit_completion(&info->completion); - - writel(ADC_S3C2410_TSC_PULL_UP_DISABLE | ADC_TSC_AUTOPST, - ADC_V1_TSC(info->regs)); - - /* Select the ts channel to be used and Trigger conversion */ - info->data->start_conv(info, ADC_S3C2410_MUX_TS); - - time_left =3D wait_for_completion_timeout(&info->completion, - EXYNOS_ADC_TIMEOUT); - if (time_left =3D=3D 0) { - dev_warn(&indio_dev->dev, "Conversion timed out! Resetting\n"); - if (info->data->init_hw) - info->data->init_hw(info); - ret =3D -ETIMEDOUT; - } else { - *x =3D info->ts_x; - *y =3D info->ts_y; - ret =3D 0; - } - - info->read_ts =3D false; - mutex_unlock(&info->lock); - - return ret; -} - static irqreturn_t exynos_adc_isr(int irq, void *dev_id) { struct exynos_adc *info =3D dev_id; u32 mask =3D info->data->mask; =20 /* Read value */ - if (info->read_ts) { - info->ts_x =3D readl(ADC_V1_DATX(info->regs)); - info->ts_y =3D readl(ADC_V1_DATY(info->regs)); - writel(ADC_TSC_WAIT4INT | ADC_S3C2443_TSC_UD_SEN, ADC_V1_TSC(info->regs)= ); - } else { - info->value =3D readl(ADC_V1_DATX(info->regs)) & mask; - } + info->value =3D readl(ADC_V1_DATX(info->regs)) & mask; =20 /* clear irq */ if (info->data->clear_irq) @@ -566,46 +501,6 @@ static irqreturn_t exynos_adc_isr(int irq, void *dev_i= d) return IRQ_HANDLED; } =20 -/* - * Here we (ab)use a threaded interrupt handler to stay running - * for as long as the touchscreen remains pressed, we report - * a new event with the latest data and then sleep until the - * next timer tick. This mirrors the behavior of the old - * driver, with much less code. - */ -static irqreturn_t exynos_ts_isr(int irq, void *dev_id) -{ - struct exynos_adc *info =3D dev_id; - struct iio_dev *dev =3D dev_get_drvdata(info->dev); - u32 x, y; - bool pressed; - int ret; - - while (READ_ONCE(info->ts_enabled)) { - ret =3D exynos_read_s3c64xx_ts(dev, &x, &y); - if (ret =3D=3D -ETIMEDOUT) - break; - - pressed =3D x & y & ADC_DATX_PRESSED; - if (!pressed) { - input_report_key(info->input, BTN_TOUCH, 0); - input_sync(info->input); - break; - } - - input_report_abs(info->input, ABS_X, x & ADC_DATX_MASK); - input_report_abs(info->input, ABS_Y, y & ADC_DATY_MASK); - input_report_key(info->input, BTN_TOUCH, 1); - input_sync(info->input); - - usleep_range(1000, 1100); - } - - writel(0, ADC_V1_CLRINTPNDNUP(info->regs)); - - return IRQ_HANDLED; -} - static int exynos_adc_reg_access(struct iio_dev *indio_dev, unsigned reg, unsigned writeval, unsigned *readval) @@ -657,70 +552,12 @@ static int exynos_adc_remove_devices(struct device *d= ev, void *c) return 0; } =20 -static int exynos_adc_ts_open(struct input_dev *dev) -{ - struct exynos_adc *info =3D input_get_drvdata(dev); - - WRITE_ONCE(info->ts_enabled, true); - enable_irq(info->tsirq); - - return 0; -} - -static void exynos_adc_ts_close(struct input_dev *dev) -{ - struct exynos_adc *info =3D input_get_drvdata(dev); - - WRITE_ONCE(info->ts_enabled, false); - disable_irq(info->tsirq); -} - -static int exynos_adc_ts_init(struct exynos_adc *info) -{ - int ret; - - if (info->tsirq <=3D 0) - return -ENODEV; - - info->input =3D input_allocate_device(); - if (!info->input) - return -ENOMEM; - - info->input->evbit[0] =3D BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); - info->input->keybit[BIT_WORD(BTN_TOUCH)] =3D BIT_MASK(BTN_TOUCH); - - input_set_abs_params(info->input, ABS_X, 0, 0x3FF, 0, 0); - input_set_abs_params(info->input, ABS_Y, 0, 0x3FF, 0, 0); - - info->input->name =3D "S3C24xx TouchScreen"; - info->input->id.bustype =3D BUS_HOST; - info->input->open =3D exynos_adc_ts_open; - info->input->close =3D exynos_adc_ts_close; - - input_set_drvdata(info->input, info); - - ret =3D input_register_device(info->input); - if (ret) { - input_free_device(info->input); - return ret; - } - - ret =3D request_threaded_irq(info->tsirq, NULL, exynos_ts_isr, - IRQF_ONESHOT | IRQF_NO_AUTOEN, - "touchscreen", info); - if (ret) - input_unregister_device(info->input); - - return ret; -} - static int exynos_adc_probe(struct platform_device *pdev) { struct exynos_adc *info =3D NULL; struct device_node *np =3D pdev->dev.of_node; struct s3c2410_ts_mach_info *pdata =3D dev_get_platdata(&pdev->dev); struct iio_dev *indio_dev =3D NULL; - bool has_ts =3D false; int ret; int irq; =20 @@ -753,27 +590,10 @@ static int exynos_adc_probe(struct platform_device *p= dev) } } =20 - /* leave out any TS related code if unreachable */ - if (IS_REACHABLE(CONFIG_INPUT)) { - has_ts =3D of_property_read_bool(pdev->dev.of_node, - "has-touchscreen") || pdata; - } - irq =3D platform_get_irq(pdev, 0); if (irq < 0) return irq; info->irq =3D irq; - - if (has_ts) { - irq =3D platform_get_irq(pdev, 1); - if (irq =3D=3D -EPROBE_DEFER) - return irq; - - info->tsirq =3D irq; - } else { - info->tsirq =3D -1; - } - info->dev =3D &pdev->dev; =20 init_completion(&info->completion); @@ -842,11 +662,6 @@ static int exynos_adc_probe(struct platform_device *pd= ev) else info->delay =3D 10000; =20 - if (has_ts) - ret =3D exynos_adc_ts_init(info); - if (ret) - goto err_iio; - ret =3D of_platform_populate(np, exynos_adc_match, NULL, &indio_dev->dev); if (ret < 0) { dev_err(&pdev->dev, "failed adding child nodes\n"); @@ -858,11 +673,6 @@ static int exynos_adc_probe(struct platform_device *pd= ev) err_of_populate: device_for_each_child(&indio_dev->dev, NULL, exynos_adc_remove_devices); - if (has_ts) { - input_unregister_device(info->input); - free_irq(info->tsirq, info); - } -err_iio: iio_device_unregister(indio_dev); err_irq: free_irq(info->irq, info); @@ -882,10 +692,6 @@ static void exynos_adc_remove(struct platform_device *= pdev) struct iio_dev *indio_dev =3D platform_get_drvdata(pdev); struct exynos_adc *info =3D iio_priv(indio_dev); =20 - if (IS_REACHABLE(CONFIG_INPUT) && info->input) { - free_irq(info->tsirq, info); - input_unregister_device(info->input); - } device_for_each_child(&indio_dev->dev, NULL, exynos_adc_remove_devices); iio_device_unregister(indio_dev); --=20 2.48.1 From nobody Fri Oct 3 13:23:48 2025 Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 67AA327B356 for ; Sat, 30 Aug 2025 11:09:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756552196; cv=none; b=XO4ONPXHOMi1V2ESQcxpiOwTuXI2nHZs0jfmyac8ej12yeQWEnOah6ajJHpfiM1s39iDyV47VkoeV1o7uEfW9Yna5EwPHE1K8cyVvDZQq5wYTWRJIOah8u1qhXLLNTtuVH+KVsRsXEQpPBPUil1c5Ii1Y8ILKeIFGcMba6DgAiQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756552196; c=relaxed/simple; bh=KjoP2OpIwgvcEU8lQlbyugpaZUrY36rc56GQiCq2XW0=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=amZsoBH8uRZGZGvQ+OMe2rnTOXR9ZURoabexTJ5Di7YFkmZzWkZfKz0wTBVL2K/eNu+kXnueyPnpexejc60bbKr1tO5paIaZfLEyROawVPf+5jHv+4mKJlP4bN5aT6g4ARVVmkpXw8a8X76j4++7SVNKfrw0Ki6yL5KinlkDk40= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=IFi8f7TC; arc=none smtp.client-ip=209.85.218.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="IFi8f7TC" Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-afe7f9fdb96so37273566b.2 for ; Sat, 30 Aug 2025 04:09:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1756552192; x=1757156992; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=jbqsXZ0a+2gRMmLHMi/t44FvhwPty9xFovSO5BTpK8k=; b=IFi8f7TCxN+nVFQuDVoK8TIJzUUDh12mv1OLrds3nptTbnaoVcikWPjB9L/um1NBPH HMWS5F24ez7u0k1mWUAHSSusIBq+Xlf29b0sIQ0WpPUyd7Iuzscj4UMwR6jqzGu13idI 8HQxqbQ82Omv9rLXfQh7tgwosc8abC1xLdPUTBnh/fMh00zUg+/VfWXPq9GwuQlLxLJo 4OCJab1EFItjJhXBaw4aNdO31ppnBCxreUKYIDVAtvprErnk8DqSBzIzsiJiPGtxKlLv ugDayC4pjjjegsrZf5/U4d9uQ+dLqYF+zxKUyncSfAq+zcWNek10CQHxxMxNJcXrWTT7 StZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1756552192; x=1757156992; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=jbqsXZ0a+2gRMmLHMi/t44FvhwPty9xFovSO5BTpK8k=; b=Qd28B/5Mvo4OjX+hFSiLmWcyLZIgNw1quOSgxlOA1mVYZ/FZt4FWTzNs7iQm59ricf X93Tm4TYrKJoRtwhjeDtTsACZvRecdcJFVpqyO+cBIQVtUOiw0BT0YJnfhb65+/YsC0F elmj2Bw1Ehos4xPto+Big6UdXXreh/772biYmxebdIgQY1gWDSGcqgj/cVB1HvSFmWg3 JaAiKZmlMyhmroWCNaAX1HaIqHOqArMFIvqKoMJpqgbXsoL8yzRm5/vJWWdPuZlzw9KU xtyTXwM6CtOcXJaXh37ZjOV50ganA+1rHU7WyTgGQj21F0bAWB/OIfPqiiNRHHuI41Fe reOQ== X-Forwarded-Encrypted: i=1; AJvYcCXXiFXYDZVZWR2eh+Ctlbjky8lrbIgr1IG4qDQkWakRyvIr7iwljA3NRddJUJloqiPYvoviYVk1pV12wX0=@vger.kernel.org X-Gm-Message-State: AOJu0YxOaC+K2MDhsq8tfIxyD19L9XjuItLtHZxW+eg2zIOCbxaBuvqi N/DM8pXrQUZqgsIjGeBre5U9PejNHsRS7BxbHSCz1G/RGyivvrMq96/8tVKfXbeZOME= X-Gm-Gg: ASbGncvoXv1+w49wajnCXVJOtAk7si5GMEOxuYKCyOmrKUcOC8v5ID9GlhkAVuw9B0k jhbZ+eHiC5NdgEryTesJTaB/m1CxBMLoC+vLZBzJ2WrSzpcLZbOwxECVI7VP8fc5iUc/hCH7MUK eDtRrskpzuAvtHzSNQIhDHhToy7eyibrtmHGcMf5uJQlbvC6xymgro1pPFlPY5p+0EATtWmXE6/ gcQ66srRIBXdXHnAtlbW9Em3J3yhu8wOZL4JZGj+dNLHDBe1ks5eR3bpTgo4jcq6UVMhhwL1UFx cztXMGiVF3E6U/HCaMp+kXsvCcSYCHeAqEWgrQ28Bpe8IY3cN59ZZXcrMSHtGDjEveLuFqgZuuV nVLFt2xlB2/k/sJ9GoD3HFBEkeFhYtBFTcPHNbB8= X-Google-Smtp-Source: AGHT+IHYI3tcuSfMfYLyvgkgErLnZ1GzeCpm9S3JwFpVHykTzgSrhsFx7MfV7tYp5tXNWutnC3a91w== X-Received: by 2002:a05:6402:354c:b0:61c:d7e5:47a3 with SMTP id 4fb4d7f45d1cf-61d0d365421mr1981474a12.3.1756552192554; Sat, 30 Aug 2025 04:09:52 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.123]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-61cfc21542asm3285666a12.18.2025.08.30.04.09.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Aug 2025 04:09:52 -0700 (PDT) From: Krzysztof Kozlowski Date: Sat, 30 Aug 2025 13:09:40 +0200 Subject: [PATCH 3/5] iio: adc: exynos_adc: Drop platform data support Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250830-s3c-cleanup-adc-v1-3-de54dfb1d9ea@linaro.org> References: <20250830-s3c-cleanup-adc-v1-0-de54dfb1d9ea@linaro.org> In-Reply-To: <20250830-s3c-cleanup-adc-v1-0-de54dfb1d9ea@linaro.org> To: Jonathan Cameron , David Lechner , =?utf-8?q?Nuno_S=C3=A1?= , Andy Shevchenko , Krzysztof Kozlowski , Alim Akhtar , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1736; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=KjoP2OpIwgvcEU8lQlbyugpaZUrY36rc56GQiCq2XW0=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBostv13VGu7FUVwm7lV7kKSuqLAH95o21fWUsyk kZGd4D32xyJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCaLLb9QAKCRDBN2bmhouD 1xCpD/9RsBrZtrfnGAO6kOBtpZf3RsuYS4WozEoGAPOZ/+LUFG7GyY6PHdLh04yO0tyeru9lmnl NWiyylXT161JodBZBtmPzVGF03rHBTAOUplPZd5paYxfpJwt8PJb/xHmt+0xSbnapKtKq200hOX EUPwCpJQ9D8g6nPMbYUQ6Ens7xPCUMXbhA29e7wK9UBBL0oTOeUZRaBbz4p0phSh1Jm1shYTVXp QngUaBT09dvDLQfrg9tGI+JBpDndf89JRLDDK3yQ/Vj813uwCaXSU3NmD0OKS/vtuUyzo/J0OIt 8vVneJFmFtj4xhz1JdbVUnA8vMsGRMZLf/f0M9GRJHxy7pHzmzW6OUolCzk+CHo3KCQgbOY1coA 6v46Kib9uoMtvr7Y+3aQb0c+2zWCV24+9ia905h/shhAk8pEhuZun2FPDPiUxSr490p1irdBmt0 6OCDoUzRL5lkSOt6avOdIL9235r4vBEvl2HvUzT9elT+Z6862INH90abu3DWL6oAm+rk4O2k401 /PuIEEZckhNUQTxHX/j6Hsvdc+1QQgbLp5dQXn/VfZp8fCYyNy6NE+jvz2674Gdvk0LFg9KbCrn v26uvKiam2qS5ejw+6+GF74I/T7rOXWawPDPYNvrAjuXZOsC2O1WHTbgNsWyDAC4U4RJ3YDi9gQ EEPu7EfKv7b8Umg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B There are no Samsung Exynos SoC ADC driver users which bind via platform ID, thus platform data is never set and can be dropped. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Andy Shevchenko --- drivers/iio/adc/exynos_adc.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/iio/adc/exynos_adc.c b/drivers/iio/adc/exynos_adc.c index 30f6d8436e775a8d2177951b436cd45152307ea2..dd1494ee365a7b34d6b485ee4c9= e753f50b5ff26 100644 --- a/drivers/iio/adc/exynos_adc.c +++ b/drivers/iio/adc/exynos_adc.c @@ -106,7 +106,6 @@ struct exynos_adc { struct clk *clk; struct clk *sclk; unsigned int irq; - unsigned int delay; struct regulator *vdd; =20 struct completion completion; @@ -213,7 +212,7 @@ static void exynos_adc_v1_init_hw(struct exynos_adc *in= fo) writel(con1, ADC_V1_CON(info->regs)); =20 /* set touchscreen delay */ - writel(info->delay, ADC_V1_DLY(info->regs)); + writel(10000, ADC_V1_DLY(info->regs)); } =20 static void exynos_adc_v1_exit_hw(struct exynos_adc *info) @@ -556,7 +555,6 @@ static int exynos_adc_probe(struct platform_device *pde= v) { struct exynos_adc *info =3D NULL; struct device_node *np =3D pdev->dev.of_node; - struct s3c2410_ts_mach_info *pdata =3D dev_get_platdata(&pdev->dev); struct iio_dev *indio_dev =3D NULL; int ret; int irq; @@ -657,11 +655,6 @@ static int exynos_adc_probe(struct platform_device *pd= ev) if (info->data->init_hw) info->data->init_hw(info); =20 - if (pdata) - info->delay =3D pdata->delay; - else - info->delay =3D 10000; - ret =3D of_platform_populate(np, exynos_adc_match, NULL, &indio_dev->dev); if (ret < 0) { dev_err(&pdev->dev, "failed adding child nodes\n"); --=20 2.48.1 From nobody Fri Oct 3 13:23:48 2025 Received: from mail-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CA81827C178 for ; Sat, 30 Aug 2025 11:09:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.42 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756552197; cv=none; b=WMASBy8P1aebZ8FTL/2lzt2PMfyRGsq5yZlAB16NlZ89Jqs0U4ylUw+I6mpEdjy3JRhWeEriaiebD6Rh0afMrm0ojPXRAkZFHVvYcz1eaiefznMbzO/YUmu04g3Pd0X7KBHEsxTzN8jE5hYmGk7pbG0Gx7KZSb2XDU0k4gqub0I= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756552197; c=relaxed/simple; bh=ebjPcUawDuyYiStYmNU5ZL3R3L1PNedniR0atYT+P1Y=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=D6ISzThCNjO6Zc3DjXQyxT8IAMP6jjuAgcGqiVfw1H+YjQxXZdeTfJgeNt5uhagRYsGcP/EomeZUCcE0JVAwdX6ZgjgKM8uV8TDRZ4i+KatRE8S5E1xq1+sHJe3AGG/MPyNYBkME0EMAF5RjHKgB7YYxmzIDKGwwlV1l7VquweU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=mPrfzW2F; arc=none smtp.client-ip=209.85.208.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="mPrfzW2F" Received: by mail-ed1-f42.google.com with SMTP id 4fb4d7f45d1cf-61cbf01e472so507713a12.2 for ; Sat, 30 Aug 2025 04:09:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1756552194; x=1757156994; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=lR2F57pXZlUmDDCYEA5++08US32un21m5O7B8t3ZqrM=; b=mPrfzW2FAZs/rZYVYIW54R0ePY24K4rrShfDoq9q9tpXor8CpVQye8DDbKBqaow6/E 9PPTu/UKnms4e80hiszzimSRSmyw+qpxRtv/i4WiJkeLekATrTSQlutenfdEJvn8qRL+ O67zAdOsOZaBzUlGNvPot0YiKdYc5GMvoXCfZzg9JTnl5blFo4J8RFr590T5cGLsUHpl zFW8jeqcNYxr2u5fda7Cr0msc259RhQ60wmkXyeFwx/lBiU6uTYt9Ikpr3cfAi1wWwFg +7aUSqsJHJIq5ynqclCRA/u+73Wjs88wUmwdenu4XQ9vou8pZmg80sF4auPHqI0AmsHA GB8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1756552194; x=1757156994; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lR2F57pXZlUmDDCYEA5++08US32un21m5O7B8t3ZqrM=; b=xCMjrjmPZ2XxTDh4CVQKcKR7utKlePt6ZIqZuMGSlX4rjLBRe9FQ3ZbIL65qYDEUot pPSoVvdiTb22ixBJlRpVnk7GoPbGBjPa/Gmb/9bOw9bEtyTywDiARFD20jNIixa5SvN/ evlfBVgvv2GOsG7LqZlPZri7MH3sg5aBMdN1aeVvPFT2cDIVi+YUowR1VRADhONsE/YR PqphuxVJoh+aF4CxAf3qdnZSrIeWgUR9xxgd31ivLB8n3Vk79Vzid7h+nkYNVbqqwneU 3nMfYyihub+FbSqR43YOKzdEhHjIRnsuTQ6IdUE5v7FGaT2tl9SB6Q3GwYij05NGX+So 4guQ== X-Forwarded-Encrypted: i=1; AJvYcCUTgMDYBgDPagMsxcR7ebCwrLupx3iZu9Z/UMJtCR39ryZPfDYJjWe4VLY8bViaNTQMs1fsMuYcq5vxCYI=@vger.kernel.org X-Gm-Message-State: AOJu0Yxxi9zMuF9A4REwJBRohhATFXKZus77WDTPc6OtfS9y+gsjBpDE T4eQpplaHBAyXaGtbRWGayOj4riMuxfNzhogYbdNIH0Jg81yJq+NhXItA7kLXf9cfwQ= X-Gm-Gg: ASbGncviuTyxlJDC9BoipFbXzrlVxJPZfjSthD+p8lyUFfYc9y20eNO19LkXWWBj4TK z3l9nS0QMk/9O3+xi+s8gxPorPiYsIBqNIYV7wWlb2FV2vuL6mS51UvwOV2mEt3eIMncA9ugNKc M9C70nN0/GGvKNkQht9bAzvS4PKgZbeXLQqI64oBEvi4sbFbZePQHG2sqZrhHN43S96gchwUkay qllWLTt6vnXuP62HrYF2/SUazBIexxFMGo6WYFJrh8s5cBDfdippolAyT7ZvaLNOEMjkk7XAtw8 /U6U1PqIpLM+BSR/Mx2xkeEteoZQDPUpQNeN3svUq+J2TZKOiN0M0R5HtbOqdaHYLZJ+Svh0UGH hfidAkQveZ6P+qnoUa9W1fXnObFXn52Lc3R9gCUc= X-Google-Smtp-Source: AGHT+IEHg6IFH3LpvUBk8gtz2eV/nm1aGFtWrmsvGK8L0WqQQZfDuF8JLAEJnGWmJwRCGuoJqDkE/Q== X-Received: by 2002:a05:6402:13d0:b0:61b:6c51:4005 with SMTP id 4fb4d7f45d1cf-61d0d5f33e1mr2017554a12.6.1756552194001; Sat, 30 Aug 2025 04:09:54 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.123]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-61cfc21542asm3285666a12.18.2025.08.30.04.09.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Aug 2025 04:09:53 -0700 (PDT) From: Krzysztof Kozlowski Date: Sat, 30 Aug 2025 13:09:41 +0200 Subject: [PATCH 4/5] dt-bindings: iio: adc: samsung,exynos: Drop S3C2410 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250830-s3c-cleanup-adc-v1-4-de54dfb1d9ea@linaro.org> References: <20250830-s3c-cleanup-adc-v1-0-de54dfb1d9ea@linaro.org> In-Reply-To: <20250830-s3c-cleanup-adc-v1-0-de54dfb1d9ea@linaro.org> To: Jonathan Cameron , David Lechner , =?utf-8?q?Nuno_S=C3=A1?= , Andy Shevchenko , Krzysztof Kozlowski , Alim Akhtar , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1211; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=ebjPcUawDuyYiStYmNU5ZL3R3L1PNedniR0atYT+P1Y=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBostv2ZO/eRzqfN09DvckB8iOzzLArEcasEJY79 KGtOMomiLGJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCaLLb9gAKCRDBN2bmhouD 19RCD/4xQ3Lz5ArA1qhWwyYsVlyQlUrvZkfdqHYEi4Z3pihmEyrnxDe7VcRcaaLD5l5Hf32dvUh zkjHWB0psmPLTFsE/4DoNsY3zrb7K+pvqvyPzGOwO0rEG8V8Dl229/x16WBxhY5pG2Edn5s8Z7A asw6TY2NjoAQaK+oDCiskoRQDrAlif2cZNdNVuXnOt2k78SbnHcVimLj6zF5kwonj/FPfSonoYK ryXfKQkn3z5G6dWXHfgDtA4AZQ5UhHI5wSVZTOHt2h6jYkO+NEpE6d2CqdIbz2CWzA3POOJSYKl 3fd1XN/yu104EEvJSPcbDdl6+vBj+9/kwfby/ALUtP4KXyiJ7LPWfau8DfZ1PK+9z5QE997+2vI nMfRgzL+nvN9A8ePeOCJy9HCpNDYCbDr3uip6Qb23fvPHgk3JJMx6oNeZktf7A6LGmo/FXZNBVl TYynjROY9z3MAaTYvzHBtZ5BxLgRVkSrGLlvQdba3HPFjZdFbqprdLoE+50cqEYb4Eam671dNtN Qc7wThoHCuER5UKtiP7QLTsTStp55A0RcXoDgLtSgVVwBepZYIezh1cmY6n815AnCErxAhuFRpp gcVthAWmYl0jzee1XHTrxwR/dWtZOehvKMDxXG+oJcyxqeugKVHoMrQsgfOddrfMiLlASAf8SWA GkMBVLmFCrHgKwg== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B Samsung S3C24xx family of SoCs was removed the Linux kernel in the commit 61b7f8920b17 ("ARM: s3c: remove all s3c24xx support"), in January 2023. There are no in-kernel users of remaining S3C24xx compatibles. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Andy Shevchenko --- Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.y= aml b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml index 8069e99ddac860b22c793c3ef9479f720cfd8c65..73d7ba0fda1def433a97d10bce2= 1e762a307e36c 100644 --- a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml +++ b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml @@ -18,10 +18,6 @@ properties: - samsung,exynos3250-adc - samsung,exynos4212-adc # Exynos4212 and Exynos4= 412 - samsung,exynos7-adc - - samsung,s3c2410-adc - - samsung,s3c2416-adc - - samsung,s3c2440-adc - - samsung,s3c2443-adc - samsung,s3c6410-adc - samsung,s5pv210-adc - items: --=20 2.48.1 From nobody Fri Oct 3 13:23:48 2025 Received: from mail-ed1-f54.google.com (mail-ed1-f54.google.com [209.85.208.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4821027E07E for ; Sat, 30 Aug 2025 11:09:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.54 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756552199; cv=none; b=oGAt11jJOkvFeVlKzenWzLMpmYHGjLic948fQIsz8tRV/qI8C7oI6M6fPOdeW5iN/6HPqlC5mzOdXxKTUkkILFJOij7ZJnvGqQWJdEWQZaibwUf6EEnIc4P47B6Dy8XFVICbbnVFyEHMrHD8M+i8QZP+H1Z+hYQiKx7YrDMSDWQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756552199; c=relaxed/simple; bh=cHIEU+NPJpVUCzgTWpzKVI4NuSvxjRXzW+gY2ZxvjWs=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=BiQsi298LpSVFJkZUzw+vArG7QKX8+s++N8I5ggu442aUhCeb5one/ILpFpMDQXn0C2IB1jP7afpKsizqnMJ2Dsyyn4CLxvt0pvT9MvseN1JTw7fjRoc67ZcOc44Jx5Nj6jtuOW3kquLZI5rKbrMa7jWd/3xnmJ30GPxf+ern0g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=r4a4fOjL; arc=none smtp.client-ip=209.85.208.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="r4a4fOjL" Received: by mail-ed1-f54.google.com with SMTP id 4fb4d7f45d1cf-6188b5e3de6so402351a12.0 for ; Sat, 30 Aug 2025 04:09:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1756552195; x=1757156995; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=bh4erFgymhHXlSdczQn09Ns70cyX8l95wuvz4MlLE5Y=; b=r4a4fOjLUb0IORCS5OaM6pWMM/4KNwjkrtyCCjakqXM4BcyBL4DiBUcA7daRtCYupp M2jfhdaSlBek78ClA2XqXOcqUhtoExnEy7NXSek9gZQT7K7Cc8F5uv2WIZAicvPjDQ2i 75+d6gSwutA2yWMQHjEV0s8TWEgqmGseTusFXtGcO7D6jiO3gg9JZIZGNmj0Daeur83q 3Z4/VVIqVMRpGT6mCGKy2Nemu+8I2/BHpHwNjTaiCO6cHFhBcL/OoDwfciOB08eWoZ9y Fhblr8NgdHwC5SCUyyH+L5OY+yaQvI4cJZcypspMdxAEJFRYlYRW5Ov4utzkVVV1s65J P7ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1756552195; x=1757156995; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bh4erFgymhHXlSdczQn09Ns70cyX8l95wuvz4MlLE5Y=; b=BAp2RYk0MGySZKmRSzed8/7yUgLHDwgJrlYpQfH63n73Qd0dRpKOnKYlHEV+q+OYLn +ztbiLRtBv6qsLuWDF3W5ybsrjnbZ7Xj3TBbb/qbIJgnG8RjYol1XWHaI3G58l5BmbEl UmAt+pTj9TyOyCKKA+VMTuh9LPoaOVu00mHzNf9+XguKk/9r7lesbWjSRTeeqXkcd6Wd 0LV4HXZPQbYA8XIPm2GJ+aqLey8m/Ue3ILGS2P0lR4/a7uyY11jzaDejFcvP/wbcSmje Ry0CCGhrJIJws4TXx03mvPvFkw9x372NHonU35t2OHOZC7+ZxZ1rhmfWk2Oo8Xag7cI5 pP+g== X-Forwarded-Encrypted: i=1; AJvYcCWZ21MNtn40zf7K9pGPFk1pTMVFx7NsvJ+EFH0lnRzUQ1bCc5G2FkdoYOm5emCj5A/AXv5REa49BKIg52s=@vger.kernel.org X-Gm-Message-State: AOJu0YzEodo66XToZk1icW8T3ZYmQeQywq96WgmMv3Jd/UWGjdm23qel c3UtmT+S4W2MiIczML1NFzh+Me2ihWxRk56bR5fT+D2VPgMFBGBVsGHUdmm+utgIucc= X-Gm-Gg: ASbGnctnUNLTH9GRRqskYrysDhMwGI1pIfCsNiAiP2qc5PgjeBt6+HyUW/QvrpxKHLz HpByL4M33/IQ8NrdI3qDGXHjGa7cDxe8Tb2gnW+KkOhlaMCZzE0ri3V0kEk1Q7jLak5ONEzUrm8 PRQgrlBgEaBqrcPs8xdDGfe+pTSr+qccocuCGulhDi7Xc587Z19Oht68U3z9Ew660ml1EiYm7s9 INx9tYuigxn+ayJ9R2kqM/eW46R+9uPrxR7lwQSCN0LdRQSljV3dpr7i5PvbU0PWYMIPUpwDU4W 3UZcpcIEwp9amrqWR22avvSDa9csKAYQguM8R0pJapLad6LR2hb96v05pz4SUAVaOytlrzV818+ a+k63+XzJQJvAS8026tvUxJhD5lKM8kdXXFxKQ/U= X-Google-Smtp-Source: AGHT+IFBgu1ofh08wSJsUXZGfBTpuxs1IaZcrmEM87+9ZBrU5RDUdFz4gzUARIltFoHjOTc1YvjmYA== X-Received: by 2002:a05:6402:2105:b0:61c:1bb3:2473 with SMTP id 4fb4d7f45d1cf-61cfe999d10mr2852784a12.3.1756552195504; Sat, 30 Aug 2025 04:09:55 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.123]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-61cfc21542asm3285666a12.18.2025.08.30.04.09.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Aug 2025 04:09:55 -0700 (PDT) From: Krzysztof Kozlowski Date: Sat, 30 Aug 2025 13:09:42 +0200 Subject: [PATCH 5/5] dt-bindings: iio: adc: samsung,exynos: Drop touchscreen support Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20250830-s3c-cleanup-adc-v1-5-de54dfb1d9ea@linaro.org> References: <20250830-s3c-cleanup-adc-v1-0-de54dfb1d9ea@linaro.org> In-Reply-To: <20250830-s3c-cleanup-adc-v1-0-de54dfb1d9ea@linaro.org> To: Jonathan Cameron , David Lechner , =?utf-8?q?Nuno_S=C3=A1?= , Andy Shevchenko , Krzysztof Kozlowski , Alim Akhtar , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-iio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Krzysztof Kozlowski X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=1659; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=cHIEU+NPJpVUCzgTWpzKVI4NuSvxjRXzW+gY2ZxvjWs=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBostv39456voN2g4Wi5/A6Obv1+NtJbj+zc4VQK FOmRj3bE4qJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCaLLb9wAKCRDBN2bmhouD 1xcNEACEkHrmoaC5qwjaF2gjYtInfNH8N/FKtg7etMoJXRrCaNqinwSklAwwUFZD654hDJDLZ0K MAQSvEnfCZVLggE5Ts8O9z/uk+ggfYvWin1Hfp6/FNww3cEwXYp6j5ynb6oyPow5c/ItmdeC9JX gK7Er1IlJ5+Rz0L5TU6J5EoJZn8F500lY5ExkpXOXhNB7A90+bUPomCzG4f3hLnhWWpFRj/w8Jv YwRDtXCVjkJ8Tj9I5scGmKzYEzA/xlSx1KkwAMukQoyLS6ROqFLTiMIjqFqqTOI+salro3quSHi diJu2y6tjzqIQrEUSPYwoEsmpClANA7B9w4L2PY7hJ6DIzeep8NwIhk/PY7ZZZQ2ThOLLWQpX3s sw7ZPXny5LSkBzE6A5kbMGklrjBxD54AkfkHOxIdtiqJBp9F4ls+lLHUpKCtKMvvzX23Myy5OsD yPTUXtgxbMCEQuDAfp1hm0xWBD+zJvWux2FIe+mjeVnahghukgzHPq+I6Bed1TkkYMAUnhSGIA0 DYg6ZzTNkQCHHatjYCTIENVOtgKWL3Mxj12Q4CEwA49yXJZnGgNU0kMsjaJ8BRxRIL0+TnjBQ5c MHpV3EKFFGdREqfcRqjEw2pyuB5g8hoDtb3NxghjgkDGX9nET07QYhAaAORF80N8du+EP+MNzz9 vGDcv9oR5wso+3w== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B With last user of touchscreen via ADC (S3C24xx SoC) gone, drop the unused has-touchscreen property and optional touchscreen interrupt. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Andy Shevchenko --- .../bindings/iio/adc/samsung,exynos-adc.yaml | 19 +--------------= ---- 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.y= aml b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml index 73d7ba0fda1def433a97d10bce21e762a307e36c..0654f8972525bf67089fe7fd4f3= ab3ff506515c3 100644 --- a/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml +++ b/Documentation/devicetree/bindings/iio/adc/samsung,exynos-adc.yaml @@ -42,10 +42,7 @@ properties: maxItems: 2 =20 interrupts: - description: - ADC interrupt followed by optional touchscreen interrupt. - minItems: 1 - maxItems: 2 + maxItems: 1 =20 "#io-channel-cells": const: 1 @@ -58,11 +55,6 @@ properties: Phandle to the PMU system controller node (to access the ADC_PHY register on Exynos3250/4x12/5250/5420/5800). =20 - has-touchscreen: - description: - If present, indicates that a touchscreen is connected and usable. - type: boolean - required: - compatible - reg @@ -113,15 +105,6 @@ allOf: items: - const: adc =20 - - if: - required: - - has-touchscreen - then: - properties: - interrupts: - minItems: 2 - maxItems: 2 - examples: - | #include --=20 2.48.1