Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp248233iob; Mon, 2 May 2022 18:28:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyyTY+LRIBRKXGX7f5EpeHTERSFaeeIQZhyWY6cJ4RKEu5flNF7vY0Kq9FNgpmWGvfAi89Y X-Received: by 2002:a17:902:9a0a:b0:158:a22a:5448 with SMTP id v10-20020a1709029a0a00b00158a22a5448mr14617241plp.20.1651541315867; Mon, 02 May 2022 18:28:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651541315; cv=none; d=google.com; s=arc-20160816; b=dwxUmBSwJ/FRMvkLcZo2R7QpPQk5ObFUBiRqCnYaxlDLfZ4dFr/o6Zb/Ho6+oDB0eB rAZGrrJp8/LECAJm6VSZM+sKb0/MzmF/vd1cTFG4x9DpJKauCKiyamNd9TsD8q6zxrLU 1EOR3b7riyOHsa6OZ6APOaOP1I8xfUTfA/oBOfsjHGFRv4G+0OZBdurcyXsH2/NQwKmF UKwFq9dCk47/oXFyrcBQnNtXWjWU3RqcpBhYf2UpHLGRxLDlVpUM8FgRHBhlPbBvwlfi zJGUEYOoNnbV52aXgtVcXo0DdTQU++7dLGX6GgIdgw2k1ur6cGpnKsyJ4xyIxwCtGNc4 SLag== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=bNXNgphksGo4k32JcFbuZKqXbM115Hb6FPq1B94vQeM=; b=Y5B4chf+0/Dl2G33gcegXlvgDZuCfoY8I8bbkQ0oZEPgvN6h1mBx88Kd2ZpqQxFdWG cV32VK3mazSkoUxirwEshpQZBuufFVstzWvFKiFxlWpqWhh27t3h2zDe6GZUuivrlyOP t/BcGsrhDN8WRuSFVEwtQEmhwe1axQ38RjjBquKOz1uvYVIdnRBTaMcXMUtQFpINI4cn FWaxx8WYSVDuHU4rUi7QromW8V1SfSU8lda1vVmVuHvruJmf3kX1mOYqbqcRxLO766GJ GPf8yorE9OPsMHpRxhPyCxETwT1p/GeFsw/m9fIaf9L32JnMr0cRXIbuVPPELx3DeONo BqJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Rezn3JQ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id j65-20020a638b44000000b003aaff17759dsi15164078pge.110.2022.05.02.18.28.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 18:28:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Rezn3JQ6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 82AC331DE4; Mon, 2 May 2022 18:08:20 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229657AbiECA5e (ORCPT + 99 others); Mon, 2 May 2022 20:57:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbiECA5b (ORCPT ); Mon, 2 May 2022 20:57:31 -0400 Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D1765DD1C for ; Mon, 2 May 2022 17:53:59 -0700 (PDT) Received: by mail-io1-xd34.google.com with SMTP id 125so17632735iov.10 for ; Mon, 02 May 2022 17:53:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=bNXNgphksGo4k32JcFbuZKqXbM115Hb6FPq1B94vQeM=; b=Rezn3JQ6zF/Pi8M9aA1wO0xhxWizrPKMRDsqUGbYAZg8yqFRWcJaRypJtv5uRCgFXY 4u0tvKxQjQ0mcYDb6Pln0swgyB2V5ucmZbpaxNutSb8utdI7qglXN/vdRtWK4U83G2nr g6sOuiwjhlNvebxssQuFwKNY5T1P6wRvS3uIE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=bNXNgphksGo4k32JcFbuZKqXbM115Hb6FPq1B94vQeM=; b=HuLY4x+yA9SdokaGmwMySOkIhkUW2qb0uWA12suH13GA5KK5bpiyVEWmtibh2FTVWI POp/DFNH9u0xqoJS7z2+mMD6J3+XTb32MYjB/1NgtNnfpZs4CMu749/mh7HBc5AWCu12 GyLVn7agJ1tyKXit/6mr9V95i13q9nq4SOg8oPDVpzxORfb59QLiXve2EkpQZqsosmI4 QqDOQ6mvwpJ2ofA6WruLiLI8angN71LUNeb3qt25P51HFVYmCLwBZEvWFKNLNkz4zxae xp9zDRQSLY3vw4NHwFm+3dt0AedK+1X8/Tb7zk1hEIPw0VrV5oyq92kAvOUmeunHqmEJ wwNA== X-Gm-Message-State: AOAM531cUwz+exCZC7XgwmngzcIj8VQsH8P7n5DSMWmnBsz5cwz8vd1C jwDDDPt/ncp18wfTB/qwJ6ED/PmrgcrJ1Xkn8YCiRP7fTG/WZQ== X-Received: by 2002:a05:6638:4905:b0:32b:5bc3:4e3 with SMTP id cx5-20020a056638490500b0032b5bc304e3mr4528580jab.37.1651539014154; Mon, 02 May 2022 17:50:14 -0700 (PDT) MIME-Version: 1.0 References: <20220503004156.3559940-1-swboyd@chromium.org> <20220503004156.3559940-2-swboyd@chromium.org> In-Reply-To: <20220503004156.3559940-2-swboyd@chromium.org> From: Gwendal Grignou Date: Mon, 2 May 2022 17:50:02 -0700 Message-ID: Subject: Re: [PATCH 1/2] dt-bindings: iio: sx9324: Add CS idle/sleep mode To: Stephen Boyd Cc: Jonathan Cameron , linux-kernel@vger.kernel.org, patches@lists.linux.dev, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, Rob Herring , Krzysztof Kozlowski Content-Type: text/plain; charset="UTF-8" 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 Reviewed-by: Gwendal Grignou Nit: you may want to add an example. On Mon, May 2, 2022 at 5:41 PM 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). > > 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 >