Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp5865963rwb; Wed, 21 Sep 2022 13:41:45 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4lDrT75Ghhe66op2U52szv1CjmjyjBQjIbrK3yQk1AOJzRXGaUf7T/q4gRRrVvmWakaHXY X-Received: by 2002:a17:906:fe4a:b0:781:3b6:f8b0 with SMTP id wz10-20020a170906fe4a00b0078103b6f8b0mr64827ejb.183.1663792905472; Wed, 21 Sep 2022 13:41:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663792905; cv=none; d=google.com; s=arc-20160816; b=m10tWrUVPpuAt5AiwvHyDxc49hkHU6dviQlPXeKX2A4aSnwMVi8NI4iO9xl2dapOiY h/RunfAh2Up8SJkGqasV8QtFi9Hs90XjAXw6gJUh+oCT8p1EePyEWh+7bLzL+HcmMi7n eWZXkOV+cm6JeOzySxAGwn8KIpgzNhkwC2SQkjQO57ZPGBzO8tpdsI4jCFPiylSvbo4d HFcJkiXUiHq9ZUghu6ikpKNKAYFL9656hthM6oYL917a2rC1M3ubBwyOh9BU85zFd061 17HBhEgG8lAQnMOEKNXZnBc1yIShtY5F73NYf59f0cOQEEfA3zQaBQ6OUWDij4fnUF4S lM+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ts6mTIVj3GUb0HyDnQ+6CalSe/1ccgmMXVSnsRxM15k=; b=B1m0b6rxNxPVRczf5om+8O5Msz5Ey4Gd8wf5RrW2lLI2RtXKUOpsle+WUkrnenMGPj i5JFgfd0hbpxqsAN+v1jQ9Yq6aFNvPDKfCx8Z8w4tDf5bN8xsAlJ99W/Tx/XYeiLyEyF wHBzFfx8sT9KDQllID3+I7vCAidA1eLiZ6FpD9W6RYK/1AS+62NPA49cpbFfT6KX23Bq DiwrfFu1Lq5TkSM1zU/iHVxu58mgdlMs/UZKnKKJ9rd7RrotlwotLD9Eg0WZHxy0+xes SfS0ojzZPS6lulhM7+oW+Q36YoLapyOj7N8AidisGm733N8OG6AfXMYC3oKc7HXuoqAP XC+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JB0EZ2tr; 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 hq25-20020a1709073f1900b00773b8e3d83bsi4042790ejc.323.2022.09.21.13.41.18; Wed, 21 Sep 2022 13:41:45 -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=JB0EZ2tr; 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 S230127AbiIUT45 (ORCPT + 99 others); Wed, 21 Sep 2022 15:56:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229862AbiIUT44 (ORCPT ); Wed, 21 Sep 2022 15:56:56 -0400 Received: from mail-lj1-x234.google.com (mail-lj1-x234.google.com [IPv6:2a00:1450:4864:20::234]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8DC4A2850 for ; Wed, 21 Sep 2022 12:56:54 -0700 (PDT) Received: by mail-lj1-x234.google.com with SMTP id b24so8349874ljk.6 for ; Wed, 21 Sep 2022 12:56:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=ts6mTIVj3GUb0HyDnQ+6CalSe/1ccgmMXVSnsRxM15k=; b=JB0EZ2tr5xSg7XopD144mNITvNP5pWxOGv/SilIBThY1Rp67vkOGPqXPFBwiSSDsSu Zp8aRXQtJUPBFzhWAJYDdnv67MYG8D7rfWlSDNnW2UxWi2fJz1RZOoN06zwRkT2E1ECi fpAq9jkEm3os+T8LV2YEpDyGac4X/Z2wyZlRIE/j+c1B58qMtmcxEPRCnYkQO1hhulbt F5GTzvXlaUs5LI9ZNYpJf7yg6JBk2CjQDaRkgx9E6NggXoyOO3/tMSX/6nEzOW3QIgs9 gHoVpw1DpgvovkxCJ6MrFZ33KnFHEUNF8nJv2ovNfrFd98HJJxY51026i5ud1bew/cKi JOWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=ts6mTIVj3GUb0HyDnQ+6CalSe/1ccgmMXVSnsRxM15k=; b=TAtVV1Gnn8z46+lPnLY1rCuWqygIpY201GjmQtmlBdOFjvGqydWhtQZXwj4MoIK+nz dv1ATlR2KmZtsapv1xSyV4zc/clt89gF1R6Hkcdr86xdOaqIIatVYIH/T+pr9WWctKKT 2FZ2zdKqjmwwAv90MFhRmapoion5Gz4buiwuO0MnU6E9wTg6zC1Q4DM5IpTfDSqMUpRq LfIK58aC07l1ygMcUfiimphGRXcegJp9C4D0XJVi3ZF+eDQUz2uV4iYKz9Q8CBntnoOC s9XGQ9Ee2qfRM/OfzlpqNyqozU7oq+6Ek15Y97HaUDqNyFcq3QQb5cyWBzZGdQoMMRDR YRpQ== X-Gm-Message-State: ACrzQf0TKfN4oWlUKMw1uvKvdXnauExsALx7/zrdtX8Kk5BWlNEIc5Zs tn7oGPByBzwmZLXr0B4ApZkoYQ== X-Received: by 2002:a2e:a910:0:b0:26a:ed13:cda6 with SMTP id j16-20020a2ea910000000b0026aed13cda6mr8961558ljq.250.1663790213270; Wed, 21 Sep 2022 12:56:53 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id p8-20020a2ea4c8000000b002682754293fsm585437ljm.1.2022.09.21.12.56.52 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 21 Sep 2022 12:56:52 -0700 (PDT) Message-ID: <1e9b83f5-67a9-c5ee-3ede-b26a6bde2263@linaro.org> Date: Wed, 21 Sep 2022 21:56:51 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [RFC PATCH 3/5] dt-bindings: iio: Add KX022A accelerometer Content-Language: en-US To: "Vaittinen, Matti" , Matti Vaittinen Cc: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Andy Shevchenko , Nikita Yushchenko , Cosmin Tanislav , Jagath Jog J , "linux-iio@vger.kernel.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" References: <482c5a54-3d53-5760-fc8e-8aa3b9341707@linaro.org> <7582e9e9-4558-ac33-a0f8-cb4e69d0628e@fi.rohmeurope.com> From: Krzysztof Kozlowski In-Reply-To: <7582e9e9-4558-ac33-a0f8-cb4e69d0628e@fi.rohmeurope.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 21/09/2022 21:30, Vaittinen, Matti wrote: > Hi dee Ho Krzysztof, > > Thanks for looking through this! > > On 9/21/22 22:11, Krzysztof Kozlowski wrote: >> On 21/09/2022 13:45, Matti Vaittinen wrote: >>> KX022A is a 3-axis Accelerometer from ROHM/Kionix. The senor features >>> include variable ODRs, I2C and SPI control, FIFO/LIFO with watermark IRQ, >>> + >>> +maintainers: >>> + - Matti Vaittinen > > My own comment - switch the email to the gmail-one. Company mail is > unreliable at best.. > >>> + >>> +description: | >>> + KX022A is a 3-axis accelerometer supporting +/- 2G, 4G, 8G and 16G ranges, >>> + output data-rates from 0.78Hz to 1600Hz and a hardware-fifo buffering. >>> + KX022A can be accessed either via I2C or SPI. >>> + >>> +properties: >>> + compatible: kionix,kx022a >> >> Missing const. I wonder how did it pass testing... > > I originally had > oneOf: > items const ... > construct here as I had separate compatibles for *-spi and *-i2c. I am > unsure if I remembered to run the tests after dropping the extra > compatibles :| - Sorry! I'll fix this. This should be just: compatible: const: foo,bar > >>> + io_vdd-supply: true >> >> No underscores, so io-vdd-supply > > The rationale behind the underscore is that the data-sheet uses terms > vdd and vdd_io (with underscore). I wanted to match the supply name to > what is used in the data-sheet. Not a big thing but I'd rather kept if > same as the data-sheet if the requirement of "no-underscores" is not > "hard". (If it is, then I'll drop the underscore). Underscores trigger warnings at some dtc W level (W=1 or W=2) so they are not allowed. Best regards, Krzysztof