Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp415618rdh; Sat, 23 Sep 2023 17:01:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEPcTcQc+wiLk3EvMOmYcUlKv/LB7kF/iM7uwO7lAKlZcB50TxXAQHrGxq5UlonRgFgh72v X-Received: by 2002:a05:6808:8f9:b0:3a7:6213:6897 with SMTP id d25-20020a05680808f900b003a762136897mr3182848oic.11.1695513710623; Sat, 23 Sep 2023 17:01:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695513710; cv=none; d=google.com; s=arc-20160816; b=Kdj7cpb7a1klBMeVcnljWZEpoyeJRoSFjVdpyT2+jubwvvIkQ+hQHllMnHI+j28cNW I10qZr3d99B/lUxp/8PcMQx+Yb601EvmpbYyYtLJXbbY3p/DK9DPeX9m+VdIUIW88n4j jRV/82Q4uw3ESaOaXnbNH7Q7uhqAp5IbAGXw/3dcU7TVa7Fqgo6V7KnJaghahxAFqSZI 0CR7JdzN3ilmea9JBInjfEko/j8f+wCdL/t8Pt1pK/8JrlNXuYfcJMMbf3nZ+HDk6Wvd 3rruex/p/8+n93/TWvps6qM3vTR6J0Nzza7LKs2CmCTf6wg7XZAz9bSBokBjPAt78Sx7 WF5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=e3GPALuMdv79HvlC+hoZ6VG1EHRQP+s5tmU7+XY0FYc=; fh=hvAZyjIoZMeYHdEg6Z+gtZd69Tvva2S3dgpy05ylFOc=; b=kqkAEk45qH/38/TCEMxnGrR0gwhBeMFV2mEhI8RfhMij/RqJydT5zCgmdTeVJkVC23 pU4/rdGLBLWDdL+NjfdpV8BYHzFFXVBNUZ2G1+7EpXuDi4jyhdANuB9Abj3auRCwVphF XhCug+q5wp3G9vohs69gjjePgSFGanLhAonNfs11E1rtlsTQ6pdJUdcyhAwzbrEqzO7g XkMguSrz0CdqafOlePXr1Loo/BXWgghYUC0sxPyCQV7YBcGjnZprbVonorQXRv2bvNNf RtMjTTkoBQUL0s3Fx4xTxeFk8k+f2dWjeOEPuuRCu12qWq3y5lLpeenYVgnpLdLKi0Xm eEmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ClG2By/c"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id r5-20020a63fc45000000b0057744d09d1bsi6922210pgk.251.2023.09.23.17.01.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Sep 2023 17:01:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="ClG2By/c"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 32CBA8374BA8; Sat, 23 Sep 2023 09:14:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231284AbjIWQOC (ORCPT + 99 others); Sat, 23 Sep 2023 12:14:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229868AbjIWQOB (ORCPT ); Sat, 23 Sep 2023 12:14:01 -0400 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D2331A5 for ; Sat, 23 Sep 2023 09:13:54 -0700 (PDT) Received: by mail-wm1-x335.google.com with SMTP id 5b1f17b1804b1-40528376459so38610815e9.3 for ; Sat, 23 Sep 2023 09:13:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695485633; x=1696090433; darn=vger.kernel.org; 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=e3GPALuMdv79HvlC+hoZ6VG1EHRQP+s5tmU7+XY0FYc=; b=ClG2By/cMyY0KjAglM5SgraguMJ4fjqI4WpIKLFw/m70ESSjoCHed024p1Y7RQn8LK ZSy1ogPk2mbjvgo7tXgEC/IbCqpDH+N1tttfuEeSQguGZODhuE1ZMR7UTCpN59/3nkEd zEjLNHoVY4TyeC75ERVOVvKl10rGMZwjX25MITZMy1+UIQGYoToIPupnEk68Pf1SdnRs t7f0Fod2koMOZAHGA7XBgmLUZXNrXPQMVWA4ZMMZ3+buzgVLsWA3JDCy4bmPW56Lg2qm W1Id5258UDm0zmRbGowzNZuvn1tWbtAbfb0HcJ/Arln5ueFbbJLh97OriVJe6kn7Bc83 eVuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695485633; x=1696090433; 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=e3GPALuMdv79HvlC+hoZ6VG1EHRQP+s5tmU7+XY0FYc=; b=Qp7ByvCD7nufPO/gykULOVH5TcXPPoNdtMqXwedhTXUrPTe5CiR0QiQc03F9rhBOjA VRFIoarOizDbRi21B3bCx1Ah4GGEVGDHQfzSm2nYW0Q71LBVeG9Zj7vwaxC8j3ibqg92 mcXeRQVMaYVi1NcY7qxF6a13Rj6hltfvplgIDQipuMVj/iPpywcnzLiR3qCHHYOsKhpV MMBMykdNqZSvKlLvSjsrPs2Pz8qWSEgovxXM6dX0FUkZESEkPZT8wcdxKm6cs+Q7fpFI a8LTxBIgCiQ8FEuWXNHce+vS2nsjxj6r4knEkJOrjYdT7nQnIWSHVLsDhzZpgpwln8dW /Rbg== X-Gm-Message-State: AOJu0YxXXqSNO3I499Yr+mt6mw+W1iN/mg8fJgiOnxOor1L1vPodZHNh l0VZuWAdAFFVBdysgwZJO0U0lQ== X-Received: by 2002:a05:600c:230e:b0:401:be77:9a50 with SMTP id 14-20020a05600c230e00b00401be779a50mr2123760wmo.8.1695485632696; Sat, 23 Sep 2023 09:13:52 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.100]) by smtp.gmail.com with ESMTPSA id f18-20020a7bc8d2000000b00401d8181f8bsm10399974wml.25.2023.09.23.09.13.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 Sep 2023 09:13:52 -0700 (PDT) Message-ID: <2565aa33-619c-6c90-de96-29dc5ac5d961@linaro.org> Date: Sat, 23 Sep 2023 18:13:49 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH 1/4] dt-bindings: clock: qcom,camcc.yaml: Convert qcom,camcc to a single yaml file Content-Language: en-US To: Bryan O'Donoghue , andersson@kernel.org, agross@kernel.org, konrad.dybcio@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, jonathan@marek.ca, quic_tdas@quicinc.com, vladimir.zapolskiy@linaro.org Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230923150045.1068556-1-bryan.odonoghue@linaro.org> <20230923150045.1068556-2-bryan.odonoghue@linaro.org> From: Krzysztof Kozlowski In-Reply-To: <20230923150045.1068556-2-bryan.odonoghue@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=1.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Sat, 23 Sep 2023 09:14:01 -0700 (PDT) X-Spam-Level: * On 23/09/2023 17:00, Bryan O'Donoghue wrote: > Move the various camcc yaml files into one. The Camera Clock Controller > is pretty similar from SoC to SoC. > > Mostly we have some SoCs which require fewer clocks than others. In some > cases we have SoCs which have required-opps and required-power-domains. > > It is likely we could and should extend the thin CAMCC descriptions such > as sdm845 an sm6350 to the more robust descriptions such as sm8250 and > sm8450. > > As a result of listing sm8250 and sm8450 together required-opps and > power-domains become required for sm8250, which is a NOP for the dtsi > since both declarations already exist for sm8250. > > sm8250 is also chosen as the example for the new combined camcc.yaml. > > A minor tweak to fix Bjorn's email address in the Maintainer list is > included. > > Signed-off-by: Bryan O'Donoghue No, that's not the right approach. For GCC and CamCC and all other Qualcomm clock controllers, we split into device schemas, not merge into one. The one schema is just becoming unreviewable over time with multiple if:then clauses. Please use approach like we have for GCC, RPMh interconnects or remote proc loaders - common file. What's more, here you probably don't even need common file because it is already there - qcom,gcc.yaml Best regards, Krzysztof