Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1688077lqp; Sat, 23 Mar 2024 05:05:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXAlzqvr1ajZ8Ih+6PlS1vEmxYQnJtaFRwg3FqOz2W2YtWLoLm0LDXX1qg8yyCUD89I0+qPSYaE9WaJFFvtUI2Bfz+EVEMFx17YmlxjFw== X-Google-Smtp-Source: AGHT+IGSC/mM2HwCh6ds7IawDMISWVHUz7CxAwxtL4tcaINplCTSCM72Hpv46GVttnvE0PJ8JNWy X-Received: by 2002:a17:902:e80b:b0:1e0:a72e:2e98 with SMTP id u11-20020a170902e80b00b001e0a72e2e98mr1237286plg.27.1711195552643; Sat, 23 Mar 2024 05:05:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711195552; cv=pass; d=google.com; s=arc-20160816; b=lcQX+8bwBqF2EibBK9pxX/bRQvYeaOndI66sCTS+42gjpPb74sG5r2qWrfrsCvT1C8 qcCdiVjitKjeakUNU1WJoGL1XXkjQvUJVlidiz+/pVLDhzr/ckxFc5gHMXPWht6filei SzIPhbFwzm5uq4993NHFzcrS3lqBtm6HjZ0W6DhpoapinpOzNVVoVS+uj9Tl3OaJC+9O jM78dzOJLoxYjFUpFxi1FTQLK0q9wZVIf87rzkvRnpo29MouSLnj9LPsiWvxtsYYsXi0 NsQSRv8XuhGJfzXAkSORjZ8fH7dDMnjjt3qHOPyRxn+lVCisb+vIpR9rJtStTZ1eNpVT 2+mA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=qx/cNzl80P2Wm4x7ZRKtP27dRRaiUpFd8uaJOVCtaXQ=; fh=OwZrh01B3ktIiCOdwz3XfqLvM6nmT7R+Fh3A9WDi2R0=; b=zHVvVzRZKVpRftyOTu4Uj2BmytYCQn/1ZXgcmG4SkYKJ2gnYuBAdQECIqfNoRPwcwq C5yuoM4N/26l0Ow2OAsaY2ce1PJpiPZxzDTBc1vL/LFAT7HJ/NcdfDshYpi/l3oZclmY UoGywTCoo9swJPMZZie7tx8S912reWr+A1gQ+/zhBEkVqXjUO8GeE32HiFcZtuxHX+zU /eTaoHlsAt7+crKckqGo6w1fOPCsKZcCV/KopEMKSWLY1sGmaYUaYqKtCRL2vdizrFSv T0hIu63eQ540TdI8opsL0FR7776bN+9xpPTn805+B773SweOS7Lu3I6FiXD91uk25Pk2 2Wjg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GZnkXKJT; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-112317-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112317-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id i11-20020a17090332cb00b001e03b2f7ab3si1479515plr.446.2024.03.23.05.05.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Mar 2024 05:05:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-112317-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GZnkXKJT; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-112317-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112317-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id AF918B216C0 for ; Sat, 23 Mar 2024 12:05:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5DEA818659; Sat, 23 Mar 2024 12:05:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="GZnkXKJT" Received: from mail-yw1-f173.google.com (mail-yw1-f173.google.com [209.85.128.173]) (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 1E4F0168A9; Sat, 23 Mar 2024 12:05:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711195538; cv=none; b=FtIW4d9/Bbn5smLtYwaphYZDH58TleOZpKonSHMvFmR4BXTDgyfoou85BMAjMEpe4Uvxmlw/3eLISx8W4hTbgpaRob9QtLq3rXsfH4aEn978TiT5UD8SJqkZxycopT4KJq60N9mvKvely+GZVdnkR6C7PV9cM1lOhXJwtp1PWoI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711195538; c=relaxed/simple; bh=PnqDrGN1ZM8+Q/bDbLibxzzNp2zx5uAhEttwWQSJ2lw=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=fFgN+Kp4o38t2apssdLZER62AUggZY0PSDDslUd9lxGaanfEhtbLB0aEIwjYMG+/Fzny8HvfL4nCQXq+e8AFs/dBhjefABo3hHqB2lVp7RoxGNpGmXiMrCwnuEwdFts3HGINQwxRG8BcSYYFRnHPJYK4WkPNLNk12Xa7dLtPGoM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=GZnkXKJT; arc=none smtp.client-ip=209.85.128.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yw1-f173.google.com with SMTP id 00721157ae682-60a0579a931so32371727b3.0; Sat, 23 Mar 2024 05:05:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711195536; x=1711800336; darn=vger.kernel.org; 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=qx/cNzl80P2Wm4x7ZRKtP27dRRaiUpFd8uaJOVCtaXQ=; b=GZnkXKJTqcEcFnRSgwQDwWHQd2NL1f+tAWE6abTRSrUYUMtiEJhR5Yufol4z9JywF2 6M2rEEuutk2yAuzv4xImX6P/ASsEsfX9mg5HlZ20L2tHKU+dxJ9IoSQda+u4lpmU/7Zh Trhabb2Q068mCadDQk+3RxrHtxw+a49hIthRJ20rr6PDSEWtZfSq+Jn8bT4CsxHdldPS ldP54xFq2rdO2pzyYLTCTEsX9VMnewI5BQCS5zVrK1yg4FcFbVPPuK53OSOMIrqfbn2Z id0IMkrCGLUzXFfOqnbjMIRlRy3qeFYaEr4/4qdo6eT6uKoNS3HR10lohjNDeU4jhAJK dDZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711195536; x=1711800336; 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=qx/cNzl80P2Wm4x7ZRKtP27dRRaiUpFd8uaJOVCtaXQ=; b=q5AbOWlkBYlrnSPjDHTOB2kp2Pv9KZNnKjY1SmX3t8LzpFDmemfihYJYVBLYW3DKqv grBrVISiIWf1fVl4qCRPfJZZq56bdojbCVqGU4v931R9FEgug+vkMRaB7EBAwWjS1qvP tWWK9uQtWtn6DUkuvua2QbaRV2SGRm8BogsrM1kU6FycaYRa/KQgGFX1MIfF/Y/9C3mF 9kZos8Mu5kqDAO6+tA+VrwfZL6zVV90mzgl2GJJHaauRHjc5F1DupKq4CgS62ieGN0GX xrZaTT0UM4NppVg5zddqqh2gnFDHuK+09db2Z9HC9SRg02G/wZRTZtp3wF94YZIXunp6 Kc/A== X-Forwarded-Encrypted: i=1; AJvYcCWY8qWcN2ZQIywJrUWzJYrJoZtIxZP1yHyckLFgRI+uKAsUdX3X9J5Asm79ysfiim3N0ZW3UkX+c4dOkBfLPxZplPHj3fyZzHXYVkHon02v/zozymOJthoDJ2694pDkqu+JPAXivqx28oPR2ZUoM/nZ0d6J8VuNaCBdAyxyJXx61j9lRg== X-Gm-Message-State: AOJu0YzBuFDkRS1ip1Tjvx3mR3FCpwoqJbKoyq4u8IWCyC2cpOjFLvyh cTK0O99zCMxczrTi6FXehloFBT6uhzoFYG0l01OcyD7SdDq2I5IXlbewwZZ+Uqq2qfL1aXGnNIB 1Fcr3K8azGpthgPZxkVLhpQMGaxI= X-Received: by 2002:a25:c381:0:b0:dc7:4b0a:589 with SMTP id t123-20020a25c381000000b00dc74b0a0589mr1500585ybf.55.1711195534625; Sat, 23 Mar 2024 05:05:34 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240322003713.6918-1-l.rubusch@gmail.com> <20240322003713.6918-4-l.rubusch@gmail.com> <20240322021739.GA3418523-robh@kernel.org> In-Reply-To: <20240322021739.GA3418523-robh@kernel.org> From: Lothar Rubusch Date: Sat, 23 Mar 2024 13:04:58 +0100 Message-ID: Subject: Re: [PATCH v2 3/3] dt-bindings: iio: accel: adxl345: Add spi-3wire To: Rob Herring Cc: lars@metafoo.de, Michael.Hennerich@analog.com, jic23@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, eraretuya@gmail.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Mar 22, 2024 at 3:17=E2=80=AFAM Rob Herring wrote= : > > On Fri, Mar 22, 2024 at 12:37:13AM +0000, Lothar Rubusch wrote: > > Provide the optional spi-3wire in the example. > > That doesn't match the diff as you don't touch the example. But really, > this should say why you need spi-3wire. I understand. The change does not add anything to the example. which is definitely wrong. Anyway I'm unsure about this change in particular. I know the spi-3wire binding exists and can be implemented. Not all spi devices offer it. Not al= l drivers implement it. My patch set tries to implement spi-3wire for the particular accelerometer. Do I need to add something here to dt-bindings documentation of the adxl345? Or, as an optional spi feature, is it covered anyway by documentation of optional spi bindings? So, should I refrase this particula= r patch or may I drop it entirely? Could you please clarify. > > > > > Signed-off-by: Lothar Rubusch > > --- > > Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adxl345.ya= ml b/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml > > index 07cacc3f6..280ed479e 100644 > > --- a/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml > > +++ b/Documentation/devicetree/bindings/iio/accel/adi,adxl345.yaml > > @@ -32,6 +32,8 @@ properties: > > > > spi-cpol: true > > > > + spi-3wire: true > > + > > interrupts: > > maxItems: 1 > > > > -- > > 2.25.1 > >