From patchwork Mon Jan 28 22:25:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 156897 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp3947467jaa; Mon, 28 Jan 2019 14:25:47 -0800 (PST) X-Google-Smtp-Source: ALg8bN7cXX7bUwGOWdrdxnHW4zhvPogKGaN2Ks75/d9h/fBaCWOUHgOAi+yayqnFYkvzhKuN57oG X-Received: by 2002:a63:587:: with SMTP id 129mr21184417pgf.273.1548714346932; Mon, 28 Jan 2019 14:25:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548714346; cv=none; d=google.com; s=arc-20160816; b=OERD+HZFA4bdJHW+t7LceqFo9J0MjTnPeKQwC9MBmNRMiSGWypCotwZxsydAquEXaB DbRVVdpr1/DlY0WZuwPL+4Hq3xyaln20hL2FadttSvFWQg4xpD00AKTuW3hK78YPdW/X 5+H2W0ik/TIXFcueZIrRSRfceFiL4UsDtySlG9UWhiTuh7BGJW9W6cYp39iV7nk9ZQG6 2zhY8q0P+k0gRWJ7rfOqhr+cyYO0uTrujSVLQbmD811MSYIfSH5o60mFYNQVjF5QfRTA tETbjnGSSif2FR4VUmzXTLL6lCTVq4gjAaE54O7KN4xShpz/X1hxzBOexspMiRLIumvc hiSQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=0P7pUidXccQs1hKylUvuKprl3INCzmIN7ztjHiygoqM=; b=ct9J4nNPFdxc0ruBd6r3GvMQYGua2aq4QuyhUAJ+yXifPdlLiNFKD2Rbnr/BhLojzQ lS3dTZ1EqgiHT5jTJCtaEx29CLy/Z9UPMJjI0w8Xvwe5tUuO0yTkGQ/IcWcDzu4V1Qjl nI12aGlIEZKB3ShnngrZEbx0EOyl/X/tkglMpXkT526M8XBNAI98fXmqm7HP0Vy25mYo DBRS2GXG995IMsKU//gNdJOfAgh8nVp29/h5tKErp4T5CFnZOjFQl8aSRDLSsMWSqoWO EPm/q4QCJoDWcwvRNcaenzaW4ud8P3NphKxFw030cvJEFESAuG05QXevnjwO96AiU5Y/ VdMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=DnFK5xcr; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m63si36296277pld.132.2019.01.28.14.25.46; Mon, 28 Jan 2019 14:25:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-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=@linaro.org header.s=google header.b=DnFK5xcr; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726713AbfA1WZp (ORCPT + 7 others); Mon, 28 Jan 2019 17:25:45 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:41942 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726668AbfA1WZp (ORCPT ); Mon, 28 Jan 2019 17:25:45 -0500 Received: by mail-lf1-f66.google.com with SMTP id c16so13115327lfj.8 for ; Mon, 28 Jan 2019 14:25:44 -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:mime-version :content-transfer-encoding; bh=0P7pUidXccQs1hKylUvuKprl3INCzmIN7ztjHiygoqM=; b=DnFK5xcrIB456hDmJ9hk8Jv/gwovIPOTOI3NGlmHaHclWTVrRrIAtBtnXjzTpQQeg1 Mn70SJ/Cey43k27vkml3bQ+zstDzqRQKPhDdMCG/VAN09QA6kZhBBiDJUhcxTOtS9FQt W67uwmKkmsTgIsDHtkkXLghw1DU0fU+EIIY8Y= 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:mime-version :content-transfer-encoding; bh=0P7pUidXccQs1hKylUvuKprl3INCzmIN7ztjHiygoqM=; b=RjUhrF5waovUK3SiiSobjuvhGrE723H8nU0QorgXHd5ub+cvF7pdJt6W7B4oLXOTNR YMbv0Rko5gmjLnECdENadu+kNGJBQ+WQU0i0kkD5Mdl2oA5cTDty3sGtbEqJInqp7s1A BtyC6dGmPG/dM9FszByTDx+4huwb9JLhijCOeTOhQOXrlmeStY3pGXvFD47wiK1n4O/G tuULDwvSIPq5PwgXpXQg1JWXETrgPec4JQO6Sv5N6KNyvfffLSkELgC3SzO8RVrrhOz7 Zz1XAYZOT1C57jfm0oDVpHX5F4eYKH03qisadK4SQb+E6owuoLcKwJjgy/WPPHBLTD1l Fg/w== X-Gm-Message-State: AJcUukdNjTOIFs0TgMMVBF6sSSOWEjh1tPWWsGMq38ioZYeyFshL0Rlt m0DslSBZCLa+b93GYtLwAh+IVg== X-Received: by 2002:a19:f619:: with SMTP id x25mr17821985lfe.163.1548714343783; Mon, 28 Jan 2019 14:25:43 -0800 (PST) Received: from linux.local (c-ae7b71d5.014-348-6c756e10.bbcust.telenor.se. [213.113.123.174]) by smtp.gmail.com with ESMTPSA id c19sm3191775lfg.86.2019.01.28.14.25.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Jan 2019 14:25:42 -0800 (PST) From: Linus Walleij To: Wolfram Sang , linux-i2c@vger.kernel.org Cc: Linus Walleij , devicetree@vger.kernel.org Subject: [PATCH 1/2] i2c: Add DT bindings for Xscale I2C masters Date: Mon, 28 Jan 2019 23:25:33 +0100 Message-Id: <20190128222534.32213-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This adds a device tree binding for Intel XScale I2C masters. We define compatible strings for the iop3xx and ixp4xx chip families. Cc: devicetree@vger.kernel.org Signed-off-by: Linus Walleij --- .../devicetree/bindings/i2c/i2c-xscale.txt | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c/i2c-xscale.txt -- 2.20.1 diff --git a/Documentation/devicetree/bindings/i2c/i2c-xscale.txt b/Documentation/devicetree/bindings/i2c/i2c-xscale.txt new file mode 100644 index 000000000000..dcc8390e0d24 --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/i2c-xscale.txt @@ -0,0 +1,20 @@ +i2c Controller on XScale platforms such as IOP3xx and IXP4xx + +Required properties: +- compatible : Must be one of + "intel,iop3xx-i2c" + "intel,ixp4xx-i2c"; +- reg +- #address-cells = <1>; +- #size-cells = <0>; + +Optional properties: +- Child nodes conforming to i2c bus binding + +Example: + +i2c@c8011000 { + compatible = "intel,ixp4xx-i2c"; + reg = <0xc8011000 0x18>; + interrupts = <33 IRQ_TYPE_LEVEL_LOW>; +};