Message ID | 20230929-sc7280-cci-v1-3-16c7d386f062@fairphone.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp4041572vqu; Fri, 29 Sep 2023 06:47:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFUTcQqCjtDzCXXmBiW/LHkudC4rbE9/a2hrQ2dhlkyqeYFmxi1tZNos7ULJzVFyk5B8AGf X-Received: by 2002:a05:6a20:938b:b0:15c:e0bf:40ec with SMTP id x11-20020a056a20938b00b0015ce0bf40ecmr4745190pzh.17.1695995252664; Fri, 29 Sep 2023 06:47:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695995252; cv=none; d=google.com; s=arc-20160816; b=0NR0rLY0yCeXjZ6ihOX5fPSwgKSI44SluYQ1JIEy8KMdfRU0LQnvdS+uXcmZXPznvK 6wZyrWhigqgMW997eq4JwzopTPT4hkU3jio62L9bPhmPxBA1n3M9aYri2aAZ4YoapYIK r9MJU5Z9hulfWi47ARrlsHI/mD5Du4NRnp1rId+cIODdfZlMabcJOBVvLccRctDZ7Qyb wBBqRiI3uumVWdYdOEPrpFg5imcBb8Q9DKOvJm+eb14djIT3mCCQeAuNVpUa6CkKLuT2 oqfPkThp8GUV5uUIfdC05754HUTtBey3VZMlPjBKfgBAuneZVjZK0kUYI8IyxP65UoV4 pm6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=K4AXanlYkF1UctT0i4z2SSgLVfpVBN6YLneat8LfHMI=; fh=Vm3ZTqJZqAmHbc94kmEzsazleDLdf+8bnwF2M9X123U=; b=YBWa95yFN5BqqSMYy9usp3WwWk5YQl18MiRv45oNxIDNYWLeaH09AyfquOkOZcNYru sJ35d+y+ri8MDDcZdRx5/ZCfJqiRt8URbiNq75A44+9WZ34Yp9V7vEL3x/JQ5YFM1p5A tN3h1ieW0zQJgLruNQv6v5wm6PJhQyBWngvRrCeZ6vv4DRc2MJhHRc/gZsAS8gvVgJPj xkA2LWqAKwwGhaK7PbXIHD1c5YiKLBhp6uQfL3BMW5PZWHzxIG0NSd0zumJEvlBL4umw lUGByO4vNMyHNX2AmKimkwQ4Nt7gfTPmQAa92hO0vW1cFd4e6pgDvMI3kRGLyD8dakXB BG7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=clRznoFA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id a7-20020a056a000c8700b00690f8edee16si21649578pfv.275.2023.09.29.06.47.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 06:47:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=clRznoFA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id B739D80CBDEE; Fri, 29 Sep 2023 01:01:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232847AbjI2IBV (ORCPT <rfc822;pwkd43@gmail.com> + 20 others); Fri, 29 Sep 2023 04:01:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232818AbjI2IBN (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 29 Sep 2023 04:01:13 -0400 Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A9961BE for <linux-kernel@vger.kernel.org>; Fri, 29 Sep 2023 01:01:11 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-533c8f8f91dso14214609a12.0 for <linux-kernel@vger.kernel.org>; Fri, 29 Sep 2023 01:01:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1695974470; x=1696579270; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=K4AXanlYkF1UctT0i4z2SSgLVfpVBN6YLneat8LfHMI=; b=clRznoFA1sY2osFvY6SDGuCgw1iQ6CK9eZIp7dhSezFQ3hmQ8wJLVXT1QNRsY+DEH7 ygNCbw7cRgl6Jx/qWYAamNcpt5WZp2C1vATWLMYZGNL7AqnrucBnErXFDZgdW2HmQJDv Xg9waeCO16E85Q0AdD9t/wH1IPHdscbTBaoSZXr8N/BGuQZN8bl9/4HAq8aOQfvO1Pjf +vDp1/GlGocuRYUKqwaVyfeJ+Ycu/nXxyUo4aJmzRKLIcggQGIFOjdc6U/55vfHcTpX6 s9014kPx+L0HZwbN67mVCMko6m1LYX1yffqD0XPGgVn0B3ztmB5p7I6XuWpV4g7HGPe7 G4mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695974470; x=1696579270; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=K4AXanlYkF1UctT0i4z2SSgLVfpVBN6YLneat8LfHMI=; b=mUtp0kz+mUWefBMp7Z3hCmuKj+lFKHlrIPMIB1Khns/5ZLANXyd9mculXdoCQTNtkS T2w+5ZRd0OpDS7ikAWJ06EmX4MqjP8S2xehenvdS80jDwQx32FFUv+8QqQc9aRZt17iD PK4ytKlaUHsSX/FBCFKeJAhRzXW1n7A2gsA/k+E1SHXvqsBzV8Ky4e9tlY6/I5xXSljI UrJk6sT8h2iJ1gwNrEiiM6k8oUVsjiitPuJVDGm0kBTiu1URzXNgjwOuSK1+0HDOwrB3 Uu5E1c6h054X8sJxyGELtKiVRqAa+PBvHyt6gPJd8E7aRntX5lzO1+UhIJ4LlsKsA1nW 6Vag== X-Gm-Message-State: AOJu0Ywihc1QW/RP/pFTCc+7utmwzT4pA6TEDkNqPXsiprTNqMq2NghA HOWAKDwGuU3VRVyaEXPLL+dUew== X-Received: by 2002:a05:6402:751:b0:531:9c1:8276 with SMTP id p17-20020a056402075100b0053109c18276mr3035733edy.4.1695974469876; Fri, 29 Sep 2023 01:01:09 -0700 (PDT) Received: from otso.luca.vpn.lucaweiss.eu (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id j6-20020aa7ca46000000b0052889d090bfsm10825040edt.79.2023.09.29.01.01.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 01:01:09 -0700 (PDT) From: Luca Weiss <luca.weiss@fairphone.com> Date: Fri, 29 Sep 2023 10:01:07 +0200 Subject: [PATCH 3/3] arm64: dts: qcom: qcm6490-fairphone-fp5: Enable CCI busses MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230929-sc7280-cci-v1-3-16c7d386f062@fairphone.com> References: <20230929-sc7280-cci-v1-0-16c7d386f062@fairphone.com> In-Reply-To: <20230929-sc7280-cci-v1-0-16c7d386f062@fairphone.com> To: Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Loic Poulain <loic.poulain@linaro.org>, Robert Foss <rfoss@kernel.org>, Andi Shyti <andi.shyti@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, cros-qcom-dts-watchers@chromium.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-i2c@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss <luca.weiss@fairphone.com> X-Mailer: b4 0.12.3 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Fri, 29 Sep 2023 01:01:32 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778379644001780735 X-GMAIL-MSGID: 1778379917642654609 |
Series |
Add CCI support for SC7280
|
|
Commit Message
Luca Weiss
Sept. 29, 2023, 8:01 a.m. UTC
Enable the CCI busses where sensors are connected to.
Not covered here is the regulator used for pull-up on the I2C busses.
This would be pm8008_l6 (L6P).
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
---
arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
Comments
On Fri Sep 29, 2023 at 3:36 PM CEST, Konrad Dybcio wrote: > > > On 9/29/23 10:01, Luca Weiss wrote: > > Enable the CCI busses where sensors are connected to. > > > > Not covered here is the regulator used for pull-up on the I2C busses. > > This would be pm8008_l6 (L6P). > Does it make sense to enable non-functional hw then? Or is it on by default? Without the out-of-tree pm8008 driver you cannot talk to any hardware on the i2c busses there, so.. I guess you have a point? A little bird told me this week they're working on a new revision for pm8008 so hopefully this is coming at some point. > > Konrad
diff --git a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts index c8e7e6689b20..3fc0b3f7dc31 100644 --- a/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts +++ b/arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts @@ -388,6 +388,26 @@ vreg_bob: bob { }; }; +&cci0 { + status = "okay"; +}; + +&cci0_i2c0 { + /* IMX800 @ 1a */ +}; + +&cci0_i2c1 { + /* IMX858 @ 29 */ +}; + +&cci1 { + status = "okay"; +}; + +&cci1_i2c1 { + /* S5KJN1SQ03 @ 10 */ +}; + &dispcc { /* Disable for now so simple-framebuffer continues working */ status = "disabled";