From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yw1-f180.google.com (mail-yw1-f180.google.com [209.85.128.180]) (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 418D01BF20 for ; Tue, 30 Apr 2024 07:03:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.180 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714460634; cv=none; b=AT6QbT0IKkoj+E4hpbjweEsNbKnTKUqreU7AD/MDz+XscbIl+kSf+G2QAzYjMagcyjlrU9gFhLSu0MZOy96hZ0z+QGPVTOMW2hqsTyuuRcpes06i/3o+kvD+XqT8xVbET5FmZhX8ex18sVwcbsACHiseWcAGQJekaLYKDqflzcY= 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.180 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-f180.google.com with SMTP id 00721157ae682-617e42a3f94so57984637b3.2 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=qdLqrVsIW2HZnSzndKY+dnN3JkIgixqtEGdMbn55X5ZanJ28swhrBeadgFg0cLuN8v smINGEznqerK6MGf8X9SgFRZdRsEa626O+tVT/DjPdFo2ejQArSeQwdwP0DTPCbMZSEL ZSH/YGDJeq1+2ejwHU/bmxiRg3Bjpcwj9FrS36M6JCkljRxAwuYBH6D9TQaJBAU1nEva 8tUV0drL/Cm1e4sixaxvAk+aTt9dQKkiPP43aKL3HdN921JgUDUpJlS0shF2pLCba/HS dV+1hS7dFnZXyVzwfhBJmfFsDHMQc7zCozwWB32F2FSIGxD/iMAQ6paBsC3WEAW2CcC2 3NUA== X-Forwarded-Encrypted: i=1; AJvYcCX9JD3yZ66mLcCiTlRtc+FbTDpfbksRLfFbUpov07ngVGYUNVx/nEBI4Nocz05G9Vh6znF/Zb9l8H37QX9CIb55XOhkTovGOw1gOQ== X-Gm-Message-State: AOJu0YzLKFfU36eJqsffm4nk69SZERKl548C8g2bPo+uH0u3adkDXPlY 2K8FNrgszk/+mVlfWJlOKwYor130VSS80hqW+QMVsbGccUgH6nrefxnJwdT5GTs= 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: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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, -- Linus Walleij