From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) (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 ABCA520F7 for ; Wed, 4 May 2022 06:20:43 +0000 (UTC) Received: by mail-ej1-f47.google.com with SMTP id dk23so947278ejb.8 for ; Tue, 03 May 2022 23:20:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=S9kVssv7NOzawB6oy6PZFFqEWoy+1iZ0ddgQbndGXkY=; b=eaPtpKhP1noRcNSLEl8k7DRsmp1+3MImkuiSu7hO9CNuSBf/5vIEAIH6OKgLl3Vgfs DiuNCahXqDrm3TDxKTeBHztIQ2X4A4DvEcpu3jKQ6K0o0/1BYwYOcGfB5y6brD0c2zyH QL6ONvMa6Dbimne4AH7LJkUgiduWjnNosD6HI1qAfmWhAvKsMXz8WR2bO0kLOFR/9pt0 f4qoxNXj/v29EwKAwkJa0ftgmaY0KnEDdVY3ov1TJg2vsxKrL4f5N5rlw28PVvwZXKl/ ASvjmeeeY8p0kcTWbGoCywM07jJ0+VdDy/jroI3pT9w9iEnC6viLgDEXrSNzA/TGuvbF EH+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=S9kVssv7NOzawB6oy6PZFFqEWoy+1iZ0ddgQbndGXkY=; b=cmAsVPY4qS2bkISQ7dcXglGy/kL8pwSNvVR219sQ9vynnHLsZvQ0cRT4xyyqmpD8dG vkHbkJF57AaWv/tWU8NYe38GFzvNZtkierePTecdInFURoIlz4N9ZjiZsieeCaXLylW8 bPT8Vs5XnBD2U/wunaLM5fWcZsNPB5YYtkv1UjqV7Hl8E5ilUfaeehnEr+sQhF83cWtB ceIZaBn6v9QmmjTH0zhYEJWccAArwEi4Uv15eYiEE192OrEelEqBRpqNfzFgUkLa1Yy1 yJ8SDXXZYLk8j18zySJyDdnYAq/IjMoc1M8klbXno9A9VwynxuCCrsk9EVDXgj05h30z qZuQ== X-Gm-Message-State: AOAM5338XPY7Wa+nwv/a2VtFdC6RNyoW//Q9THQ7nkhLL5m1IV+Un1SG JhmR6Y14i/7Z6areKY9CzQk5ww== X-Google-Smtp-Source: ABdhPJzK4afMKmzSks36dzSJk3t+IoiFVAyPRNs2XhoB+rYp60IdxaXm9RDJbKDGhEIcmVXDSM/ypQ== X-Received: by 2002:a17:907:2cc4:b0:6df:a036:a025 with SMTP id hg4-20020a1709072cc400b006dfa036a025mr19779920ejc.554.1651645241925; Tue, 03 May 2022 23:20:41 -0700 (PDT) Received: from [192.168.0.207] (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id ig1-20020a1709072e0100b006f3ef214e7asm5365230ejc.224.2022.05.03.23.20.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 03 May 2022 23:20:41 -0700 (PDT) Message-ID: Date: Wed, 4 May 2022 08:20:40 +0200 Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v2 1/2] dt-bindings: iio: sx9324: Add CS idle/sleep mode Content-Language: en-US To: Stephen Boyd , 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 References: <20220503193937.3794477-1-swboyd@chromium.org> <20220503193937.3794477-2-swboyd@chromium.org> From: Krzysztof Kozlowski In-Reply-To: <20220503193937.3794477-2-swboyd@chromium.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 03/05/2022 21:39, Stephen Boyd wrote: > 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). > > Reviewed-by: Gwendal Grignou > Signed-off-by: Stephen Boyd > --- > .../bindings/iio/proximity/semtech,sx9324.yaml | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml b/Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml > index d265eb5258c8..b3aa2ebf9661 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: > + - hi-z > + - gnd > + - vdd You need a ref to type (string). Best regards, Krzysztof