From patchwork Mon Apr 6 07:30:08 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matti Vaittinen X-Patchwork-Id: 1266695 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=fi.rohmeurope.com Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 48whyg61RGz9sQx for ; Mon, 6 Apr 2020 17:30:19 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726571AbgDFHaS (ORCPT ); Mon, 6 Apr 2020 03:30:18 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:44353 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726555AbgDFHaS (ORCPT ); Mon, 6 Apr 2020 03:30:18 -0400 Received: by mail-lj1-f196.google.com with SMTP id p14so13490937lji.11; Mon, 06 Apr 2020 00:30:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=dgmZ0bjqyUvm/qPZv62N1I4mJZ+HWVLMJ51Jy00jq/g=; b=i6kBbKWfw/uGkbJj9F4mVkzO8TB+e0MjgrXI6OGbGagrncVEzQW6HjvyTBcf4fIFT+ kqKn4uJNmn6f0ol0aeQGmDXYYbDgjVnbnnXhvJ7TZglCOd3doNXeU9xDKYaQ73S4pNTa dmqMQDFXBOuMvfqMM3LJBsj0IrP3SeseXVRZRwkzm6wnhddUXosEiIVvMjxmWon+dkA+ o0paejTCPQrCLvt4EKTjCQZPCVfp4gO4c3NJMY0waZp4M4myQLKZPSxx2X8CgYFDYL3Q 3EswPeHpaOo+4F2nCRkP/4QXwKYF2epe4QaAERNNXS6GEDpsCUR0Do1/npStP5y4U973 4jgw== X-Gm-Message-State: AGi0PuZGYQ/GJywMJSo57mvlGTwGFTc3o+Z8rqGl+xnr8LFWIraNxbNm 2X/m79csM4my24T5Bk/7hAo1bUk0 X-Google-Smtp-Source: APiQypIDh8ERPkAwJp6PTql+5aLtPMaYL8QLB0SEl5+4n2GutnKQ4T6lJD9sCsX9xn2EsCOl8GqwRw== X-Received: by 2002:a2e:5450:: with SMTP id y16mr11870330ljd.121.1586158215774; Mon, 06 Apr 2020 00:30:15 -0700 (PDT) Received: from localhost.localdomain (dc7t7ryyyyyyyyyyyyybt-3.rev.dnainternet.fi. [2001:14ba:16e1:b700::3]) by smtp.gmail.com with ESMTPSA id m7sm12956837lfh.54.2020.04.06.00.30.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Apr 2020 00:30:15 -0700 (PDT) Date: Mon, 6 Apr 2020 10:30:08 +0300 From: Matti Vaittinen To: matti.vaittinen@fi.rohmeurope.com, mazziesaccount@gmail.com Cc: Lee Jones , Rob Herring , Mark Rutland , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: BD718x7 - add missing I2C bus properties Message-ID: <20200406073008.GA13084@localhost.localdomain> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.12.1 (2019-06-15) Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The DT example needs #address-cells and #size-cells for I2C bus or validity checker will generate warnings. Add these properties in BD71837 and BD71847 binding examples. Signed-off-by: Matti Vaittinen --- This patch was created against Lee's for-mfd-next branch. Please let me know if this was not feasible. Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.yaml | 4 +++- Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) base-commit: d2923aa4535664ae5c46c3a093985afd18fec118 diff --git a/Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.yaml b/Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.yaml index aa922c560fcc..65018a019e1d 100644 --- a/Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.yaml +++ b/Documentation/devicetree/bindings/mfd/rohm,bd71837-pmic.yaml @@ -123,7 +123,9 @@ examples: #include i2c { - pmic: pmic@4b { + #address-cells = <1>; + #size-cells = <0>; + pmic: pmic@4b { compatible = "rohm,bd71837"; reg = <0x4b>; interrupt-parent = <&gpio1>; diff --git a/Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml b/Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml index 402e40dfe0b8..77bcca2d414f 100644 --- a/Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml +++ b/Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml @@ -128,7 +128,9 @@ examples: #include i2c { - pmic: pmic@4b { + #address-cells = <1>; + #size-cells = <0>; + pmic: pmic@4b { compatible = "rohm,bd71847"; reg = <0x4b>; interrupt-parent = <&gpio1>;