Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4908172rwr; Mon, 8 May 2023 14:46:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5DejyfUBzLHDUqNb+LqNSf1H7YZ5hbs4NPSxlNg00sbD9oPp/xzVT7knFsEHjGJsAfO0WO X-Received: by 2002:a05:6a00:1828:b0:63b:8dcc:84de with SMTP id y40-20020a056a00182800b0063b8dcc84demr14225189pfa.4.1683582396564; Mon, 08 May 2023 14:46:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683582396; cv=none; d=google.com; s=arc-20160816; b=UMzJjC9n6EsOFPDPzPBrE+4bkGB3cxbGrMZ+o78/cwRu8nMGoJ6fihWG19Ek+IiRqM +BCCN0RoZ7HKML0lG6RQRBUfKTmIeALPcpGakMnx6Z87k7l2JPAM4S1Rip1mkFps5cLK gWQOBdrebvUicefSB67m/0CKV6XqT6lw1jBHOePRLMAoe9yWpSTBt+4ARcD4I3j2veS+ rnQhpaNWN65JX7xh6oovjTRpyc46VWJmdy8cDACG0fdLzeQ7zC/JZZzVNLjjkBflT8s9 kzU4VrOxCwV3k4kwr/udHxCMihSrucWtiCqZQ4ROuyWCxykvKtU0Z9NBmyuUuIWLij44 QwJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=mOJR/20LVKyz48EAyeHc1+jVArD8eFRaiPVz2llKJYw=; b=AMTAsqqMqPetO5QSABWWP+43UNNnI+nulY+APZP4UJkHJfLwk20IlibZsZ09TPgSQp Fi9OU9rKTojmBAH/QmuGoPAhYLVCPMxtMR6fwsKOCYKzl8Lruey2RCNyf1GeNCgrUIOd ywhH1kD2tX7D2rhHRkbf53/WZR+o+XRlNcdEQRZzK5DqyGcqVmL/4gJzXdeHbjb9ZWR6 zzrytBLJimy7NVaDgV/TXQTA5zLSeixCJYnYy61VnIDJdfBLuLX4ekGnUSgB9cMMoY0p KS2ZDA9azL6rh6w6tBXDze31vQ51aUKvOIUwddJzzhxPkVKXzQZRE6sT7nvajqTq/3YQ +cCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xnPwIs1c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h65-20020a625344000000b00638f2eb16f9si712154pfb.343.2023.05.08.14.46.22; Mon, 08 May 2023 14:46:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xnPwIs1c; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229457AbjEHVbW (ORCPT + 99 others); Mon, 8 May 2023 17:31:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233705AbjEHVbU (ORCPT ); Mon, 8 May 2023 17:31:20 -0400 Received: from mail-yb1-xb2a.google.com (mail-yb1-xb2a.google.com [IPv6:2607:f8b0:4864:20::b2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E7951994 for ; Mon, 8 May 2023 14:31:18 -0700 (PDT) Received: by mail-yb1-xb2a.google.com with SMTP id 3f1490d57ef6-b9a6eec8611so27425103276.0 for ; Mon, 08 May 2023 14:31:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683581477; x=1686173477; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=mOJR/20LVKyz48EAyeHc1+jVArD8eFRaiPVz2llKJYw=; b=xnPwIs1cwDo2FfYER/sCJ/da+7w70ojR2vcIjoTIwWXCv32mMF1zm1BD4+lfb2YBZM a2JVJMgplb8WbXqgCdHgK8Kp72gs89jO2wf+8i72UAlWKsMEO+QAvE2kzbL6W+zsK4XX 5Z8iTG2eG+u2fgFxWPNmnpwDmCvRMpfx0fMcptbYfNamY9350JY8Gd4qdqq2mPQh9kC0 +x56ZfIKBMwAlE8P63WHOLZVXUP3U77r1pEjelQEPWycVNYaZZsW7RV6EqwWY1pIciet mUJNXjEV6P9b/N9Sms+auwR08F+s4xsHpxn7JhrpRdBY15Z66VnYReC0HO7LXkTpsCWj 0ulg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683581477; x=1686173477; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mOJR/20LVKyz48EAyeHc1+jVArD8eFRaiPVz2llKJYw=; b=EqFgZZGtCFDP7zWiljO7OklSfEq4mVUK3xI41ZtNfgXLyUeq3k9srOn1qymg6GjR4S FVa2hpRUZVu7tV9amXQA1DdZOYNiRU+L68fdlntJ6L63/68Go35geH0SrerGsdRFH6vh WWRM0WIkz9JI8n90eDCWuO3WR97lYocVih6zxo/JNQ2D6zxkMCRJRQP5H0pZgLGiB988 bo2AMshopraqky9WxHwVUOZOoQOEzteBHZBRPZkXn7oX+Kpb6iJBk7e89LW3MH1QqZqr +fWKBlT2au5vgfjCDW0GNZ3wPhkZDkkjDGC3S0ytt8AqYDByTrzEYFQO7rx7DFxxdOIe En+Q== X-Gm-Message-State: AC+VfDxdcPjqf2SnSvY29NY3s8Abw2oMMYhr0GcTVKTdekuvB9+mNrQG NB9Cvd0bKAZK46VG1ASJnElGXVqIJX3NUQHPl+fYXA== X-Received: by 2002:a81:4c4c:0:b0:54f:54c5:70d with SMTP id z73-20020a814c4c000000b0054f54c5070dmr13840092ywa.20.1683581477497; Mon, 08 May 2023 14:31:17 -0700 (PDT) MIME-Version: 1.0 References: <20230430-nokia770-regression-v3-0-a6d0a89ffa8b@linaro.org> <20230430-nokia770-regression-v3-1-a6d0a89ffa8b@linaro.org> In-Reply-To: From: Linus Walleij Date: Mon, 8 May 2023 23:31:06 +0200 Message-ID: Subject: Re: [PATCH v3 1/3] Input: ads7846 - Convert to use software nodes To: Dmitry Torokhov Cc: Aaro Koskinen , Janusz Krzysztofik , Tony Lindgren , Russell King , Daniel Mack , Haojian Zhuang , Robert Jarzmik , Thomas Bogendoerfer , Mark Brown , Bartosz Golaszewski , Andreas Kemnade , Helge Deller , Ulf Hansson , linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, linux-input@vger.kernel.org, linux-spi@vger.kernel.org, linux-fbdev@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-mmc@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 8, 2023 at 11:28=E2=80=AFPM Dmitry Torokhov wrote: > On Mon, May 08, 2023 at 11:23:44PM +0200, Linus Walleij wrote: > > > This needs to be > > > > > > return !gpiod_get_value_raw(ts->gpio_pendown); > > > > There is no such function. The gpio descriptor runpath simply assumes t= hat > > device trees can be trusted. > > Sorry, this was supposed to be gpiod_get_raw_value(): > > https://elixir.bootlin.com/linux/latest/source/drivers/gpio/gpiolib.c#L28= 54 I missed it, I should have very well understood you meant that one... I just read the file too sloppily. > Yeah, we we can land the DT fixes ahead of the driver change that would > be great. Otherwise we need a temporary application of > gpiod_get_raw_value(). If the patch is fine I will send it to the SoC tree and ask for it to be applied as a fix. Yours, Linus Walleij