Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp369565rdf; Fri, 3 Nov 2023 03:21:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGHFn6C/hGVCXVctSQG5I5vJ2drVfbZEWdqCNl79agjeE5/gcxCv+H1gmuop9CvAJWy9Los X-Received: by 2002:a05:6a20:918f:b0:153:b16e:8db1 with SMTP id v15-20020a056a20918f00b00153b16e8db1mr20184559pzd.10.1699006910083; Fri, 03 Nov 2023 03:21:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1699006910; cv=none; d=google.com; s=arc-20160816; b=PAkRSfORBKZC+FN7XporpbzVL/Ji7ktUX+vWzIW6Hmgq3JwVhN4VgVGR7REzmZK6QR eNc8655XBjUGa897pyGRk4sR4dnI+YiDepXM4yTov6mbXJVodubctxUn+K6woUW7WPz8 F5KPoDY8mZrZgHs/EIS1GWKtegknBpoLNFet/mg0U/6844Y1Pi6/GN9iXUx1zLhiUXA6 gOJn9j2jJdSY3/IYtqrPC5TqTG335mZN64Z3itNg2LJ1eLKBciU7mkQZDoTozPKPbPhu 08LB1nyXx1iJhJKBpxOuyCdHtYOPBFwRlpZK13g9EyOd/xaD/+OgO6HnLKTpg8LqS0T+ ZxlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:subject:message-id:references:in-reply-to :cc:to:from:mime-version:content-transfer-encoding; bh=LTK0kHcHXKMRZq1fvvgaafZQnou0Z3OBHj53xDl18ng=; fh=5HuEXX/HjAp8NHE0az2HebEnCyPC3CvpDef5Ed2us3U=; b=xJpZixOycOko8VdLL2DMME38ey0f5vHGnJMMCM86/HRQqVU4/I9FsWsE1Oo4mAvEkC bmB4DiLZhtR4FFePnRP28mPfU6jwBFY0AHHy3aG5k8tP9fnak2YBRcjPaYe5efK4m0u7 Y/4GtQ+Au5ZWRyMXHv+fEPtUsBjxMEB3STn+B0NTEQgMfCbPhjdQnzGZfS8MKnYrazFQ RhNeZ9ernZniOEuULGHwVwee3kAsi3c5DUMbCeAEF8xyVP0JHW0jY1yV1nU6FQ9ueHSv gKaAxU4vSvTzjvGf/i/QarIL74DtufMgDE20Yv/7NZqni1ca2bHawQn3PQ0BuA363Lu3 ejww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id n10-20020a170903404a00b001c5fa6d75acsi1256341pla.494.2023.11.03.03.21.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 03:21:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id EB801807070A; Fri, 3 Nov 2023 03:21:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229941AbjKCKV3 (ORCPT + 99 others); Fri, 3 Nov 2023 06:21:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60330 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229805AbjKCKV1 (ORCPT ); Fri, 3 Nov 2023 06:21:27 -0400 Received: from mail-oi1-f176.google.com (mail-oi1-f176.google.com [209.85.167.176]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6416DD7; Fri, 3 Nov 2023 03:21:21 -0700 (PDT) Received: by mail-oi1-f176.google.com with SMTP id 5614622812f47-3b2ea7cc821so1151539b6e.1; Fri, 03 Nov 2023 03:21:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699006880; x=1699611680; h=date:subject:message-id:references:in-reply-to:cc:to:from :mime-version:content-transfer-encoding:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=LTK0kHcHXKMRZq1fvvgaafZQnou0Z3OBHj53xDl18ng=; b=krDEccaDbi8+KyNYPJSB9o/DVnlanAGiJ+TMq3mKErSAx/8HKbtyFSRiswcCYOqm0w twX2D4Je3U3fA+WnIldVeJta57lbsn8rd040pS3xxTj+dFJohTCfJYpYhVmJVmMOOsi8 xbOeGvdRnD/E4VHc9udSEmD30YeJ+zSC05WYwYibxtrN9Q+Xo3nEQz19R6UYM6XRLG/g gRydDOL8CMBWEgt46H8rIyBLP+lb5sbq733M8YznjwNDyeiNBSB9JCVeqkw7lPE7d7mQ V7y2DnBWT2mbzG3ngN/+UGdhuSIfpKBL07FGaxMBrEByXKiYOiJGRPUXQQlJipq3cR8p UaIA== X-Gm-Message-State: AOJu0YyB1kTta9uVRqikz4tzKlFW8wclZzSl4mZOQdNpZbDvFgoiEgeX ptTTPoQgbGeCU+FEILtcpQ== X-Received: by 2002:aca:1204:0:b0:3b2:ecab:900e with SMTP id 4-20020aca1204000000b003b2ecab900emr20799399ois.15.1699006880535; Fri, 03 Nov 2023 03:21:20 -0700 (PDT) Received: from herring.priv (66-90-144-107.dyn.grandenetworks.net. [66.90.144.107]) by smtp.gmail.com with ESMTPSA id u21-20020a056808115500b003af60f06629sm229573oiu.6.2023.11.03.03.21.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Nov 2023 03:21:19 -0700 (PDT) Received: (nullmailer pid 488800 invoked by uid 1000); Fri, 03 Nov 2023 10:21:18 -0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit MIME-Version: 1.0 From: Rob Herring To: Huangzheng Lai Cc: Baolin Wang , Conor Dooley , Rob Herring , huangzheng lai , Krzysztof Kozlowski , devicetree@vger.kernel.org, Xiongpeng Wu , Chunyan Zhang , linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, Andi Shyti , Orson Zhai In-Reply-To: <20231103091653.4591-1-Huangzheng.Lai@unisoc.com> References: <20231103091653.4591-1-Huangzheng.Lai@unisoc.com> Message-Id: <169900687819.488783.15775505208515245193.robh@kernel.org> Subject: Re: [PATCH] dt-bindings: i2c: Add yaml for Spreadtrum I2C controller Date: Fri, 03 Nov 2023 05:21:18 -0500 X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,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 groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 03 Nov 2023 03:21:45 -0700 (PDT) On Fri, 03 Nov 2023 17:16:53 +0800, Huangzheng Lai wrote: > Add a yaml file to replace the txt file. Due to the recent addition > of the 'reset' framework to the Spreadtrum I2C driver to reset the > controller, information related to the 'reset' attribute has been > added to the bindings file. > > Change in V2 > -Rename 'i2c-sprd.txt' to 'sprd,sc9860-i2c.yaml'. > -Add ref to i2c-controller. > -Drop items in 'compatible'. > -Add describe for 'reg' items. > -Drop 'clocks' description and just maxItems: 3. > -Fix typo in 'clo-frequency': Contains. > -Add explanation in commit message explaining why 'resets' be added. > -Drop '#size-cells' and 'address-cells' in properties and required. > -Drop description of 'resets'. > -Add child node in examples. > > Signed-off-by: Huangzheng Lai > --- > .../devicetree/bindings/i2c/i2c-sprd.txt | 31 -------- > .../bindings/i2c/sprd,sc9860-i2c.yaml | 75 +++++++++++++++++++ > 2 files changed, 75 insertions(+), 31 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/i2c/i2c-sprd.txt > create mode 100644 Documentation/devicetree/bindings/i2c/sprd,sc9860-i2c.yaml > My bot found errors running 'make DT_CHECKER_FLAGS=-m dt_binding_check' on your patch (DT_CHECKER_FLAGS is new in v5.13): yamllint warnings/errors: dtschema/dtc warnings/errors: /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/i2c/sprd,sc9860-i2c.example.dtb: i2c@2240000: '#address-cells', '#size-cells', 'charger@63' do not match any of the regexes: 'pinctrl-[0-9]+' from schema $id: http://devicetree.org/schemas/i2c/sprd,sc9860-i2c.yaml# doc reference errors (make refcheckdocs): See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20231103091653.4591-1-Huangzheng.Lai@unisoc.com The base for the series is generally the latest rc1. A different dependency should be noted in *this* patch. If you already ran 'make dt_binding_check' and didn't see the above error(s), then make sure 'yamllint' is installed and dt-schema is up to date: pip3 install dtschema --upgrade Please check and re-submit after running the above command yourself. Note that DT_SCHEMA_FILES can be set to your schema file to speed up checking your schema. However, it must be unset to test all examples with your schema.