From patchwork Fri Jan 10 13:00:24 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 856647 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.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 349B720B80D for ; Fri, 10 Jan 2025 13:00:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736514038; cv=none; b=etMs2YfMaaBhR/g8iK1brTkaC6QKlGfnpWGphe/0XHNxm3wb7ypjwhzzOP/B1bIdaT6eWbLv6w9YW/Uis1Cs/BYnprcuDdLEhr/MVGolMc3K4As2wiw/VAUz+HzOBd/RCh+OBf9xArQHWf7ZWKqhaV2e8yrrh0Bu+dF+cye3Z1Q= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736514038; c=relaxed/simple; bh=Ox0b+t8m6a7nsdtijT2HhmYrccXzYcL5Kx6tcfsgmzE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=oa9i/0J9PsJ8uyKSI7gSjBGOVbX4PCZibA3zskGhn2vNNW/95nyN2ZUIy8eTlRD0Fv3gDpPgrq+DKZ1ffigd8Bya1Gv76kqWdanbDeyw9sU/8HwsQLTzP4Ttx/L77dOGAzXFf0/tKPL7k+5AEN3qa/nKaeS9oMu47uRMavNoRNc= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl; spf=none smtp.mailfrom=bgdev.pl; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b=r/dECvPx; arc=none smtp.client-ip=209.85.128.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=bgdev.pl Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bgdev-pl.20230601.gappssmtp.com header.i=@bgdev-pl.20230601.gappssmtp.com header.b="r/dECvPx" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4361b6f9faeso13128855e9.1 for ; Fri, 10 Jan 2025 05:00:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20230601.gappssmtp.com; s=20230601; t=1736514035; x=1737118835; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=UumBL8EipTk8x3xnWxwvytHrJarKXZ95qoxDRHZZGmU=; b=r/dECvPxzlgH+eUJHTTCJqP9HTd2e5jNEV3LTvfvyBZwuOshbRm/TkUXYWWr/19ulA ixqu3KauKwViACzYGDFHJUvN3brDIPo2UnK7DtbYOM6qJchpg+dWtFDIH5gLzAYEnBFm zpHljJQt/37I8AZTRMPvkgZtmAxF2l5s3vYm43g/fCRTpyGJCchjTfciY8DpAQI7Djlj x/cILZk1lZVHBrNIgEc8qRr1+rVYBA83CTmEL1q1+TXGehUJKAhy47FdLW/3o2Af//Cm /5T81N2t2xIFFMk7QrE5VJCDjiBBOEVDG1+GlFFPuRwdD1oQ59TJMX1inBQQZ3jHIUxm fveg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736514035; x=1737118835; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=UumBL8EipTk8x3xnWxwvytHrJarKXZ95qoxDRHZZGmU=; b=W1ZPSIqExlCUoucjuzTBKgdqk+aD0K5/NZTeK7C5T/KytCVDxMjSfewOKPPebyGQ2b +e+PYQp1f/SFJYItGWyf/XbrNKgLtp/36q6Dspg0YSFHJv/mKWHSWeIOL9k9wjWJ+N8l RRzhNkHVOV+B3Pq8xprHjLyKShyYdnpfIygMopCDhsvWXY7j0W6AtJKTq967e3MGjOya yjrpCUfBSjIBMhWMEUvXYULrQrA7Fd1wAOfjNVdnA0kMnUaLHYg5kLE2H4pG6UE4w8/h /erLl1nQS0VIgkhQ7i3zXwg+lUFJwkoVmZ4bD4Wp0tI5X+Jm10jR/MSiKvXVL6lw0LFN kYuA== X-Gm-Message-State: AOJu0YxExRfuhuikVCUSTu8LFAxvdJ60Apzy9C7Sj/6sQvgo5izHDLFx ijtxncWcgE+RYwujf+TicOpkZIswGj03FYtEeYWz1VkcZwU8yhxmLLFRgs5/ruE= X-Gm-Gg: ASbGncuV/vx75xbHJHzhf9EfDqRcmpfB+9hGcNLXGu44qYvuu2Z3vrV6atpNTFzxnKT w+xhvFCKei7BKLe1p+1VQr2GBL+vvmRFxRsOMUJELsGfQKyGyEZeUZSpViuUa1RLM8070AmHN+F QscHYPhZMPN5fo4vKldAnheZg+utdP3Bcu+ZgstoqDHNjK9pxtbzyMyXhBhDr5jaQ3aKfyXOpHN r6NnO2KUcuLJypVoHp9P+8PnZ0wfw6qc6Jncw1RMWDMV8UJlYwWL8A= X-Google-Smtp-Source: AGHT+IHu+3YW9KFmIbdwXeSMENWMKFjtkxFiR3VHsAUnnkL2+C4k2bV8dvw7WIeaSgTQI82r7Xq/fQ== X-Received: by 2002:a05:600c:83ca:b0:42c:b8c9:16c8 with SMTP id 5b1f17b1804b1-436e9d7b51bmr54548015e9.10.1736514035335; Fri, 10 Jan 2025 05:00:35 -0800 (PST) Received: from brgl-uxlite.home ([2a01:cb1d:dc:7e00:5581:e96f:97e:b3a7]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436e9e37c2esm51360745e9.28.2025.01.10.05.00.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jan 2025 05:00:34 -0800 (PST) From: Bartosz Golaszewski To: Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Ripard , =?utf-8?b?SiAuIE5ldXNjaMOkZmVy?= , =?utf-8?b?Q3PDs2vDoXMg?= =?utf-8?b?QmVuY2U=?= , "Geert Uytterhoeven via gmail . com" Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [PATCH 1/2] Revert "gpio: 74x164: Add On Semi MC74HC595A compat" Date: Fri, 10 Jan 2025 14:00:24 +0100 Message-ID: <20250110130025.55004-2-brgl@bgdev.pl> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20250110130025.55004-1-brgl@bgdev.pl> References: <20250110130025.55004-1-brgl@bgdev.pl> Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Bartosz Golaszewski This reverts commit b1468db9d865deb5271c9a20d05201b1c0636895. There's no need to add a new compatible to the driver code, we can handle it with a DT fallback. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpio-74x164.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/gpio/gpio-74x164.c b/drivers/gpio/gpio-74x164.c index 2ce00e90ea56..fca6cd2eb1dd 100644 --- a/drivers/gpio/gpio-74x164.c +++ b/drivers/gpio/gpio-74x164.c @@ -165,7 +165,6 @@ static void gen_74x164_remove(struct spi_device *spi) static const struct spi_device_id gen_74x164_spi_ids[] = { { .name = "74hc595" }, - { .name = "74hc595a" }, { .name = "74lvc594" }, {}, }; @@ -174,7 +173,6 @@ MODULE_DEVICE_TABLE(spi, gen_74x164_spi_ids); static const struct of_device_id gen_74x164_dt_ids[] = { { .compatible = "fairchild,74hc595" }, { .compatible = "nxp,74lvc594" }, - { .compatible = "onnn,74hc595a" }, {}, }; MODULE_DEVICE_TABLE(of, gen_74x164_dt_ids);