From mboxrd@z Thu Jan 1 00:00:00 1970 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 00986C27C4F for ; Fri, 21 Jun 2024 22:26:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=A/oMLkGRAuHveOGoBUIAcexGzHKYwSyRCCoVkHqIRHs=; b=N+XWU93bfSmOaMB/6UJ8kuBtAo WVO1dku60T/VcA3IIdAp8MTmd1I11Yro6jDV6JIUM9I8TCPR3cJexSbgvMi5PYYLYSYOkD8W6vVrn RgCcVlXo3vST31MWVuv/S6Khzfs2yis9R+dYzkD5k1j/2RaZg3NL2krlZy8GlPBOrARDA9NJZHnG0 q06m/iakWzWEUd7d4BHupsQUtlOavWwgsQEucDvScuGyQ95olC+8NABu+GDLZRgHCSM0j1ozQHnJO zVZp4GG34GZmwEdnsZrjrFFOJkOD1kzGfSXkeXFSHRI2fOONGhGt7pDUArkum7WrqTeubVTm73IiJ MHCp2HjA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKmi6-0000000Al1q-1Tnv; Fri, 21 Jun 2024 22:26:22 +0000 Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sKmi2-0000000Al0W-0pYA for linux-arm-kernel@lists.infradead.org; Fri, 21 Jun 2024 22:26:19 +0000 Received: by mail-pg1-x530.google.com with SMTP id 41be03b00d2f7-7178ba1c24bso628622a12.3 for ; Fri, 21 Jun 2024 15:26:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719008777; x=1719613577; darn=lists.infradead.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=A/oMLkGRAuHveOGoBUIAcexGzHKYwSyRCCoVkHqIRHs=; b=I8Sal0+ntSKLnxWV0AUNgobd/ghJiOQLKy/HioJIsr5K/WEse4j6D11BwUD0QstcNd f9u1Lk4DbBmBMzfUDETgXoSu8t76FRsa+hgoj1ApCfJMhc4/Hd2hSPOmyRFJl94pL59/ oQfRhs6SukF43I5YncmNMAW4eIM85U2BXNI9fg1ycD+TAL1bM6plTPxr6tNZ20O+2rF4 S9gjg5fQ4e1kfj0MSukq3zz/WMHjDM3k0/dVXgwats/T344KINFBm9GaeIAViJsAhIFv XzYKidT7CQPkPvV1qAARwPRKBqo1JAXd1SxwSoVeScXat5gbwfbY34uNpL0xWqjXhdQF PVow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719008777; x=1719613577; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=A/oMLkGRAuHveOGoBUIAcexGzHKYwSyRCCoVkHqIRHs=; b=C5eX2lkRfsK7jacsFGQiWu7+hH3+TeXLT6maCC2P/4auVkD8hUxBJBbQL9s8iyPYEK 4OZsNITLLIxhbG+T7Ul3o72u9rZQ8JoX7S0nZSHe36oNi0XxsetyVAgjRwZiOZ4Xz+0f X88OXj+Q2B3futExwjyksm59InICd1wmbixFZ7jntVF3CvzVpwwinoZRY+9o2vTr3eh7 q36/nhiE4Z+HuuxL3ThCfmX/i96eLYBiKenpVRFB6QcUaLBTH//h6gsw2r/ZNXsyB1Ef I69Wb/7Mlb5BTxFbcNyvV70YOd3c1FMSTqtBFZvBeFCbDvAc9TUEUAyR0K8kuxoTPuAG Y7rA== X-Forwarded-Encrypted: i=1; AJvYcCVaVboksApWC/BSsTRSRh4BDGlQnNK75ZTktLHr+/bbxxe21q7t6ttr9E6oZ73RTcN7Mf1UgAALIx7uANUpSgXnEduzYNXKdiGTavcenAxCmcFTl4I= X-Gm-Message-State: AOJu0YwD/B5fm0UCIO+7rEMmS2PgHmAZ3AgmMD+xITYVSICuiyGxgimk AEqmRhKxELQTlupV1tHIJ7KMYPLNUqMQaYFyLAVyVKjGc/yoChy4 X-Google-Smtp-Source: AGHT+IE+oAAlNIWdbMvSh2ltAuh+aqhb5dx31ZRjlQ45hp03kkn60gGTd6b0wPKm1eDTlWvgQdoOmQ== X-Received: by 2002:a17:902:a503:b0:1f8:393e:8b9a with SMTP id d9443c01a7336-1f9aa3faf67mr86173915ad.33.1719008776842; Fri, 21 Jun 2024 15:26:16 -0700 (PDT) Received: from google.com ([2620:15c:9d:2:30ae:a791:227a:a35f]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f9ebbb589dsm18957885ad.269.2024.06.21.15.26.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jun 2024 15:26:16 -0700 (PDT) Date: Fri, 21 Jun 2024 15:26:14 -0700 From: Dmitry Torokhov To: Linus Walleij Cc: Daniel Mack , Haojian Zhuang , Robert Jarzmik , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Mark Brown , linux-arm-kernel@lists.infradead.org, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-spi@vger.kernel.org Subject: Re: [PATCH 3/3] ARM: spitz: Use software nodes for the ADS7846 touchscreen Message-ID: References: <20240430-gpio-leds-miscarm-v1-0-9c94d7711f6c@linaro.org> <20240430-gpio-leds-miscarm-v1-3-9c94d7711f6c@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240621_152618_259713_70F91724 X-CRM114-Status: GOOD ( 22.18 ) 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 On Thu, May 02, 2024 at 10:13:44AM +0200, Linus Walleij wrote: > On Tue, Apr 30, 2024 at 9:04 AM Linus Walleij wrote: > > > Convert the Spitz to use software nodes for SPI CS and the > > ADS7846 touchscreen following the pattern used in the TI > > platforms. > > > > The Spitz is the only user of the wait_for_sync() callback in > > the platform data, so define that this is a separate GPIO > > in the device tree bindings (previous patch) and handle this > > directly inside the ADS7846 driver instead. > > > > Add some infrastructure to the PXA boardfile common code to > > handle software nodes attached to the SPI bus instead of > > platform data. > > > > The SPI core will investigate the numner of GPIO handles to > > figure out the number of chipselects used on the platform, so > > no explicit encoding of the number of the number of chipselects > > is needed. > > > > Signed-off-by: Linus Walleij > > Andy's patch series makes the Spitz SPI much cleaner to begin > with so I will hold this off and rebase on top of Andy's stuff once > that is in. I dropped spitz parts from the patch leaving only the new hsync gpio handling (and keeping the old legacy way of doing hsync) and applied. There's an immutable branch ib/ads6746-hsync in my tree to help us iterate on spitz changes. Thanks. -- Dmitry