Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3371124pxk; Mon, 5 Oct 2020 08:06:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzB7EWFx+oClskiB8OAPylkuZiibzQ1ESdHeA2nde+e+je3fNbjKeUzUj4lJhFrdDubJBkF X-Received: by 2002:a17:906:f8d5:: with SMTP id lh21mr123712ejb.185.1601910360019; Mon, 05 Oct 2020 08:06:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601910360; cv=none; d=google.com; s=arc-20160816; b=LcD2+6dlnkwmcTKqUMQAIp0C0h+vRSI9xctqJa2w9hguhNrzrLgnZCc9ax7fyGLaw5 HY2ZjEi+dLRbxBXLQe3uqinyIxbZc77AwoCdd2Lp8yMinpcqYuYL9f5L7poTEfXP2wL0 RgmhayjFWABscFwpJKwoLISCdCwR1lySctOw8p3+dCtlxlcdq0k1uINtu1c1Y7/m74GS EA7kkKYG++7u2F2U14x+ozGqo0woQfHNU5U0Hx5c93bGHn6ll5cegSzhUwhinzldBZiI PMU8LnLAW7ua6opLy2TgBP4gpoalffKw+kUf901Gzdvy3jRbp3SYHOKjZQUhXFf5B+wO Dhtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=XByuLTqKoi6bzKn452xrejvR/cWGNzxvxhZL/Y5yUwA=; b=oKSjOTOv+oD0Rhg4V+KnvOlRu3A/ENBuqrc3pOAyfg9QXTA2ZYk7NuHjQi2P2cY10W CY6XWLFjEaViz4dqSJpXKmxEpOAYNr8aMP/HOff/ftKTT8Dft/hnZe8ty7TL1gHr1JHf CfSXZP3kUw3kEJxhLbglx5Hr9PNhZZVJNZ1C3QzHDWQ/l/Hi8zmPZVvyej0kC52gM15v uIsTOpGJ/3LuWUFez6GtCcacX2k60Sc3iOnNhhPpDu6KbcYaIZU000gEdvUBagnFZn6Y q3jqe64lt8gNYiQUKsUFdTbhEf1iuWtiOOu/Hb87wJel9dwuHXznbBTVznOApy1NbRDz kqag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=g5ud1PvV; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cn23si87942edb.364.2020.10.05.08.05.35; Mon, 05 Oct 2020 08:06:00 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=g5ud1PvV; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726960AbgJEPD6 (ORCPT + 99 others); Mon, 5 Oct 2020 11:03:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44740 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726840AbgJEPDl (ORCPT ); Mon, 5 Oct 2020 11:03:41 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 688CFC0613CE; Mon, 5 Oct 2020 08:03:41 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id z1so9965524wrt.3; Mon, 05 Oct 2020 08:03:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=XByuLTqKoi6bzKn452xrejvR/cWGNzxvxhZL/Y5yUwA=; b=g5ud1PvVsleooSow8jNBTAYeF9hmd7uTsioiKldjuWVDWQILY6HBlH/yRE44sIPR1X hb0krP+oK5px5WGixEu524V3yKGo/rTzcEFZFaZzIqnZu0VEv0nmwnZ2hqpCHamfW0yv Lip0HVNNh1xf00EzO4VCtcgXUZiG3X9u+mEo1oX1VE1gtci4/m/bnYB3K6McBgCV4hAS Tp7ed4vqwBpPnIaLkgJEC5N/deF7NHPvQYqjPxyQQKAzdelst9Tc719rglBKzrjbT+Fk yPOcyvoAqwEIgeHAdOIrzVN6R9k4yUqv/Iie0c21xkEuQML18itHQjcpbLrEaVYq3TQA ozRg== 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:mime-version:content-transfer-encoding; bh=XByuLTqKoi6bzKn452xrejvR/cWGNzxvxhZL/Y5yUwA=; b=anpfHcOib9KuaDIoabxY+2WIOcptiY6y+XH3AxecbQN65r4sIqDtO7Fvx00c+rvoij msuSO8GDC/G5j9myne9JTPjCbzDZrU21zyWmz4y0IvfLv7/mqhvUZL098H/adY2kXTzw O5dAuQqwEB0u9hXoZ+1yGH+SM8mtIeaoxAr4iCIeHw5dZ82i5rReZoveEUpcFUsReCQo O/7Cjl3MmCVADfcFjrZ43RUsZQLBVWCBDL9RkovEhz/nt8smV5CbcabuepXjFmUehaI5 UxZUOiBh2E2ovJdXhMmkPmIwYjU2JimUr/0gr9MTAfZ0LOWyexpNbWckgLtllseazwxR AsAA== X-Gm-Message-State: AOAM530o/gCf61AvIFM/Xp4xKbq5Y/zIpjJzVhFWHm0x2cR9+Wj43qKa iBSlGQeiSQilSe634ddY1a8= X-Received: by 2002:adf:eacf:: with SMTP id o15mr19289505wrn.12.1601910220132; Mon, 05 Oct 2020 08:03:40 -0700 (PDT) Received: from localhost.localdomain (abab191.neoplus.adsl.tpnet.pl. [83.6.165.191]) by smtp.googlemail.com with ESMTPSA id c132sm4662wmf.25.2020.10.05.08.03.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Oct 2020 08:03:39 -0700 (PDT) From: Konrad Dybcio To: konradybcio@gmail.com Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Andy Gross , Bjorn Andersson , Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 07/11] arm64: dts: qcom: msm8992: Add BLSP_I2C1 support Date: Mon, 5 Oct 2020 17:03:07 +0200 Message-Id: <20201005150313.149754-8-konradybcio@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201005150313.149754-1-konradybcio@gmail.com> References: <20201005150313.149754-1-konradybcio@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This will be required to support touchscreen on Lumia devices. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/msm8992.dtsi | 30 +++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8992.dtsi b/arch/arm64/boot/dts/qcom/msm8992.dtsi index 6242c56a2bfa..81426577f2bd 100644 --- a/arch/arm64/boot/dts/qcom/msm8992.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8992.dtsi @@ -305,6 +305,22 @@ blsp1_uart2: serial@f991e000 { status = "disabled"; }; + blsp_i2c1: i2c@f9923000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0xf9923000 0x500>; + interrupts = ; + clocks = <&gcc GCC_BLSP1_AHB_CLK>, + <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>; + clock-names = "iface", "core"; + clock-frequency = <400000>; + pinctrl-names = "default", "sleep"; + pinctrl-0 = <&i2c1_default>; + pinctrl-1 = <&i2c1_sleep>; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + blsp_i2c2: i2c@f9924000 { compatible = "qcom,i2c-qup-v2.2.1"; reg = <0xf9924000 0x500>; @@ -525,6 +541,20 @@ sdc1_rclk_off: rclk-off { bias-pull-down; }; + i2c1_default: i2c1-default { + function = "blsp_i2c1"; + pins = "gpio2", "gpio3"; + drive-strength = <2>; + bias-disable; + }; + + i2c1_sleep: i2c1-sleep { + function = "gpio"; + pins = "gpio2", "gpio3"; + drive-strength = <2>; + bias-disable; + }; + i2c2_default: i2c2-default { function = "blsp_i2c2"; pins = "gpio6", "gpio7"; -- 2.28.0