From patchwork Fri Jan 20 11:11:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 46296 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp138606wrn; Fri, 20 Jan 2023 03:17:58 -0800 (PST) X-Google-Smtp-Source: AMrXdXtamSot1uK37PkGWHugGjPuJua6i15CJXEL49I0i2HhwxHGQ+7MXjqrpgpvejF317j6Q5Y2 X-Received: by 2002:a62:1ac9:0:b0:57a:7b74:4ec5 with SMTP id a192-20020a621ac9000000b0057a7b744ec5mr15524645pfa.13.1674213478042; Fri, 20 Jan 2023 03:17:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674213478; cv=none; d=google.com; s=arc-20160816; b=R+/Zmw9fmKcTQmAuSYH8J44i0PrxxrAJoxlESBT6i3OTnaHezcXHljr64KcqHLoDFq bZvzo9HkRLGtis4rh6o2leu7WI5jPiqJpAa23x0cP85jv7HsW0WFk0JH0fZagUmda3bi lDqAGhHWe33kSJbyISd+8W7T64DvRJC9fEOK1eLHN9KO54DFRV4UBH07AUbI98UO07ab twiohCSqaQC67ObxjhvXVawJKcc29z8Nu825DMJTCWBcfprJn5FBF89Zk9X7m9n2i5OY eMqw9BXoV0DuDaCSTJQeGZ6nFxHPA8h9sktPCkcTZW88yaxNUevzbVaB/6OMj5vO4PeM HuFA== 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=jS58VgR/BD2MHUidZnJi3NBLKUmcSOk+9wrfP0BoXv0=; b=XBO+DiiLIdzjfBzzsL76DE3JCAGlUXY53DMzTfKFdHNvBRjkTdtuwHqD4qCgm3ungf YLw3LSmBVoGfcBMjO1LBEe/jXjuOe+xxQY2bIh0KkUnuCRqXkippNXY8F/WftZP622mp obhKNGDBX1J3nWSK/yRWGR/wxHjvXD+JGTAZiRmIDwzWBnlkEYULguoKEe/YaRjWWyu7 C0Z7zisZHXSZe6KqBqVwf/t9Jm3Jdp12cuQarUNch3g3MlfWPX3QIDDefajDHEHKRHtL zWrvzoJUepmu61dflpre/14nYcJGaRQUcWqlnxTnvyyXjpyQzCIK6AmSIhd5P9VEmIMu XPvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b="Ds9sj/oS"; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u17-20020a056a00125100b00572f3be59f6si3950749pfi.136.2023.01.20.03.17.45; Fri, 20 Jan 2023 03:17:58 -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="Ds9sj/oS"; 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 S229813AbjATLMp (ORCPT + 99 others); Fri, 20 Jan 2023 06:12:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230032AbjATLMc (ORCPT ); Fri, 20 Jan 2023 06:12:32 -0500 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1F8C3BAF11 for ; Fri, 20 Jan 2023 03:12:30 -0800 (PST) Received: by mail-ej1-x62e.google.com with SMTP id vw16so12999027ejc.12 for ; Fri, 20 Jan 2023 03:12:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; 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=jS58VgR/BD2MHUidZnJi3NBLKUmcSOk+9wrfP0BoXv0=; b=Ds9sj/oSODhyldz3Bbu1cRJp3obW3uCE/1PW1XL9nNcByb5TyPypUekvCgW/D43i4Y uCDNNT/U2leHRoByn1e1pkgHAeAw+lTZAkq2drSGn+xigDGbyPYsjxZJ6SIVxQK5ONyo 0yYs/7rwOxBDlP7K20KTxKKQrhFnNwn8gZU8Jaz1gekqsSJdDbLWpWV9rjRWub9ASnsi FQx1uLZE0jl6q/nW26l1i2AIzeoONQlapo6INyXZUJIFZ5aiIxhIfb79DMTwcD1FvMYs rkH2zoKQgs/O0EJjKW8OcGww7mck0JjCS3VBrsT3OpfpS2Mevw+wUeO9ZWATUKtn2Yql 0afQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=jS58VgR/BD2MHUidZnJi3NBLKUmcSOk+9wrfP0BoXv0=; b=ddC6CuZKCyO4ojIk2heFUUDy9rbhLvxSyGY0crkgQxpNs//SkjY0netb5zeX6X0Dqe vLI7hkelxgau5LtWQCtZpdlYFF5KbwDApigBGq90d7neBLUAjtm2nPPa2AxoWac3Lq8/ zMoleIs3OuF6ukrgNMuZap05PyiAJ9Tfng2zarXVDE+4WRjGczeMrTrQw1wNpeAJ1eoH gWP64M1137IeTC9FW6KnMuM61MjHbKwAn53lQvU5VXks+sBn+T8EL+foCc4nBmTV3eau a0medLQPOm0Ohq9zAdQr5oM0pJkbjlPgBlw83KVF92CkVQWpoNz88DJtCjXxhjm/FGUw 9+bg== X-Gm-Message-State: AFqh2kqllyWI6QOvUOffTtF+PMeK0mtq61PrC18ikEA4AMRZZSG1IgrZ 1mz6pOm4yab25xtEZQ60ZQPAIw== X-Received: by 2002:a17:907:a2cb:b0:870:7b:94db with SMTP id re11-20020a170907a2cb00b00870007b94dbmr17476356ejc.28.1674213148645; Fri, 20 Jan 2023 03:12:28 -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 du1-20020a17090772c100b0084bfd56fb3bsm17667492ejc.162.2023.01.20.03.12.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jan 2023 03:12:28 -0800 (PST) From: Luca Weiss Date: Fri, 20 Jan 2023 12:11:56 +0100 Subject: [PATCH 4/4] arm64: dts: qcom: sm7225-fairphone-fp4: Enable CCI busses MIME-Version: 1.0 Message-Id: <20221213-sm6350-cci-v1-4-e5d0c36e0c4f@fairphone.com> References: <20221213-sm6350-cci-v1-0-e5d0c36e0c4f@fairphone.com> In-Reply-To: <20221213-sm6350-cci-v1-0-e5d0c36e0c4f@fairphone.com> 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 X-Mailer: b4 0.11.2 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=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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755540071905920643?= X-GMAIL-MSGID: =?utf-8?q?1755540071905920643?= Enable the CCI busses that have cameras connected to them. Signed-off-by: Luca Weiss Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts index f0e7ae630e0c..ed0cb70849d3 100644 --- a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts +++ b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts @@ -363,6 +363,26 @@ vreg_bob: bob { }; }; +&cci0 { + status = "okay"; +}; + +&cci0_i2c0 { + /* IMX582 @ 0x1a */ +}; + +&cci0_i2c1 { + /* IMX582 @ 0x1a */ +}; + +&cci1 { + status = "okay"; +}; + +&cci1_i2c0 { + /* IMX576 @ 0x10 */ +}; + &cdsp { status = "okay"; firmware-name = "qcom/sm7225/fairphone4/cdsp.mdt";