Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp48643rdb; Fri, 29 Sep 2023 16:18:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHvXb2lkfwuaUPDNfoRIjAqqcn0GLapBsTZXPoyampWF0rL1AA0YfY4jcoY547Xp3597B2E X-Received: by 2002:a05:6808:1910:b0:3ae:170f:a39b with SMTP id bf16-20020a056808191000b003ae170fa39bmr7689177oib.17.1696029481873; Fri, 29 Sep 2023 16:18:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696029481; cv=none; d=google.com; s=arc-20160816; b=EQ/DkdFeE28uXfTlOt7zKj8JqTnDqBHMeJPsFDUD7LwbYmeH0G9+HgZksPK7ClvJiU jfDVV1br2MoXBd5g784Wx3jxN1FDmOii+GaFuvcEGq6kBaHlnCsjVxJhEVuDrxzLYATJ T4kNuNAS7PXc1Izn/7jtobJV5IX1pD3GABHf8Tk5YVOjxFtkh7NBRJW5XP5znMpd/rmF 6iCnhBs6tC3BJ+wfzqH8gIi3tQdnEMDMUtuYEWwvLs7vy79Bl7j3LUbNuTbFyiTUcfv0 oZ8vHlipyrt7+g9a8pUSmKWPObPwbY9XMNQZMQS9V9WdFLIOtA0gnvJpE4v+yLBQKje6 vuQw== 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:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id p19-20020a639513000000b005824bad8f81si15150375pgd.853.2023.09.29.16.18.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 16:18:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; 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:2 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 agentk.vger.email (Postfix) with ESMTP id AF3DB80DCA4F; Fri, 29 Sep 2023 01:01:38 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232846AbjI2IBV (ORCPT + 99 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 ); 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 ; Fri, 29 Sep 2023 01:01:11 -0700 (PDT) Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-533c8f8f91dso14214609a12.0 for ; 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 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 , Bjorn Andersson , Konrad Dybcio , Loic Poulain , Robert Foss , Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , 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 X-Mailer: b4 0.12.3 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, 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 agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 29 Sep 2023 01:01:38 -0700 (PDT) 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 --- arch/arm64/boot/dts/qcom/qcm6490-fairphone-fp5.dts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) 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"; -- 2.42.0