From patchwork Fri Sep 29 08:01:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 728287 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id B9448E743FB for ; Fri, 29 Sep 2023 08:01:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232813AbjI2IBQ (ORCPT ); Fri, 29 Sep 2023 04:01:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50678 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232822AbjI2IBN (ORCPT ); Fri, 29 Sep 2023 04:01:13 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 605371BD for ; Fri, 29 Sep 2023 01:01:11 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id 4fb4d7f45d1cf-5345a3dfe3bso9141053a12.3 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=wwRWfvoJgSgiFtSWHCRmYr6vpysAMQzgiLv8yokbBI13WcO0dc/kwXoqovQjwwnTHv NddwBdbqtSPhiGuzLPROWdDD9LkF1Ja1Hb4XJvJNXbHCV8Eaa9FQX5wIdceI1G05HYVI MMgobL2+SaBWN0VSC6sMJR5fIVXsY7EdBroRiu8bkRHeOIajw7S2Dk0yGAwJE2sz8CFP FpXkNBqBgDEUOuPuMunieusxAmKpwnmzJhpL7dGFaabWCdVdbyBMsQNBx9tT4vA0L5FG pBOp9VLIu9MD6z4YdbRVztzFEgjPsCda8NNxqKhHUeVpcgUR3cEiMF9Ba2FKuxTP5KuZ PJ0w== X-Gm-Message-State: AOJu0YyQ9VymyJ8Ke09UOHZq9oYh9wAlBOjnkbIln9JbR4HcjtT8iByg O1tfxQWEUTPMzzOHPsio7C08Kw== X-Google-Smtp-Source: AGHT+IG+juZVGk+drK2JRLPswl8hxtyEq3YJ8XGPJn2oMYNzLrEwcoHY46wVzk0EZrzIatxtdRwhnw== 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 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 Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org 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";