Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp248369iob; Mon, 2 May 2022 18:28:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy40AFS7MvHJCLVULVUE9iXDXa294tFh4RardkVF2R8GCT3X0WBA9oyvPT/jvrT473SkG+T X-Received: by 2002:a63:6c0a:0:b0:3ab:8716:3d04 with SMTP id h10-20020a636c0a000000b003ab87163d04mr11747671pgc.507.1651541330185; Mon, 02 May 2022 18:28:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651541330; cv=none; d=google.com; s=arc-20160816; b=0qdnYiiZYJY6WmfOIor1GZOT/RkpkDuz5hScsT5zcAwch0kdUuRptR6rY3MChmaCb1 vWAPEa4j1P74qRyI/U/ymRYWYziGxPr5Asby+XqZEvq2J+qrWB4cSeg7Hdq5y9nEqErC To3ldJOnD2N+jayIUQd9tftnkPbKtVr5eg8nH+H24mGA2qI3flu/VgwS/I8qjA1uWihH 5hpxAhPNA1r1exG/AN86FVRl53/zIkDG3cRDYiPTLkwCcZMg/RkvgdhEwXpZFe9F1dZZ QnCixpJ3ie4IFQZQPSPcmMrvwHPdsHDitzvHUSb4xNynujPL2yWkx4/pZvt1pYYTSS3i OXow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=wYFtzIrfueBMYkfnReff/T+IPaO8wkd6Eu3COpG1jyw=; b=y3TOSv26hIg4I9qn48NoZKuKTHdRn5S3I4ilJwaOyUIsKPX5DIiwU1a41evM2V4e0T N95oWrtVESg3XdtIcnqWnIuqO+QEvcNeyYiV9WetTnk/ieCmQQmXgU66e8FiDpV3Hqw8 Fo6Fj3qBDkQH83f2iCz2H3L2e2devOPRb9VIqVnCRQEfX/xv1YAnUU+mK9cUY9e/KHZv 3q2/Iyfe+iqzOwqo97kSLCaq2cxttXYvZsyvZo0pm3U+EuUxp+VPwH85UO1Y6Kv8rJsz 7+WGn9RQ7u77X6KJcaqMm+StcS2yFWadwvxx+4HWwt73H06Y8OQqItjsaV+JxzycLZ/H ZfGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ID3tXj1U; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id rm12-20020a17090b3ecc00b001dc758111afsi928757pjb.108.2022.05.02.18.28.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 18:28:50 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=ID3tXj1U; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 85A392BB3A; Mon, 2 May 2022 18:08:41 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229650AbiECBLs (ORCPT + 99 others); Mon, 2 May 2022 21:11:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbiECBLq (ORCPT ); Mon, 2 May 2022 21:11:46 -0400 Received: from mail-il1-f181.google.com (mail-il1-f181.google.com [209.85.166.181]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FF3D5F4A for ; Mon, 2 May 2022 18:08:07 -0700 (PDT) Received: by mail-il1-f181.google.com with SMTP id l15so3561066ilh.3 for ; Mon, 02 May 2022 18:08:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wYFtzIrfueBMYkfnReff/T+IPaO8wkd6Eu3COpG1jyw=; b=ID3tXj1Uzg9g8JCj0ITrp9Wpw+TuEF/qu/STWO0fQaoemE/EQYBL/dFn0sJ2fonLXL A/rvUHwOoFGebEOKpPiP5frTx2F65JPrfGjRrl/tqgg9aqsv0us8Hp3FlU/ZNIdJgCn8 ud7TkuEK3uOTyQFg070R4spw/3mMZd/jVI0AQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wYFtzIrfueBMYkfnReff/T+IPaO8wkd6Eu3COpG1jyw=; b=pqfMQMNWJkjpUPs5ghskRq0pZiCTtv+r4lkmrl+gPlvAGxAkLK6d/11hx11A/UOv94 LhcYdEO0pCxNYGDmC7X54aQ7xS5SiruPL2pUG3+pdambX37Aq++zqiMhauqF3JLQbBCx D7BZrcNCfJe319ZD8POALDGkh1TD9urEijkhWN6EUj6I0bMuJRKohnW8U3rjoeUc9Hdo Y6tZtCaQy7tCtMa53zP0Z9wCJfnK0zNat76TCET6QfMoeZGZjWYcdnX5DiF9NYEtIXkx PyahfhaWXtTIdGGuNwp7StqpCJq4AIAnpqo9KxKhtIe3IEu2BG2/vQHKqpIGJBjweMBM xC7w== X-Gm-Message-State: AOAM531zat8Uir3O4uVKvEIgMoamL1C8DlxC8egW4JUjbcD84dwf94rS n4e3gjOffn+xK6vaef91XybnG2BrNGrFtw== X-Received: by 2002:a63:2c4a:0:b0:3c1:df82:cf0e with SMTP id s71-20020a632c4a000000b003c1df82cf0emr9971548pgs.474.1651538519296; Mon, 02 May 2022 17:41:59 -0700 (PDT) Received: from smtp.gmail.com ([2620:15c:202:201:15e:c760:9a04:7fbe]) by smtp.gmail.com with ESMTPSA id i10-20020aa78b4a000000b0050dc7628177sm5258794pfd.81.2022.05.02.17.41.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 17:41:58 -0700 (PDT) From: Stephen Boyd To: Jonathan Cameron Cc: linux-kernel@vger.kernel.org, patches@lists.linux.dev, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, Gwendal Grignou , Rob Herring , Krzysztof Kozlowski Subject: [PATCH 1/2] dt-bindings: iio: sx9324: Add CS idle/sleep mode Date: Mon, 2 May 2022 17:41:55 -0700 Message-Id: <20220503004156.3559940-2-swboyd@chromium.org> X-Mailer: git-send-email 2.36.0.464.gb9c8b46e94-goog In-Reply-To: <20220503004156.3559940-1-swboyd@chromium.org> References: <20220503004156.3559940-1-swboyd@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,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 We need to configure the sleep and idle mode of the CS pins for this device. Add a DT property to do this so pins are in a proper state during sleep (either hi-z, grounded, or pulled up to vdd). Cc: Gwendal Grignou Signed-off-by: Stephen Boyd --- .../devicetree/bindings/iio/proximity/semtech,sx9324.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml b/Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml index d265eb5258c8..6cec3481c8b2 100644 --- a/Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml +++ b/Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml @@ -126,6 +126,14 @@ properties: UINT_MAX (4294967295) represents infinite. Other values represent 1-1/N. + semtech,cs-idle-sleep: + description: + State of CS pins during sleep mode and idle time. + enum: + - hz + - gnd + - vdd + semtech,int-comp-resistor: description: Internal resistor setting for compensation. -- https://chromeos.dev