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 E53B6C61DB3 for ; Fri, 27 Jan 2023 13:56:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233429AbjA0N4z (ORCPT ); Fri, 27 Jan 2023 08:56:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233365AbjA0N4w (ORCPT ); Fri, 27 Jan 2023 08:56:52 -0500 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F06F7C719 for ; Fri, 27 Jan 2023 05:56:50 -0800 (PST) Received: by mail-ed1-x536.google.com with SMTP id v10so4785444edi.8 for ; Fri, 27 Jan 2023 05:56:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=yXA46BdA2s0F2yreUEYFr6AiDGQqI1YBsrC9BTQ1VjY=; b=B5tnFz61tRu/w0bu3UUA6g2CJbLy6qum2pJHpXh/UqrC+3aXQtkWnKBUvNcH+qQb3w F3nRhVHNflBWo1/L9jwe5S6TzQ7+/Ze3X5HCUnlynOtmyf3Jf3rWc39HGojfwz/tqEw5 b6qtJNIs4CWtYLNAuxOLDylJEcNfIo0nsivOxG9NUAodn068NachewhCLgzyOdv+yp1L mD2n+1fI2pvhUDxzFVOb69JdqGvxxg5hV7lMPNFgWgwnBi+dvfCwWhF8RGG/sZrzfxu5 3F/KtdkAGfqSk2iQcYnfnw95eQLVp+tqUxPhsKQfq9HbiBoRTESpV+RMNRdWqNs9SGrA rPzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=yXA46BdA2s0F2yreUEYFr6AiDGQqI1YBsrC9BTQ1VjY=; b=3Bf7qKHSkwYQf9aX6pQ9S4DO1UbtOZ+131jfr3PTT2ke0H/v6VOa+wl6A+5okWKj9R aQlyvRDmg/bslt9iEPOQwWxWJWCw6/KX72gcwIjuQq5Z6nqcteqErWezbILCMAnApewo 3md3RfMwaMPXWEAtWC93pfc0Dmnc+jI+G+zWgEkYGnr4CVCHZEdzVTB0mDXoGBijbesi RpHLuXx5A8AU3kOGSUbBUAqy+lLnED4bRaeae9RPlccS6b/xvrwvCoHXfXATOsIeMvSA Oif1oMShxsJjgwIlAK1b1JKKu6Vvm/wcHFZ2//1BvPEQaBWxfUwzNmay30tVZYvuOiPq 0Xjw== X-Gm-Message-State: AFqh2kr0HZFNvrAaiVjR6rfyT1Uvyfl9HgoDOZQOvtmmki6XHYUqtg/W ny2jEyIv7lEkKplGbbEbI1w0KQ== X-Google-Smtp-Source: AMrXdXuwhrwldFsvH3ia+JZ4iUQf2dgKsJOxomlz5XN6l+4R/avTB57m49f1J8bn5L0CNVp+46p3uw== X-Received: by 2002:a05:6402:5110:b0:492:846d:e86d with SMTP id m16-20020a056402511000b00492846de86dmr52421707edd.23.1674827809163; Fri, 27 Jan 2023 05:56:49 -0800 (PST) Received: from [192.168.1.101] (abyl20.neoplus.adsl.tpnet.pl. [83.9.31.20]) by smtp.gmail.com with ESMTPSA id y8-20020a056402134800b004610899742asm2344343edw.13.2023.01.27.05.56.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 27 Jan 2023 05:56:48 -0800 (PST) Message-ID: <7456978a-47ce-2e8d-e030-2917da992c34@linaro.org> Date: Fri, 27 Jan 2023 14:56:46 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.0 Subject: Re: [PATCH v2 2/4] arm64: dts: qcom: sm6350: Add camera clock controller Content-Language: en-US To: Bryan O'Donoghue , Luca Weiss , Bryan O'Donoghue , Andy Gross , Bjorn Andersson , 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 References: <20221213-sm6350-cci-v2-0-15c2c14c34bb@fairphone.com> <20221213-sm6350-cci-v2-2-15c2c14c34bb@fairphone.com> <3ae863df-3260-4863-d88f-da4d3f442174@linaro.org> <2989138a-8f4b-50a0-3e90-98b6785f2690@linaro.org> <951e4459-6d98-f083-1dd9-fc0b12e53c96@nexus-software.ie> From: Konrad Dybcio In-Reply-To: <951e4459-6d98-f083-1dd9-fc0b12e53c96@nexus-software.ie> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27.01.2023 14:54, Bryan O'Donoghue wrote: > On 27/01/2023 13:11, Luca Weiss wrote: >>> Doh I meant to say a power-domain to an mmcx a la >>> >>> power-domains = <&rpmhpd SM8250_MMCX>; >>> required-opps = <&rpmhpd_opp_low_svs>; >>> >>> TITAN_TOP should be in your cci and camss dt nodes. >> Okay, that makes more sense. >> >> What I don't quite understand is why sm8250 only has MMCX listed there >> since downstream has both vdd_mx-supply = <&VDD_MX_LEVEL> and >> vdd_mm-supply = <&VDD_MMCX_LEVEL> and both "supplies" are used for >> different clocks using .vdd_class > > power-domains = <&rpmhpd SM8250_MMCX>; == MMCX_LEVEL required for camcc > power-domains = <&camcc TITAN_TOP_GDSC>; required for cci/camss > > now that you ask the question about MX_LEVEL you're making me doubt we have a 100% complete representation upstream TB perfectly honest, warrants a deep dive.. > > I just remember that on 8250 we tripped over MMCX not being switched on when - display I think was switched off. There's no MMCX on 6350 and MX is a parent of CX, so if we just stick CX here and add the lowest level to required-opps and add corresponding PM ops to the clk driver, it'll all be taken care of! Konrad > > --- > bod >