From patchwork Fri Jan 20 11:11:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 46294 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp138411wrn; Fri, 20 Jan 2023 03:17:28 -0800 (PST) X-Google-Smtp-Source: AMrXdXsQt5gNVwGPkmTZLMdRqTge2X110XNia9M4Xzyzevf0O/kaiu85d2xmDF5gyrzottg0mh+B X-Received: by 2002:a17:902:eb89:b0:194:997d:7735 with SMTP id q9-20020a170902eb8900b00194997d7735mr13465517plg.48.1674213448034; Fri, 20 Jan 2023 03:17:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674213448; cv=none; d=google.com; s=arc-20160816; b=F1PgZf9mN2GZohtjiJ2PJ+/LlqNXOrqYck7WRDoZUvmP/MzsV/CHlHqekmbja6jWF9 HGrAoYImRM2yHf7qL2THum+Fd8gyhRZYLQsiAlT4g1RQ7e6t0JXT19S6FbRLMcetbbbW xdPOmOcvyxaJZi+5HPK6fHRpYz5kYqCDihz/xBzczTGyKWp7QveL7WTRWuBPVyk4iW1n oO9UpEwR7jiz+qHhNLhLaR04NJ7i9ttb89TXsqBfdvTJb8GTCtF5UL5bjVxQNmku1VeU m7QHHWjr48QvtTRpX6FMyOpQBnUsDRgl+E/d097D/f4eWRFdzxZRNHMF8pmauWr0J4fD j55Q== 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=2RXu2CTf5qqejj8lbgLBVRfpf8P5U0FJ4fIWSUv6pnU=; b=WT1+gDo8UZEw7j8VKRvxnpC6pP5A66fccsFrefZzAozHFkOtrZ7URZ8gX+XuUI5kgV WIJQYpDYCec6pF9DmUpP4wqtVgzEGYggbut+SxUpsSlaJV7EsT8qXcbcoPKY9W094JcD BnptUmHYx0uDJYVPeBcSvnHgp9Bl8agE8gBYmdaQIAyVWGQlFzC9XWL9cOu4ZPFYv0JT 4WWe51W3uYuDUv2ouCrMVgBDekwl2xGDcSoZ7oY+Jt94A1MoW8pyJOrRvSCJIp6/b2k1 mnM6VomXAFpVOgtC9Rdbxdd/piPrZhR5Ks1PEtbzJvCpwkytP8GtigKCCCpsEqB288J6 9sfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=stX3538E; 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 a7-20020a170902ecc700b001930ab4c4fesi5633625plh.165.2023.01.20.03.17.15; Fri, 20 Jan 2023 03:17:28 -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=stX3538E; 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 S229906AbjATLMd (ORCPT + 99 others); Fri, 20 Jan 2023 06:12:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39634 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229587AbjATLMa (ORCPT ); Fri, 20 Jan 2023 06:12:30 -0500 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4102AB4E17 for ; Fri, 20 Jan 2023 03:12:28 -0800 (PST) Received: by mail-ej1-x632.google.com with SMTP id kt14so13092939ejc.3 for ; Fri, 20 Jan 2023 03:12:28 -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=2RXu2CTf5qqejj8lbgLBVRfpf8P5U0FJ4fIWSUv6pnU=; b=stX3538Eyi9291zlurX4ljF3jqI6Nr3N2fsHoJKaQLpUcfQldpvxYHSefLVREEOExx 4APxPs1YH/PhmSrTN2jjpLyzyqCkrSURucrwtfX/D0wKIdBJEB4rYCKDldQNCoaCxIdA uG8eUAsO2TGsSfVXgjp/DqbGZXxvEs0WRw1si4jc3HZ0UCqdT+CPQnLKs9I8m/ag82pH 2AuN5pdAwtsZwq+rYT6PtYC4dFZPL+NHm1hEEJGwc4bfo33ZhgAxDmE11RfpOl6i6gfc S3Jpc7Glgfnh6pz/7t+fA7aN5nBJPSRB3SaLP4HzwR7V6iqePM/O3vNPY3szI632bwLK DY/A== 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=2RXu2CTf5qqejj8lbgLBVRfpf8P5U0FJ4fIWSUv6pnU=; b=jS9Lr6/aU/W5YYCgU3Lw0c72DHCgLDSFvjWcQt9REqjKgRkSDCrHbi1nnPHRgzGU0y 18tJN7LPYqN8HMzz9tn75aCOb8xBWNIMC+AIZPyFdpY7ZRsecBL5h5zaoVbSz4GD0u/B WINl4q3hoULYCSu6fINOEcyAPl+2djc8wbIRuX14+WQODt2I6+M4ZCK8gl3fbM5UrGbm 1+lK4kAIQKcfMhUZJo74LadonZNXorY12Kbf7tHuJnWsMHABcsA5uT1I2K4x6+YsQH5v n/qj9AFeQg+WJFOUfntjFXBFMxBc9frrHfhnhbTHpImqhP0uR1j9DND/riUWdVUwmtK9 I6gA== X-Gm-Message-State: AFqh2ko6VD/ls8S4C9WevYARYieZqkR7AYgGBUj/p99lt66S//ATz0ZX /h5dr1ozjzNeAAmbZ74NE+35ow== X-Received: by 2002:a17:906:a0ce:b0:86e:7683:422b with SMTP id bh14-20020a170906a0ce00b0086e7683422bmr13505335ejb.68.1674213146831; Fri, 20 Jan 2023 03:12:26 -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.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Jan 2023 03:12:26 -0800 (PST) From: Luca Weiss Date: Fri, 20 Jan 2023 12:11:54 +0100 Subject: [PATCH 2/4] arm64: dts: qcom: sm6350: Add camera clock controller MIME-Version: 1.0 Message-Id: <20221213-sm6350-cci-v1-2-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?1755540040171266224?= X-GMAIL-MSGID: =?utf-8?q?1755540040171266224?= Add a node for the camcc found on SM6350 SoC. Signed-off-by: Luca Weiss Reviewed-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sm6350.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm6350.dtsi b/arch/arm64/boot/dts/qcom/sm6350.dtsi index 8224adb99948..300ced5cda57 100644 --- a/arch/arm64/boot/dts/qcom/sm6350.dtsi +++ b/arch/arm64/boot/dts/qcom/sm6350.dtsi @@ -1435,6 +1435,15 @@ usb_1_dwc3: usb@a600000 { }; }; + camcc: clock-controller@ad00000 { + compatible = "qcom,sm6350-camcc"; + reg = <0 0x0ad00000 0 0x16000>; + clocks = <&rpmhcc RPMH_CXO_CLK>; + #clock-cells = <1>; + #reset-cells = <1>; + #power-domain-cells = <1>; + }; + pdc: interrupt-controller@b220000 { compatible = "qcom,sm6350-pdc", "qcom,pdc"; reg = <0 0x0b220000 0 0x30000>, <0 0x17c000f0 0 0x64>;