Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp5220675imu; Tue, 13 Nov 2018 03:12:36 -0800 (PST) X-Google-Smtp-Source: AJdET5fcY0dgwFRCkZqjAFkBwo0Ct+8BRv0VS0GxaaU3JQz1KoOymPGZlQIs0VK1G6a8qg1YZ9fW X-Received: by 2002:a63:d047:: with SMTP id s7mr3248780pgi.311.1542107556272; Tue, 13 Nov 2018 03:12:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542107556; cv=none; d=google.com; s=arc-20160816; b=D/cXuCzKcFFdPfz0YCrGRs3dmeKZtG5jCPKGCqdFA5D2PVR7RP/VxjwKw768N1ByAb nBz6TkhTYDYxIGpdbHdcSOzExrzmlqdjz33uAoeOBFBWd9MUlbNdO2tivzZgsSzE3WOW uKVMPVSDBP1vuwL8K07HDi2l0zO1OgrWnlNA0swu6XfN8VOrwqHTMEqwG2FhWEW9fvIr 6KPCfqoqt0n4nif9hklPQIhH1Kbox3/+me+7bsLfM8VI9p21pESgzDRC8wHfcV4mxGW6 M/g/9/TGCNgqNu3QyqNiR6F+8AEzzk+gaK0LT5KNBvSvVUuhUKV0iJUACGyi+RMxZ5BG Q14w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=eTbJjQN2z+STV8JW1EYDMs7RbasPZCnMjWX9z9G5/40=; b=hEwYfBFBPjwkTi5szuNDCEu7UH6BIH3zlLIDw6WBrSYi+7GUvTw9N8tDfRUgRIow9c 7WR9Lv2u3V+kj35sHiVjktHglLBBlFgEJ8wjHrx0pvo7QsA5+B3ppm0PW+M0CtOtPUR8 6HP1l25yAPzJ+KxqLnVGtCtuTUO7dbAg3Ho43ntGF8jS3U8sxLUvibztfIgZ2tNJliGd aaJwHFAueF1h+qBgoOxH+dYvI6JeZaEmm8LfRRsl0X71xoHaVQbJsCwnnjGfOCZD7WK6 kUUf4aoWn7xFf1Mrbnswaj6e0qlgGnfnV5RL0XgFLHHrgMgNfU+99kUfRKYyqVNTrz76 Z4XA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=ckM6nP7A; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v9-v6si22251687plg.177.2018.11.13.03.12.20; Tue, 13 Nov 2018 03:12:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b=ckM6nP7A; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732434AbeKMVJb (ORCPT + 99 others); Tue, 13 Nov 2018 16:09:31 -0500 Received: from smtprelay.synopsys.com ([198.182.47.9]:60962 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726581AbeKMVJa (ORCPT ); Tue, 13 Nov 2018 16:09:30 -0500 Received: from mailhost.synopsys.com (mailhost1.synopsys.com [10.12.238.239]) by smtprelay.synopsys.com (Postfix) with ESMTP id 7DAEF24E0752; Tue, 13 Nov 2018 03:11:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1542107513; bh=jwNjebw3qIYugPTS0DAXFGhhk4Ii29GbNu5jHGEADGs=; h=Subject:To:CC:References:From:Date:In-Reply-To:From; b=ckM6nP7A3YP3wFnfRSjgph8LVdOeZehmoZLk5DLCUq46TpYcK6w/Z5B1L9b6VRJ+Q jjonlXvwJsZfttSHHKa7mYag7/3NvQM1pSpivrSTOXZlD7QpV9bRCKiZjT0ZlTaB7c Voo7Bw5S45C8620gBYjbx7xRNdAdKJmNU1YEIz0pDUq/hPAGnEgdANmF+3ssxnz0J/ XU8xkuys+Wya8obH5DYvSpbTy6DyhajCGFchxso4xQPU9wuRaGxLnrMr7yE7w1XKdX tOpl/8eWZFAowvjpcRcTtLYNqG3DT0TKvF8mBaqC6FIrzftpdR/WEY9DQ+OwUHvvf/ TaQet2UEJG0eQ== Received: from US01WEHTC2.internal.synopsys.com (us01wehtc2-vip.internal.synopsys.com [10.12.239.238]) by mailhost.synopsys.com (Postfix) with ESMTP id 7C6185470; Tue, 13 Nov 2018 03:11:48 -0800 (PST) Received: from DE02WEHTCA.internal.synopsys.com (10.225.19.92) by US01WEHTC2.internal.synopsys.com (10.12.239.237) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 13 Nov 2018 03:11:48 -0800 Received: from DE02WEHTCB.internal.synopsys.com (10.225.19.94) by DE02WEHTCA.internal.synopsys.com (10.225.19.92) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 13 Nov 2018 12:11:46 +0100 Received: from [10.0.2.15] (10.107.19.128) by DE02WEHTCB.internal.synopsys.com (10.225.19.80) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 13 Nov 2018 12:11:45 +0100 Subject: Re: [PATCH v3 2/3] dt-bindings: i3c: Document Synopsys DesignWare I3C master bindings To: Boris Brezillon , Vitor soares CC: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , References: <1541697251-20392-1-git-send-email-soares@synopsys.com> <1541697251-20392-3-git-send-email-soares@synopsys.com> <20181112101703.024ba1f3@bbrezillon> From: vitor Message-ID: Date: Tue, 13 Nov 2018 11:11:26 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: <20181112101703.024ba1f3@bbrezillon> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [10.107.19.128] Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Boris, On 12/11/18 09:17, Boris Brezillon wrote: > On Thu, 8 Nov 2018 17:14:10 +0000 > Vitor soares wrote: > >> Document Synopsys DesignWare I3C master module >> >> Signed-off-by: Vitor soares >> --- >> Changes in v3: >> - Remove dummy characters >> >> Changes in v2: >> - Address the changes in Documentation/devicetree/bindings/i3c/i3c.txt >> - Add controller version on compatible string >> >> .../devicetree/bindings/i3c/snps,dw-i3c-master.txt | 42 ++++++++++++++++++++++ >> 1 file changed, 42 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.txt >> >> diff --git a/Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.txt b/Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.txt >> new file mode 100644 >> index 0000000..b930c09 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/i3c/snps,dw-i3c-master.txt >> @@ -0,0 +1,42 @@ >> +Bindings for Synopsys DesignWare I3C master block >> +================================================= >> + >> +Required properties: >> +-------------------- >> +- compatible: shall be "snps,dw-i3c-master-1.00a" >> +- clocks: shall reference the core_clk > Are you sure this IP only requires only one clock? If you're unsure, > you'd better have a clock-names prop. Yes, the controller only has this clock dependency to configure the SCL. > >> +- interrupts: the interrupt line connected to this I3C master >> +- reg: Offset and length of I3C master registers >> + >> +Mandatory properties defined by the generic binding (see >> +Documentation/devicetree/bindings/i3c/i3c.txt for more details): >> + >> +- #address-cells: shall be set to 3 >> +- #size-cells: shall be set to 0 >> + >> +Optional properties defined by the generic binding (see >> +Documentation/devicetree/bindings/i3c/i3c.txt for more details): >> + >> +- i2c-scl-hz >> +- i3c-scl-hz >> + >> +I3C device connected on the bus follow the generic description (see >> +Documentation/devicetree/bindings/i3c/i3c.txt for more details). >> + >> +Example: >> + >> + i3c-master@2000 { >> + compatible = "snps,dw-i3c-master-1.00a"; >> + #address-cells = <3>; >> + #size-cells = <0>; >> + reg = <0x02000 0x1000>; >> + interrupts = <0>; >> + clocks = <&i3cclk>; >> + >> + eeprom@57{ >> + compatible = "atmel,24c01"; >> + reg = < 0x57 0x0 0x10>; > ^ remove this white space. > >> + pagesize = <0x8>; >> + }; >> + }; >> + Best regards, Vitor Soares