Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4807602iob; Mon, 9 May 2022 02:01:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZEvpcY+GefAMqfRZMhLQMOB1cL67OrnzJOTwQq2nLQXLMXQvJAhJURttAHFOu2Altbua+ X-Received: by 2002:a17:90b:4a0f:b0:1dc:b062:da20 with SMTP id kk15-20020a17090b4a0f00b001dcb062da20mr17076989pjb.51.1652086907665; Mon, 09 May 2022 02:01:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652086907; cv=none; d=google.com; s=arc-20160816; b=YQFrL0v8Izj0F6tHWAynrn4RgVvPjBHaO2DzTJBkaQp94RUyC+EpFtf4zje9YDkdT3 xxIhjR6aQWBiZjsMk0rDJgHK7daoV7OGo/6xQqBT/P08W1JSrF4ch7fJ4MwGtGoUxh4d yK9e1+o3qX8FQ7Cq2Ks1wN5QvzZnQG3CaR1G2vml/nHTgXSO4WjjflBTpaCIW99jZoLW KnAuHYQyzO87yFnp3rB4pqt2Q8nf1P7rsUGL+6BEWJ++BU27PdrXZ4t62eqrWdgjYqEJ YNq7MyNGKQmt/3gSgv0fjt9Q5R32zvYocSp1vTy3zCpkVLcIQQCAC+5kAlAA1sDCgSZT eJEQ== 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:subject:cc:to:from:date :dkim-signature; bh=Egj8byq0dhafqjxpU7pQ58lDrZajzg856/AxbvUTIwg=; b=zBwFPB/rtPoqQJrbbr/83QeLAQy4l8Ai1XjsabQ+4BCVUkEQhcPXsZtK0PBPgJ5jYS xzckTLuIP0C5UXCZkWHGm1Hytrk1RDSkDkROIgLJ53Sjthrlxes7/kSZRmv7TBTVhc2u nfna9s83L9igKd+Ng1aAORtB2hXO+ImE3z7vlyNOwh4DC6UdTElcg6gPLAKiX/GTDsHe OIsEPJ3BJPV2IBmrEr9WbtujtBgSiGZ42HhX8JUbMmNnAawmFjnGJMVMeGQ2l9DusdIY 2VBKGi+IpdgkZ8UCm7IsrH2Ipps/7YELcOQyo7p9MTG2CVO8GJd8i+K76SE2Q5K7lZM8 OSuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="BXAZGtq/"; 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=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id lx2-20020a17090b4b0200b001dc443e79a2si22343195pjb.8.2022.05.09.02.01.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 May 2022 02:01:47 -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=@kernel.org header.s=k20201202 header.b="BXAZGtq/"; 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=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0CBBF2AC8; Mon, 9 May 2022 01:48:21 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378286AbiEDUoV (ORCPT + 99 others); Wed, 4 May 2022 16:44:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378391AbiEDUoC (ORCPT ); Wed, 4 May 2022 16:44:02 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDC311277E; Wed, 4 May 2022 13:40:23 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 82D12B82949; Wed, 4 May 2022 20:40:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0EA24C385A5; Wed, 4 May 2022 20:40:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1651696821; bh=aXVyvWfDxf+r8P4NAgCnCJj/TrGjcm2Y20m+/fpSGRE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=BXAZGtq/xcyCjYbAM605e+7L+PSL5pLriw5XZVhsNnocxU+8ZegluRgXL8dw73rdv 8c7Kt3udXccgQ2l+Z1ZNyWD5JoavY80wRMTMUpc8lXwkvngiq4c0iZTOTlQ1I5UvHN EXijxrkT7j+NzjesFJjzcC3x7dEKzGHrot2GKCy0BJeuj86rQiJRKuwaHvfkP1U4Fn uYKjY1CpJJI9ejJ7RJqHVxNNkSr4De7QkoeC11gfKivn3hW0yf1+H98BAKkewt6eBS hCoaQNK8pU56uL5BnZmHizfWppbVmffeLKkqjDkM126S+9jL5I/A44IC0nRYZO1NX8 wjUJeeR20e/xA== Date: Wed, 4 May 2022 21:48:40 +0100 From: Jonathan Cameron To: Dmitry Rokosov Cc: Rob Herring , "stano.jakubek@gmail.com" , "shawnguo@kernel.org" , "lars@metafoo.de" , "andy.shevchenko@gmail.com" , "stephan@gerhold.net" , "linux-iio@vger.kernel.org" , "devicetree@vger.kernel.org" , kernel , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v1 3/3] dt-bindings: iio: accel: add dt-binding schema for msa311 accel driver Message-ID: <20220504214840.1ad32bff@jic23-huawei> In-Reply-To: <20220504183716.shhpi5adcxz4ufvj@CAB-WSD-L081021.sigma.sbrf.ru> References: <20220419154555.24191-1-ddrokosov@sberdevices.ru> <20220419154555.24191-4-ddrokosov@sberdevices.ru> <20220504183716.shhpi5adcxz4ufvj@CAB-WSD-L081021.sigma.sbrf.ru> X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 On Wed, 4 May 2022 18:36:33 +0000 Dmitry Rokosov wrote: > Hello Rob, > > I've missed one note below, please check if possible. > > On Tue, Apr 26, 2022 at 03:31:05PM -0500, Rob Herring wrote: > > On Tue, Apr 19, 2022 at 03:45:58PM +0000, Rokosov Dmitry Dmitrievich wrote: > > > + "#address-cells": > > > + const: 1 > > > + > > > + "#size-cells": > > > + const: 0 > > > > These apply to 'reg' in a child node, but you don't have child nodes so > > drop them. > > > > I'm afraid, I made a mistake in the previous reply. Here I applied > address-cells and size-cells to show which type accelerometer's reg > property has, like this one: > > i2c { > #address-cells = <1>; > #size-cells = <0>; > > accelerometer@62 { > compatible = "memsensing,msa311"; > reg = <0x62>; > > Above accelerometer@62 is child node for i2c bus node, so address and > size cells mean accelerometer reg format. Am I missing something? They are characteristics of the i2c master and hence are listed in those binding docs, not the one for the accelerometer. Thanks, Jonathan >