From patchwork Tue Apr 30 07:03:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 13648360 Received: from mail-yw1-f170.google.com (mail-yw1-f170.google.com [209.85.128.170]) (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 3ED3ADDAA for ; Tue, 30 Apr 2024 07:03:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.170 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714460634; cv=none; b=inMkBFou0C/iExucu0L9oCktkuOdUsIqHOsCBZroNprtIAgN4oBSakU7LS7kWODYZvA47ZN8i+OEhm1Un26qfFbTe27xecxsUExedpzje2jKYXR3mmbbGBbRjf6BePg6N41uUIh8+KWQVXhveSdzKQOAX+pYaSOlr+GToAYfJRU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714460634; c=relaxed/simple; bh=G1k8CpKdg+bfIUwSdRenW5CRY3jxZAX4mgXlxWT1N1w=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=hVeWWn93ql6cLV71jrnQZjynvIi2UrcxITuf7obxDIRLG6ZXNiX4lk+7ilJh5rUVWv+Ac3qelkEAp1KbKjD4NIqB6KFYoy6xBJvK6Iu39JZC7+7Mw8qb6OS+x+3XoKhLOO1bKDbWSkqnno4tN0HAjM8x+AlXTD+8f5MPtky0kQo= 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=DpyNNrZ5; arc=none smtp.client-ip=209.85.128.170 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="DpyNNrZ5" Received: by mail-yw1-f170.google.com with SMTP id 00721157ae682-615019cd427so41172077b3.3 for ; Tue, 30 Apr 2024 00:03:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1714460631; x=1715065431; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=IInDItLrXNZ4XNBWelveHBo8SDn/BQxqaWUl2OaDTB0=; b=DpyNNrZ5bpOiRbBkrVTpbFIVOWpuGiP3dTdf9esZJIu/vAw50WNmipAMnd/RYNxn6m DF8048f71D0d6v6MTo1Cnmi5CtnUt5zRCYZqidwaGvXCdIKfMhwmgrhNJ/IG0wZhzewa tJOfjAhlXdC4hF9OdP2YcIRyVldnwIwN/WZWDFia0xfz9hLIak8wO2n+CAoLnfxBNV0c N1/74Dmj2tcCm1K3g/z///EbMLpGBMywsQl5hCJxJU6e0dEO+TbvdmYu6hp3noEh+K1P VvS9ljT3zjNT2F5v92kzkixciv1IgJnu+mWhworADvCkEwdtx8Hrl5JRysSCK3ZEy0Ox cpsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714460631; x=1715065431; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=IInDItLrXNZ4XNBWelveHBo8SDn/BQxqaWUl2OaDTB0=; b=DN9bqMrR+V5x11AZlpghopYtuBNImnNjBYqZPfXkMExn5viLEsqE0vC+pDodq+eN+D bUHSvM51MKL76TqDEWtOeFLZGEJKA39pO8FQQVxnQP7Uh9F2ItuO9JDQfKieBXjVbBK3 3GzRZb1u0tWsiBgMldkhCj8/mJBy6nRuAhuaBIosWB97/Sg4hVX7MVlPHPGYIrz2ejFz gBdJk6slVe6qbtLOHG/DgzbqDhmEp/KnrTUYPD1u1hYNoY10yQJvkkVgMmxPYFYtBD7H dG8av91l5vQqnyfXFIqCq6Uj4swo+0bHGkBDDvb0me6AT3puYp6J9iZjmsZstQP+QbbI qqvA== X-Forwarded-Encrypted: i=1; AJvYcCUS4xiGMPFni7/wX768fgP4fUUPudJNOHUxDEcDKghh6DqkeyAASWTe3CW+FaHD+OmRhPa3PHuRC0d+JyeoCLLh9nZi64esRvECWBM= X-Gm-Message-State: AOJu0Yz27Ki9bIJ2gXiM4dnsOftA+MYJG3XGX/PIQlUPwQKjRQKt5lqD y6CB1xOrEPf4sWwyA2COP0GgNnXQDixibfdDFrQdMQbjwhQuRFytbyCBkVxUb7Q= X-Google-Smtp-Source: AGHT+IHNrNxsl7eqKfYPVs0+J4/3qJ1v/ED7s2T5bVKKWAFeZIDesnnJwNxwvf70mUgFPuqrS/Htrg== X-Received: by 2002:a05:690c:6f84:b0:61a:b7c8:ea05 with SMTP id je4-20020a05690c6f8400b0061ab7c8ea05mr15025816ywb.35.1714460631276; Tue, 30 Apr 2024 00:03:51 -0700 (PDT) Received: from [192.168.1.140] ([85.235.12.238]) by smtp.gmail.com with ESMTPSA id z11-20020a05622a124b00b00437b4048972sm10610674qtx.18.2024.04.30.00.03.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 00:03:50 -0700 (PDT) From: Linus Walleij Subject: [PATCH 0/3] ARM: Modernize the PXA Spitz a bit Date: Tue, 30 Apr 2024 09:03:46 +0200 Message-Id: <20240430-gpio-leds-miscarm-v1-0-9c94d7711f6c@linaro.org> Precedence: bulk X-Mailing-List: linux-input@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIANKXMGYC/x3MQQqAIBBA0avErBswFcquEi1EpxrICgcikO6et HyL/wsIZSaBsSmQ6Wbh86jo2gbC5o+VkGM1aKWtstrievGJO0XBxBJ8ThjdYEJvnFJdhNpdmRZ +/uc0v+8HrGy7CmMAAAA= To: Daniel Mack , Haojian Zhuang , Robert Jarzmik , Dmitry Torokhov , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mark Brown Cc: linux-arm-kernel@lists.infradead.org, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-spi@vger.kernel.org, Linus Walleij X-Mailer: b4 0.13.0 A few ARM machines still use global GPIO numbers to define GPIOs, convert them all to use GPIO descriptors instead. This machine uses some input devices so we go the extra mile to use software nodes as desired by the input maintainer. Signed-off-by: Linus Walleij --- Linus Walleij (3): ARM: spitz: Convert Spitz board to GPIO descriptors for LEDs dt-bindings: ads7846: Add hsync-gpios ARM: spitz: Use software nodes for the ADS7846 touchscreen .../bindings/input/touchscreen/ads7846.txt | 1 + arch/arm/mach-pxa/devices.c | 16 ++++ arch/arm/mach-pxa/spitz.c | 89 ++++++++++++---------- drivers/input/touchscreen/ads7846.c | 31 +++++--- include/linux/spi/ads7846.h | 1 - include/linux/spi/pxa2xx_spi.h | 2 + 6 files changed, 91 insertions(+), 49 deletions(-) --- base-commit: 4cece764965020c22cff7665b18a012006359095 change-id: 20240424-gpio-leds-miscarm-d983c739001d Best regards,