Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp3957625iog; Tue, 21 Jun 2022 09:09:21 -0700 (PDT) X-Google-Smtp-Source: AGRyM1twx5tou/AQTe8O3ACAGKeoZgpdprxVniMiF3y5bAiPnn/FSIJKam6SwuHQS+uYty7NwyUs X-Received: by 2002:a17:90a:d148:b0:1ea:4e16:545b with SMTP id t8-20020a17090ad14800b001ea4e16545bmr45042544pjw.132.1655827760812; Tue, 21 Jun 2022 09:09:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655827760; cv=none; d=google.com; s=arc-20160816; b=K2PZHtlhVl5fVrTPv/wVvnVMENnQ65InFjU+uWEXtjsn4m7jUeiAn2UIdf0KNpJHX/ BvRmOvRdjjFTsDqPAKcg9mnEMfLoXvaBL+JET4JKXM2P4aC95xF9sRLERv62laoiWziz oj+657GvYjB/Y9y2ITM6Subi4UAZustFiob/dYIc6uUUv3g7J9xUxZLfVzB9n8ohCMC9 KvoPeYzyOpR1z4gktuxIIt/JNsa0OqK+vI5JA1nj5mFhApRnR6am49uUz9QilaEezkat BgU72AeND5s5xl8k29n+FIJDSd93nD8wcP2dZTo5w3hsC+RbIoYrVJe8mQZrb+9Z/YFV A+aA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Ogkf5Ukl+CuQggmQ823HfWD79KHuQNHGRJztDxCaGzE=; b=co/gBO/IAa/EFXmoPFryamYCV5g2NK/LoXEKbHaDZR9TjWWjfHoP5hqqfGykIP+Pbv C8UjFkKGpdaOi5rObcLMqgbzyh7V6OaItSob98zbSzAjP2QhEopJu+jsljdN7bkIXaet FaurV1de6De/zVmGT5+ctdhEPmTd6NUwOZC6ZDyrJSrDoZ4bYe+LYMeyPkE2J+MzTGqg XoJkD42LLmh/OIiDDgSHrik78S1+T26dMO8vEZHkMeXb9vQBWYEz/dGQMp2AxiYVkTWg P5An4AN6dtuY8PU2QKq4TsiyKtsP4HA2MyUnP+EThB46h3dmR/y/2mDTVQi7JjAlWB8x DScw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=eaSpaNHx; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q21-20020a170902b11500b00168906eca30si2397613plr.441.2022.06.21.09.08.59; Tue, 21 Jun 2022 09:09:20 -0700 (PDT) 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=@gmail.com header.s=20210112 header.b=eaSpaNHx; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1353696AbiFUQHk (ORCPT + 99 others); Tue, 21 Jun 2022 12:07:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54368 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353686AbiFUQHe (ORCPT ); Tue, 21 Jun 2022 12:07:34 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E5DA363B4; Tue, 21 Jun 2022 09:07:32 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id eq6so12694308edb.6; Tue, 21 Jun 2022 09:07:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Ogkf5Ukl+CuQggmQ823HfWD79KHuQNHGRJztDxCaGzE=; b=eaSpaNHxFzndeLG8tpbkAL3av5yuAtZYrV0DBIA04sgfEyJVlLvxqfbSxbfUUivFZv 2hGbJL7Iu2KkANliMScg7r3NDNHAAOwdSHqgbyBuSM6w+DyTYkLf3G/grZo+YXdNKBlr giYSrMp9RA2N3HTBr7iJr+6jpVsKNlb25MPliZvzDRuKQbIlI3cEQRLbleY6saJNPCKu 1JsIPX3ochF+9C2cw+Qw4VQlIABNPWs8UQJxgopgJxsR2VEo1GVstSAZUMOm+wOINwad IHf0mw+NpXP+AXoNhg7frOrlpZUEOlwNFHamPx4K8cyMJDbHFfJRzMOZQImnVCesMAeC 6Xbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Ogkf5Ukl+CuQggmQ823HfWD79KHuQNHGRJztDxCaGzE=; b=mhqN8PZp60IxP213Xsli4VgJZaKkbYHAWG9EjJm0j39ApQHDy5M+/uJEArUdVppB7y L9hvETGWCq3ONXbOWSgSAK1ReuJZ8ktDjYhtV8CHBH0GJ7+LB85R0Z1Nt5sEOZse1GBK QMGlEpRLUIkgbNbR6YApIhHxuvDOaww8exd99sNeEi7GhMd7qf1R5By9idU2KkHgwZGr eiE5szsIMAXPSSamFJhAHQq4rDr/kZX+1QovWe4vnk2BZVU7FcDW31BgQ14rSj3wQv/e C8Kv6Qjn9VIPEk443+Pd+69LlsjgPQP55N8+Wv2jL/6qRKk0Jj1OhTYIt//krNF6HHQL E7Fw== X-Gm-Message-State: AJIora/SkghBIctSitFDMgtMAJ3UB7tmbt9hLESwT8xeMrHzntcsiC/s i5GazMX4dCROzgyodtk+FK8= X-Received: by 2002:a05:6402:1774:b0:435:7fea:8c02 with SMTP id da20-20020a056402177400b004357fea8c02mr14085854edb.213.1655827651406; Tue, 21 Jun 2022 09:07:31 -0700 (PDT) Received: from localhost.localdomain ([185.107.57.61]) by smtp.gmail.com with ESMTPSA id p6-20020a17090653c600b00722e0b1fa8esm1772943ejo.164.2022.06.21.09.07.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jun 2022 09:07:31 -0700 (PDT) From: Yassine Oudjana X-Google-Original-From: Yassine Oudjana To: Andy Gross , Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Loic Poulain Cc: Yassine Oudjana , Yassine Oudjana , Dmitry Baryshkov , Konrad Dybcio , AngeloGioacchino Del Regno , Martin Botka , Marijn Suijten , Jami Kettunen , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 5/6] dt-bindings: clock: qcom,msm8996-apcc: Fix clocks Date: Tue, 21 Jun 2022 20:06:20 +0400 Message-Id: <20220621160621.24415-6-y.oudjana@protonmail.com> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220621160621.24415-1-y.oudjana@protonmail.com> References: <20220621160621.24415-1-y.oudjana@protonmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 From: Yassine Oudjana The clocks currently listed in clocks and clock-names are the ones supplied by this clock controller, not the ones it consumes. Replace them with the only clock it consumes - the on-board oscillator (XO), and make the properties required. Signed-off-by: Yassine Oudjana --- .../bindings/clock/qcom,msm8996-apcc.yaml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/clock/qcom,msm8996-apcc.yaml b/Documentation/devicetree/bindings/clock/qcom,msm8996-apcc.yaml index a20cb10636dd..c4971234fef8 100644 --- a/Documentation/devicetree/bindings/clock/qcom,msm8996-apcc.yaml +++ b/Documentation/devicetree/bindings/clock/qcom,msm8996-apcc.yaml @@ -26,22 +26,18 @@ properties: clocks: items: - - description: Primary PLL clock for power cluster (little) - - description: Primary PLL clock for perf cluster (big) - - description: Alternate PLL clock for power cluster (little) - - description: Alternate PLL clock for perf cluster (big) + - description: XO source clock-names: items: - - const: pwrcl_pll - - const: perfcl_pll - - const: pwrcl_alt_pll - - const: perfcl_alt_pll + - const: xo required: - compatible - reg - '#clock-cells' + - clocks + - clock-names additionalProperties: false @@ -51,4 +47,7 @@ examples: compatible = "qcom,msm8996-apcc"; reg = <0x6400000 0x90000>; #clock-cells = <1>; + + clocks = <&xo_board>; + clock-names = "xo"; }; -- 2.36.1