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: 13648364 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 97F3FC4345F for ; Tue, 30 Apr 2024 07:04:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:MIME-Version:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=WWhg5FDb3EAuGLoiKgQfJqdsy3W7zhh2dgbZSFsmhhw=; b=xtjQxnGb62a4ao 9smYkgB9Bb/+eJidWmLGvdgh2ghjxlORTOK7Yea/aL+hC+pPkZDBTnQBp+8ObwEu/IEvwigFxkDag iZMPA0EvueIF78/ratVszZRO+lZF4tH4BBPt8saYQ1iRq5C4587P6IigQBwQnb+PwIYKJOlAIWDPt f/DbcVuOCEWRob2m6PBkWBAe24dyywMAWYRNYDUl+Z9HAxowT2dgNH7OnFmuagt1Tc8AKV5tToHIh zjj/9hhEX258QnaNRbWiQP/EJErOBEUx0k08G/W/uAICiBjRnT8X2ike0oF2ON48h6eCuBuZaJC77 X8/EmVlZmmaYVKPRhFKA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1hWw-00000005Mx7-0NnO; Tue, 30 Apr 2024 07:03:58 +0000 Received: from mail-yw1-x112f.google.com ([2607:f8b0:4864:20::112f]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s1hWs-00000005Mw3-1X7h for linux-arm-kernel@lists.infradead.org; Tue, 30 Apr 2024 07:03:56 +0000 Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-61be74097cbso7331027b3.1 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=lists.infradead.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=lIint6tsxx9YLlSiQYYSUOQPw1ufRV0yUsloaAWcTZVOylF89+IvBpwO2MJw4K79C0 PosgvLsHh7zUI0I2wlG/NnM2+j+ZZUPze2mgiBCGLFIYg9b/6NczZKX87g7Eb8QOs41j C6kpe3rp1kPHZXDt2w3gWzBILsT5EL+NNOA2zulZjcWcfeZcT1tXRlcuzRlwWvHgPnGU yyozThY+Jpl5yiXySV2vArzUWUmgT9wEXlIe1zpZHkH7fAG5z9FUFEezsDHEzAsbxGGJ cXpY8UIQn031nns6HfHE/O6N4eD8DGZK3iD69quIvokcM5J9ojNwVhN52Y/IEvSGLdae GBzg== 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=WMoofE25ML+naRkI7H4vM9JYc0M9K3qcn71/0NNKxIl7u/xMJu9Mx0APormLJpJnGY brw/AJ9BcF0wgi8WEOd2ojGvCpr3hhDhIgTUf7lzm17xcNENl3G0UofXhe68z5071wfS Q9GXrshFPAQitOv4ogTJqF1MCKzNIthzcfhku9on8CPg9P11G/cb9scacBywj3Sty9Ho mVyXYXORnKOe7e+ZNn7Ir9UjgWsACKDwbrPoCx6OHWBxY67ubyYJUAgaI6FroX6u1WJZ 9+/G0Q0or6GoJ9MYCi/oyqyZx49MMgyee7ZxLXJ3ep2N16dlUf/Ah7nx96AwNsB0vr+U h6dQ== X-Gm-Message-State: AOJu0Yxb6RgnuqkfAn3dIomxyp1ymKcXi5h1s6IcXTw8O//ZktNMj8BW 2MdmN1Pu69cYYyD6YLw1nCVXDDn38vxd2GS2s8kLaPnXDLaYKCSXwpoK6eaXZBc= 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> 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240430_000355_040781_2E46F64F X-CRM114-Status: GOOD ( 10.44 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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,