Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2615554rwb; Fri, 20 Jan 2023 05:22:36 -0800 (PST) X-Google-Smtp-Source: AMrXdXv/r0jRDBhhvHcxbtlMbRmd+CvawIYeNEr1Xuvdt0m5olrST0gKtwD5WZYCCc6omSNPoxZ6 X-Received: by 2002:a17:906:dfe9:b0:84d:378b:8820 with SMTP id lc9-20020a170906dfe900b0084d378b8820mr30057167ejc.18.1674220956369; Fri, 20 Jan 2023 05:22:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674220956; cv=none; d=google.com; s=arc-20160816; b=RPiA2JjGyyg1lq16QgQGWpJzAmN0vMx9VEbxvFs5QdfOWdFYeAE1+xs3uIdZGIz6hi rrbby3oROrapvY9gkph0vMdeEqyQU5z7BvdgRz9X034TZLf7WXws51Ay2D29g6ARGkG3 mGBspeSxBXbLDtz5RaV8El//kdG2fxIr+QbQCBzbcNcDuAFUJYFqDRi7Doq/r1hxY/vr 5Fu4YmUB/IMX0Z3yQfeWs2ncAxzrKee4SQWx+a3x5KHxSWeccrqSDfOa1aULAgJWUvpA BW89wNYZvhexPAjQgCKtRr3NrF3vq7X7vDhzc4lgI6d8zPBfY9N7pdxoZQND8bRvbfjf 5neg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=sG3PS8nuni6BtffOEZijtC58vcZHCox57Y1HsnncO6g=; b=v2n6upnB8zPLSv65/L/PsX9hzfeUdXUtopxtq97X3qkyp6uIecVobLxbYOsPb7V5J7 luDX5HE17SL48SLKmbbxz/lm9wM8/S7OH5aI580727A4IwBCb5UaNMJcRHD2hqfZRnuz pqcbKSZnnDrejM04CPfTlQg/XoHM5Ia4CTCpi7w/cTMp+y/8lyGqGGE0yl8PPqH6tQfe 8LFtNNVPcunu3O+/S0uI0YjXSVcK3LbcxxpHXnxKv2GqumrfoncnqywNgur02Bahs2x+ cjeClTHj+oTLERl6IxSdPVFSxdyXWRakd4mf7THI25vLr0YzWyJcBU9TqDe3fo5mlHYO rxmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=CiQw79VR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hz6-20020a1709072ce600b00867779a2fe2si14270254ejc.138.2023.01.20.05.22.24; Fri, 20 Jan 2023 05:22:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=CiQw79VR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231180AbjATNSm (ORCPT + 49 others); Fri, 20 Jan 2023 08:18:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36124 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231131AbjATNSf (ORCPT ); Fri, 20 Jan 2023 08:18:35 -0500 Received: from mail-ej1-x631.google.com (mail-ej1-x631.google.com [IPv6:2a00:1450:4864:20::631]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82525C41D9 for ; Fri, 20 Jan 2023 05:14:52 -0800 (PST) Received: by mail-ej1-x631.google.com with SMTP id mp20so13827199ejc.7 for ; Fri, 20 Jan 2023 05:14:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=sG3PS8nuni6BtffOEZijtC58vcZHCox57Y1HsnncO6g=; b=CiQw79VRaVPPwAXmSYsAJg9G88x6kGxDTJPi/mZf7Hbw6RtuFKFjxBb3K2bBQYA7AH dBZhCHB7NryJhy4vXXXU/ON4COaY/Pd0Ssvnhy+B/oOovDwMRcrsEEE6ykROltaW82mT YPEjdjTYzJtaePAepi3sXDkAd3gsWy7nt08eGi1NbVq/mdzMkP9bGXjam+d7u5cEOorc 1v/I7t+0iw0KYrLHEda8+AybPunrbyNEUN+NQc1xqu0MSZlzwcw3Nn2uSx8VbVuSZtXl g0+riJ6NkhUN5Iv0ktkAs6YvTQDTZsxyPFsdimAfDLgnTclmeAcZ8jjdPUwSgS0jhFYv nDPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=sG3PS8nuni6BtffOEZijtC58vcZHCox57Y1HsnncO6g=; b=mYMz72ZKWDQeRdzz/dpQ5AnxblEHw/vDk+omj0yRKlwOPRPeYQzurvMIZBLT4d2xJ8 StCt/es8OxbZ2PWDxlVl6PqlKwifJLjEeGOhUvzutPmh4BGgh1IvRCkRBrvzkdoI4liz lB6nr4UljrfPQWIqbJDh+yXJo1dfufPAacI7quXyOpGNCo7LNKq/sfa01H1yneNs2bl8 oYBXPmM9GtS538dHA85ghzA7xMIfjdJuECgt+1UqFDYxbIfXunBNBni5PYPWv+w5C+om nhmXBksSBbozcpxwYaCVmRKcYAw5d9sTeY1L1GYqQ0L2QcYzIkvsy0SBEC9oTI1n6G0F /Lnw== X-Gm-Message-State: AFqh2kqm2yb2Chf2/z9igR8RmUF+ADcNMnQ7ZSMviCXvAMYrCnPPRezd Iheub5Is29rX5mKcuOjAgtnjuA== X-Received: by 2002:a17:907:cc03:b0:7c4:f8fb:6a27 with SMTP id uo3-20020a170907cc0300b007c4f8fb6a27mr25051938ejc.0.1674220491112; Fri, 20 Jan 2023 05:14:51 -0800 (PST) Received: from [172.16.220.87] (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id t1-20020a1709061be100b0086f40238403sm8063276ejg.223.2023.01.20.05.14.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jan 2023 05:14:50 -0800 (PST) From: Luca Weiss Subject: [PATCH v2 0/4] Add CCI bus support for SM6350 Date: Fri, 20 Jan 2023 14:13:43 +0100 Message-Id: <20221213-sm6350-cci-v2-0-15c2c14c34bb@fairphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAIeTymMC/22NzQrCMBCEX6Xs2ZX82KKefA/xkGy3ZqFNSqIBK X13g2dPwzfwzWxQOAsXuHYbZK5SJMUG5tABBRefjDI2BqOM0UZbLMtge4VEgvbs3aQvjth6aIJ 3hdFnFyk0Jb7nuZVByivlz++g6hb3v1tVo0LuR0V2YEWn6TY5yWtIkY+UFnjs+/4FYvniXa0AA AA= To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Loic Poulain , Robert Foss , Rob Herring , Krzysztof Kozlowski 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 , Krzysztof Kozlowski X-Mailer: b4 0.12-dev-78462 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_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org Add the camera clock controller node and CCI nodes to sm6350 dtsi and enable the i2c busses on Fairphone 4 dts. This is tested using PM8008 regulator patches from the lists which power the cameras, and using i2cdetect/i2cget/i2cset reading the sensor ID registers. Signed-off-by: Luca Weiss --- Changes in v2: - Correct ordering of attributes in sm6350.dtsi (#*-cells, pinctrl-names, bias-*) - Link to v1: https://lore.kernel.org/r/20221213-sm6350-cci-v1-0-e5d0c36e0c4f@fairphone.com --- Luca Weiss (4): dt-bindings: i2c: qcom-cci: Document SM6350 compatible arm64: dts: qcom: sm6350: Add camera clock controller arm64: dts: qcom: sm6350: Add CCI nodes arm64: dts: qcom: sm7225-fairphone-fp4: Enable CCI busses .../devicetree/bindings/i2c/qcom,i2c-cci.yaml | 2 + arch/arm64/boot/dts/qcom/sm6350.dtsi | 141 +++++++++++++++++++++ arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 20 +++ 3 files changed, 163 insertions(+) --- base-commit: 1578f85d549045aac441821064e7953732460e51 change-id: 20221213-sm6350-cci-38baf19ace3b Best regards, -- Luca Weiss