From patchwork Sat Jun 30 13:33:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manivannan Sadhasivam X-Patchwork-Id: 140677 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2001157ljj; Sat, 30 Jun 2018 06:34:39 -0700 (PDT) X-Google-Smtp-Source: ADUXVKItlpkeO7lbNRUdPyfHDNYYGBICZZpUD9jK6xvF49uiWjeUSbMhRZH7GqVLxP5iscrUSObQ X-Received: by 2002:a17:902:aa48:: with SMTP id c8-v6mr18909851plr.132.1530365679418; Sat, 30 Jun 2018 06:34:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530365679; cv=none; d=google.com; s=arc-20160816; b=hmTiW1saCfy5lmCLkMYpg82uHr2rjlCDlcPo6seoRXrqQ1t/b/9xe9HRsVhCis3hlb HeKUfv4PDdmv4zUOLV6re0knEw358HlKx7J+Tf856pzv2MNVvCZhd8fDbyD23B0PLIiR 6e8Pr67mdN0ccjZvkZWcXajWAJC0KIpc5dLlPwTkKtxyiT16+hV3l/PXrGtCEqEs/yVX KrNO1fRQ3Qp5593JYUg2XYT63TRYSE8ECQZJUGqK/qTIoJ1Kf+iNgEUkCCGORxx2Tu8S Keg2FuMrAYaiUVa+sCX7k5iUmyMs0EyNTMzq5FQSJZPr4DnSnGKae4VYNOMZ/STHKSsS 2O5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=G9Pra/HIrTIdZzogTmPr0pWDqZgp6mkljxVwg8UNDhk=; b=gk4K1FZvKZ3eXFdBarmsAHeR7I525c5nFJUyAXZ78gNLzSzqF2RIk0WjZ67+iAH8de uPmpciDiK+KNZDO65h+faTL/vrXnMVOiJitUHMpt1LXawJtC2aCDSJ9DcMwKZIl1rI1s ZSnoIBeD4j3iCbDeHK/V0cZpHkUC9U/iknsi+cYt9nFhBp41DHFN0S+pEiW9jqeMMhPI h7Km0rLPeMDlOLxyWJE102iovX3dwfkxxA1Hqr+xcPuK1wz+88Bh2JjyVCgZa+qY5sy9 m0a+nF9mLRgZq6QI8liLaJoCr4Xd+23btUbZhzHphve+6+Mrgmum7aU1ys2qE+mr6QSK fy9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ANrnDkzr; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l81-v6si13122487pfa.368.2018.06.30.06.34.39; Sat, 30 Jun 2018 06:34:39 -0700 (PDT) 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=@linaro.org header.s=google header.b=ANrnDkzr; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751466AbeF3NeZ (ORCPT + 31 others); Sat, 30 Jun 2018 09:34:25 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:39154 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751241AbeF3NeQ (ORCPT ); Sat, 30 Jun 2018 09:34:16 -0400 Received: by mail-pf0-f193.google.com with SMTP id s21-v6so5460775pfm.6 for ; Sat, 30 Jun 2018 06:34:16 -0700 (PDT) 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=G9Pra/HIrTIdZzogTmPr0pWDqZgp6mkljxVwg8UNDhk=; b=ANrnDkzrqkNdQV0htvGPfOF9tOuJu3aSyY2EikwWVdXmi+s8NmFO0MOECVtZSzL87m XJiecyhFzVQpJFCCWdX/kTegmkbqLQ1EjqQ+0j/GdjxKm6+immUNk3+unyDKmtAHTg+p TzhPuPFEFOw61lL9oQABA0rxFPsc5pqc5Msfs= 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=G9Pra/HIrTIdZzogTmPr0pWDqZgp6mkljxVwg8UNDhk=; b=ZRt0VpXAve5Co+pSKd9fc1xkIE4prIorHUhl3WJQPeYZrgkbJZFq3UO/0GqvUa2qqd XFX+jyS9Vmc0WLVDkMd7VITnooFTmDUKRntjeOQoEiIdie8+5yZIoZ0O8vLyPV/h45u4 eRUdV7OzTlR8xteaNsD3j10TjB6jdSy2mXXV9s4cWEyXhZWG3E0/1APE0CzQLJpqq+op sL+6wKGMOe4zi0B7jFBOSvbvxWY0PKe84HVWmjBhoCEur3/Y4fHHHST37e4YvcCCYF+w q8jTVPldR0Np7tYalgxFcStif5r0c526GXdloLMcVF+ZhoT3ULTs1pEkSOgjfvy8OMYt Vh7A== X-Gm-Message-State: APt69E2dgf9h++u6O2JjgzEoHMyKTBQkoILEoltkb1CmwvyLe3WoHHPI kUMkqGM0zsGgRKKQlh+n2htU X-Received: by 2002:a62:4695:: with SMTP id o21-v6mr12704866pfi.176.1530365655776; Sat, 30 Jun 2018 06:34:15 -0700 (PDT) Received: from localhost.localdomain ([2405:204:73ca:b257:2c06:3367:1893:796]) by smtp.gmail.com with ESMTPSA id m10-v6sm18738778pgq.89.2018.06.30.06.34.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 30 Jun 2018 06:34:15 -0700 (PDT) From: Manivannan Sadhasivam To: wsa@the-dreams.de, robh+dt@kernel.org, afaerber@suse.de Cc: linus.walleij@linaro.org, linux-i2c@vger.kernel.org, liuwei@actions-semi.com, mp-cs@actions-semi.com, 96boards@ucrobotics.com, devicetree@vger.kernel.org, andy.shevchenko@gmail.com, daniel.thompson@linaro.org, amit.kucheria@linaro.org, linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, hzhang@ucrobotics.com, bdong@ucrobotics.com, manivannanece23@gmail.com, thomas.liau@actions-semi.com, jeff.chen@actions-semi.com, Manivannan Sadhasivam Subject: [PATCH v3 3/6] arm64: dts: actions: Add pinctrl definition for S900 I2C controller Date: Sat, 30 Jun 2018 19:03:27 +0530 Message-Id: <20180630133330.23858-4-manivannan.sadhasivam@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180630133330.23858-1-manivannan.sadhasivam@linaro.org> References: <20180630133330.23858-1-manivannan.sadhasivam@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add pinctrl definition for Actions Semiconductor S900 I2C controller. Pinctrl definitions are only available for I2C0, I2C1, and I2C2. Signed-off-by: Manivannan Sadhasivam --- .../dts/actions/s900-bubblegum-96-pins.dtsi | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 arch/arm64/boot/dts/actions/s900-bubblegum-96-pins.dtsi -- 2.17.1 diff --git a/arch/arm64/boot/dts/actions/s900-bubblegum-96-pins.dtsi b/arch/arm64/boot/dts/actions/s900-bubblegum-96-pins.dtsi new file mode 100644 index 000000000000..95e8b31071f9 --- /dev/null +++ b/arch/arm64/boot/dts/actions/s900-bubblegum-96-pins.dtsi @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) + +&pinctrl { + + i2c0_default: i2c0_default { + pinmux { + groups = "i2c0_mfp"; + function = "i2c0"; + }; + pinconf { + pins = "i2c0_sclk", "i2c0_sdata"; + bias-pull-up; + }; + }; + + i2c1_default: i2c1_default { + pinconf { + pins = "i2c1_sclk", "i2c1_sdata"; + bias-pull-up; + }; + }; + + i2c2_default: i2c2_default { + pinconf { + pins = "i2c2_sclk", "i2c2_sdata"; + bias-pull-up; + }; + }; +};