From patchwork Tue Feb 27 11:01:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 10244789 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 06B2A60211 for ; Tue, 27 Feb 2018 11:02:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EF85E1FF60 for ; Tue, 27 Feb 2018 11:02:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E2BC82858D; Tue, 27 Feb 2018 11:02:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D73701FF60 for ; Tue, 27 Feb 2018 11:02:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=sx2CmpN4rOdWaqCqPzrv1l8lGSmbGy1ZkmTwi/UIp7s=; b=dSGkTn4s8xO/3pSMn1jna2bnMA Mlzv0MX3/zAQBQ2F/UfiBACHCx3afLUaz/sfZF1BNAvyjFiaurCKqu3dsOJ4Dzg5pFigssMurf/wA rtvBgCcxEkEld0kPjphlaJYZUnwGwveaV0zLhRBGW+sYYnY336CRIO7KQXcCesICkbApOVUu8epbh iQazjzhbiLkp1gG1bP6mjEEury3Du2fROG+ovBLBlha7iE3DV9BjeCTqjSE7XB9vVI7DP4CM0/vKF QRG64vxWysekhVXu6IVPIPVghxp/4tU46PSXG00elmBkeg/K6wHXEeKbbhWQi1QL/H7OFO2z8XFIr 1OfPFGlQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1eqd1D-00029h-5u; Tue, 27 Feb 2018 11:01:59 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1eqd0i-0001pQ-VS for linux-arm-kernel@lists.infradead.org; Tue, 27 Feb 2018 11:01:30 +0000 Received: by mail-wr0-x244.google.com with SMTP id n7so24394176wrn.5 for ; Tue, 27 Feb 2018 03:01:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=bVxkLcuJT9k+fZdQdH4l7y75wuordelEUv9ssTXm9xI=; b=L32998LnvGVuxUIFGgunqlnMFQ9iTGP42R32fT0t1mzL0j/FDdt1AP1WK4xvMlRaFr yXLkDCIUXLh6fC3BKn5nLfDqimxGBCMo5AkUxmuoUQyzvFy9DaHPPuXTdd088nLjQSFP xanYf9upLN06Rk7jXxlilj5uORnJbLrPdjmKw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=bVxkLcuJT9k+fZdQdH4l7y75wuordelEUv9ssTXm9xI=; b=pdWSLlrh60OGoiaHK50gWMRjX1H2/oPT2J1e0iKzO4ZvDHJ6YysuHawcCGdckjHKXX 1kgFuq5+i1hYfMC6mh8KldNjQnHOCYXvNH16Ir14WsP/xtitKPP4tMW8ioWHD3SJwZGi eXomqyw5CIKhULRAWn29xG0Rbe4TukHjPU60exXjYzDH064I3FpB9agYJXZ20oNHO6YT DljhQZZxeZ9zjsRV3EZJkr74NNpLLLeyIiZpd9goQPyZCrS6dTIXD1vWAlMk1V9goLsX AZ801NDx3vn9zBlo8Sw5R8EZb2sH06095BG6HZ3O4Fex5w62D9pCNnBGVi9oZIWnU5Rr NSqg== X-Gm-Message-State: APf1xPAeIdPY7lECLjHAQaPBZJIkLbFArwE2RcZvQvC8GPcS07so5w7l 0kY7Q4KLTf5Uxt39AZRpHuXFLg== X-Google-Smtp-Source: AH8x224afjFmAYT/4nTno8xicrtqZ2NHQRTFd56bs75oWURJNgiTzLOV0izxllcln74UO294krbfEQ== X-Received: by 10.223.179.211 with SMTP id x19mr12047748wrd.175.1519729277220; Tue, 27 Feb 2018 03:01:17 -0800 (PST) Received: from localhost.localdomain ([160.167.215.215]) by smtp.gmail.com with ESMTPSA id p5sm14380482wmd.9.2018.02.27.03.01.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Feb 2018 03:01:16 -0800 (PST) From: Ard Biesheuvel To: wsa@the-dreams.de, robh+dt@kernel.org, mark.rutland@arm.com, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v3 1/2] dt-bindings: i2c: add binding for Socionext SynQuacer I2C Date: Tue, 27 Feb 2018 11:01:06 +0000 Message-Id: <20180227110107.30259-2-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180227110107.30259-1-ard.biesheuvel@linaro.org> References: <20180227110107.30259-1-ard.biesheuvel@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180227_030129_024442_258EA689 X-CRM114-Status: GOOD ( 14.09 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: andy.shevchenko@gmail.com, jassisinghbrar@gmail.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Ard Biesheuvel MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add a binding for the I2C controller that can be found in the Socionext SynQuacer SoC. Note that this is the exact same IP as the Fujitsu F_I2C. Signed-off-by: Ard Biesheuvel --- Documentation/devicetree/bindings/i2c/i2c-synquacer.txt | 29 ++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/Documentation/devicetree/bindings/i2c/i2c-synquacer.txt b/Documentation/devicetree/bindings/i2c/i2c-synquacer.txt new file mode 100644 index 000000000000..4d0bb6a71211 --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/i2c-synquacer.txt @@ -0,0 +1,29 @@ +Socionext SynQuacer I2C + +Required properties: +- compatible : Must be "socionext,synquacer-i2c" +- reg : Offset and length of the register set for the device +- interrupts : the interrupt specifier +- #address-cells : Must be <1>; +- #size-cells : Must be <0>; +- clock-names : Must contain "pclk". +- clocks : Must contain an entry for each name in clock-names. + (See the common clock bindings.) + +Optional properties: +- clock-frequency : Desired I2C bus clock frequency in Hz. As only Normal and + Fast modes are supported, possible values are 100000 and + 400000. + +Example : + + i2c@51210000 { + compatible = "socionext,synquacer-i2c"; + reg = <0x51210000 0x1000>; + interrupts = ; + #address-cells = <1>; + #size-cells = <0>; + clock-names = "pclk"; + clocks = <&clk_i2c>; + clock-frequency = <400000>; + };