Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp282552ybm; Thu, 28 May 2020 02:37:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzi3b4rlzerL54+xNm/8+bYoraags0EcFQ5NGo+hwseSfnqsxiTvrMZHOXtqpjhGHOxWpUV X-Received: by 2002:a17:906:d1c5:: with SMTP id bs5mr2195883ejb.117.1590658659330; Thu, 28 May 2020 02:37:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590658659; cv=none; d=google.com; s=arc-20160816; b=IiFO0SGsT9vPK0/04pFENRK/VN5VetKTPC+InJVnDeekzeIdggvIufE0LTtpMymeMw XnOQHv73Tm9b+kjdNGDLw3SDGJKbmeDKLMFWID1VoJdSlcvfhfrmwOmW8m4ASuGaz8U+ xMTgXO0Cry3fo1b+BfRrj97lhXGKKjK7xdd3XCSoDGT75LOD9YUk2NI+PxHq0YU7B+RK lc2sACiz8zEizvDLwTiM1XNOYkWg70EbTEjGnQVkGzFAmvp7Fjm1bNIkvcIYkJ9M0w+c AAUE7FHnsgF+O6ZTn1y8vHesAmZ1zUCTAb/aIMWNF4f15Q03xEXZvX7CW2W1/1D7hAkJ SnNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=DEIEPgm4rijtD2Ry/KW5st3V46/0eM9GwMkP3RYvARc=; b=fntMF3qslrbtkwyhtApRXU5JSTyUxo2qQ8OrZ1YF+gZio2HUTyfZb42Lml7AK3hL3r 1bxYo0UyQmksQbUTe43SpP96IYMBmOCQ6qwPeNZpvuMrSrb13WcD/aLuX7nlG1QZrMDu T6BUutjhonBfQ0HJeHfeDR04LFnUbOvmo7gaE3KlayDNw38FYExm/r7eWXD+Yxb8kVi9 fFsDg1RjYEZSQdMv0pPAVBICPiaH2Pf25lHZpTnJ0I89Ygk/AzKcovMkD196x77ZBIBm TQDL29wDJ+niE6da50X2qjDfH077tZ9H0BlqxHRKjNYJ3dVaU2d9QfoMjfJqAan4+5Os TEfg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w24si3261567edv.588.2020.05.28.02.37.16; Thu, 28 May 2020 02:37:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387416AbgE1Jdd (ORCPT + 99 others); Thu, 28 May 2020 05:33:33 -0400 Received: from mail.baikalelectronics.com ([87.245.175.226]:40524 "EHLO mail.baikalelectronics.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728228AbgE1Jdc (ORCPT ); Thu, 28 May 2020 05:33:32 -0400 Received: from localhost (unknown [127.0.0.1]) by mail.baikalelectronics.ru (Postfix) with ESMTP id 3124B80307C3; Thu, 28 May 2020 09:33:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at baikalelectronics.ru Received: from mail.baikalelectronics.ru ([127.0.0.1]) by localhost (mail.baikalelectronics.ru [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uCLQzqIM2wCm; Thu, 28 May 2020 12:33:29 +0300 (MSK) From: Serge Semin To: Jarkko Nikula , Wolfram Sang , Rob Herring CC: Serge Semin , Serge Semin , Alexey Malahov , Thomas Bogendoerfer , Andy Shevchenko , Mika Westerberg , , , , Subject: [PATCH v6 03/11] dt-bindings: i2c: dw: Add Baikal-T1 SoC I2C controller Date: Thu, 28 May 2020 12:33:13 +0300 Message-ID: <20200528093322.23553-4-Sergey.Semin@baikalelectronics.ru> In-Reply-To: <20200528093322.23553-1-Sergey.Semin@baikalelectronics.ru> References: <20200528093322.23553-1-Sergey.Semin@baikalelectronics.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII X-ClientProxiedBy: MAIL.baikal.int (192.168.51.25) To mail (192.168.51.25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the "baikal,bt1-sys-i2c" compatible string to the DW I2C binding. Even though the corresponding node is supposed to be a child of the Baikal-T1 System Controller, its reg property is left required for compatibility. Signed-off-by: Serge Semin Cc: Alexey Malahov Cc: Thomas Bogendoerfer Cc: Andy Shevchenko Cc: Mika Westerberg Cc: linux-mips@vger.kernel.org --- Changelog v2: - Make the reg property being optional if it's Baikal-T1 System I2C DT node. Changelog v3: - Get back the reg property being mandatory even if it's Baikal-T1 System I2C DT node. Rob says it has to be in the DT node if there is a dedicated registers range in the System Controller registers space. --- Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml b/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml index dff3f267bdee..4f746bef2374 100644 --- a/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/snps,designware-i2c.yaml @@ -31,6 +31,8 @@ properties: items: - const: mscc,ocelot-i2c - const: snps,designware-i2c + - description: Baikal-T1 SoC System I2C controller + const: baikal,bt1-sys-i2c reg: minItems: 1 -- 2.26.2