From patchwork Tue Jan 10 18:32:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 3821 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2908710wrt; Tue, 10 Jan 2023 10:39:56 -0800 (PST) X-Google-Smtp-Source: AMrXdXuXCl0LsaFlKblJGd2NetwEtzNUO1hlYSg0QOuNPVR7nmqSMC4q5bKYbvS1SiULCLxM2sGi X-Received: by 2002:a05:6402:1caa:b0:46c:2c94:d30a with SMTP id cz10-20020a0564021caa00b0046c2c94d30amr55766878edb.31.1673375996078; Tue, 10 Jan 2023 10:39:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673375996; cv=none; d=google.com; s=arc-20160816; b=F1nYpK+/+idVegR9H5qkKicWoN/QlFz8pYnkKe7JLDY59QK1MOKKu0ZMIB4IxQ/hEq ej02WpyU3zmrcn/PxTsUD8IADIJlcrgd9XU3qWcvkSmLnb84WaydDxbrYf0S6KpVi11F aF4ocbHtNTgWP4efUcCPPrLDBWYhfeGWbr5bCIkK4YnYkDzBvYy3RKhmKmT9AemAKndP jrpXJXDSStV75n/ulR5PkVYe/K72DRCtDtD3a60/haNo5xll0p9Fvjk4Jf3Z5zCeRzSZ eqYLnRq/7RusPBWQAqCKoXp3Bsv1ZHmIbtYy/zFtOHs7x3W5zEapJC+E1DGk1gKbv8p9 v49w== 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 :message-id:date:subject:to:from:dkim-signature; bh=Tl8lBWv7buHCR9gMhXnIz+zvhX/T9gnX9dlIEfcocLw=; b=gfyi39zCc+Dm8Bppp5/Kf/pZ06mCH4HDe05vDJB7/ke59k+KnVh2bcrPD5shBTKmEN vXnWvVSSwf/T9PEAMWe16iqEVrBlvNQI4MoGiFmdT4jkRSxJl/WEh8ibeQ9ZDAITCWfI 18h5lF2l3Y+fvYUJ66m+zAB2AJ3K4I9oSAdKtxMAYZF4/IOKbtc5elUiiVHB4XfL29TV TPIELled5pdE+OqzjFoXtTESawcbhIHTaDHDzkyqqRP0WbCjCkJNQAQBHoVsfHxk30KE W4UZQcd4aQOoU913QsbnIgUtmyOmJ4X56zupSv311+E0vMjRRdI+oGVbCcJIyuSK7tMr 12yQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="Q/skHsxH"; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g26-20020aa7d1da000000b004764be0b8f8si10849333edp.424.2023.01.10.10.39.32; Tue, 10 Jan 2023 10:39:56 -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=@gmail.com header.s=20210112 header.b="Q/skHsxH"; 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 S239610AbjAJSjM (ORCPT + 99 others); Tue, 10 Jan 2023 13:39:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53920 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239532AbjAJShx (ORCPT ); Tue, 10 Jan 2023 13:37:53 -0500 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6394C983FC; Tue, 10 Jan 2023 10:33:08 -0800 (PST) Received: by mail-wm1-x32c.google.com with SMTP id i17-20020a05600c355100b003d99434b1cfso10826643wmq.1; Tue, 10 Jan 2023 10:33:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=Tl8lBWv7buHCR9gMhXnIz+zvhX/T9gnX9dlIEfcocLw=; b=Q/skHsxHvgm7rQBUYu43CLugTzLuL2JZiUMS8bMUgbf923x73PqUYoUrp/NHYPlIsi HnItvWvSWaT/XxaSu2tvlfu3oWv+IQ3kXKsN7yCTYBfZjYC0VBc8AYy8HNv066Dg27f+ rElNAh8n4wbS7vPFXSLOOJ0R7M9PUWG+j7U1shlXkfAoGJ7VQJxpB94V8Bt8VUwOGutk iE81B4UzjgFBDt8Jq+PUs35UxRvEA9nCxFV4bIG//Gv8rhrhEMVXqgjzU1iU6oH82V5T RTzutAAkjyvT+nud1DzpCK7ho1vcw92FABtrUCcZJZZkU3Cmp06UJXaXn2T8/s2ZsbvW A9gA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Tl8lBWv7buHCR9gMhXnIz+zvhX/T9gnX9dlIEfcocLw=; b=r4nGDtvTeCIArQ9IxM785s8sPDd8WI2EgAVLTRaObUIzJSAML1xNyMw/mGrtUuBQdt vFM3f9ko+nGipLvgA5BhdxDq+ycPv2rEdTQh85JEwHHRGR2XaGbXnN8Sq7C2Dye4sSrF HAPQJq3/djzs9R8i83JSUfFAQD4+ggefODm2uxreYPHkmRczW6IxIsGaHHpm3HDVFSZ+ D3Xv+te5DPVmMHrvXneEk6cT7WIssp4iygj8s68hOJuSiMu/QsXUXHH1JP7QAPDV4hXU nKlDFmvMhck+wThrqDB53KaHx7oB/mSfcJHuHJOc/7+X9LlpVQg8IA+jLuDQ+LdbrK2S BHDA== X-Gm-Message-State: AFqh2koYS0QOiSO3/sPnVIZhJrhwMd6upabi2zQzdzxy/aWk/RST9zrB 6rnaqEFIKnBFufOWVNEPNFs= X-Received: by 2002:a05:600c:3d12:b0:3d2:392b:3165 with SMTP id bh18-20020a05600c3d1200b003d2392b3165mr49651677wmb.12.1673375586760; Tue, 10 Jan 2023 10:33:06 -0800 (PST) Received: from localhost.localdomain (93-34-92-88.ip49.fastwebnet.it. [93.34.92.88]) by smtp.googlemail.com with ESMTPSA id r126-20020a1c2b84000000b003d35c845cbbsm19927757wmr.21.2023.01.10.10.33.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Jan 2023 10:33:06 -0800 (PST) From: Christian Marangi To: Rob Herring , Krzysztof Kozlowski , Andy Gross , Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Christian Marangi , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH v6 0/6] Krait Documentation conversion Date: Tue, 10 Jan 2023 19:32:53 +0100 Message-Id: <20230110183259.19142-1-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.37.2 MIME-Version: 1.0 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754661908677178514?= X-GMAIL-MSGID: =?utf-8?q?1754661908677178514?= This series convert the krait-cc and the kpps-acc/gcc Documentation to yaml. This series comes form a split of a bigger series that got too big and now hard to review. While they are still more or less wrong and doesn't really reflect real driver implementation, they are converted to prepare for a fixup later when dts and driver are finally fixed. Minor changes are done to the kpss-gcc driver and minor fixes are done to the various affected dts to fix dtbs_check warning with the new introduced schema. Also fix kpss-acc dtbs_check warning. v6: - Split kpss-acc to separate v1 and v2 schema (thing changed from simple clock controller to a power domain in later SoCs) - Fix whitespace error (extra new line at the end of the file) - rebase on top of linux-next/master v5: - rebase on top of linux-next/master v4: - Fix error from kpss-acc schema - Fix dtbs_check warning from kpss-acc - Improve kpss-gcc for apq8064 v3: - Update all Sob - Rework kpss-gcc Documentation with the new finding - Fix dtbs_check warning v2: - Fix bot error by adding missing #clock-cells Changelog for previous series "Modernize rest of the krait drivers" that was split to smaller series (only Documentation changes): v7: - Rework kpss-gcc Documentation (split patch for pure conversion and tweaks) v6: - Address comments from Rob - Fix warning from make dtbs_check v5: - Address comments from Krzysztof v4: - Fix more dt-bindings bug errors v3: - Split Documentation files for kpss and krait-cc v2: - fix missing new line on patch 16 (krait-cc patch) Christian Marangi (6): dt-bindings: clock: Convert qcom,krait-cc to yaml dt-bindings: arm: msm: Convert and split kpss-acc driver Documentation to yaml dt-bindings: arm: msm: Rework kpss-gcc driver Documentation to yaml ARM: dts: qcom: fix various wrong definition for kpss-gcc node ARM: dts: qcom: fix various wrong definition for kpss-acc-v1 ARM: dts: qcom: fix various wrong definition for kpss-acc-v2 .../bindings/arm/msm/qcom,kpss-acc.txt | 49 ----------- .../bindings/arm/msm/qcom,kpss-gcc.txt | 44 ---------- .../bindings/clock/qcom,kpss-acc-v1.yaml | 72 +++++++++++++++ .../bindings/clock/qcom,kpss-gcc.yaml | 88 +++++++++++++++++++ .../bindings/clock/qcom,krait-cc.txt | 34 ------- .../bindings/clock/qcom,krait-cc.yaml | 59 +++++++++++++ .../bindings/power/qcom,kpss-acc-v2.yaml | 47 ++++++++++ arch/arm/boot/dts/qcom-apq8064.dtsi | 21 ++++- arch/arm/boot/dts/qcom-apq8084.dtsi | 12 ++- arch/arm/boot/dts/qcom-ipq4019.dtsi | 12 ++- arch/arm/boot/dts/qcom-ipq8064.dtsi | 12 ++- arch/arm/boot/dts/qcom-mdm9615.dtsi | 2 +- arch/arm/boot/dts/qcom-msm8660.dtsi | 2 +- arch/arm/boot/dts/qcom-msm8960.dtsi | 13 ++- arch/arm/boot/dts/qcom-msm8974.dtsi | 12 ++- 15 files changed, 334 insertions(+), 145 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/msm/qcom,kpss-acc.txt delete mode 100644 Documentation/devicetree/bindings/arm/msm/qcom,kpss-gcc.txt create mode 100644 Documentation/devicetree/bindings/clock/qcom,kpss-acc-v1.yaml create mode 100644 Documentation/devicetree/bindings/clock/qcom,kpss-gcc.yaml delete mode 100644 Documentation/devicetree/bindings/clock/qcom,krait-cc.txt create mode 100644 Documentation/devicetree/bindings/clock/qcom,krait-cc.yaml create mode 100644 Documentation/devicetree/bindings/power/qcom,kpss-acc-v2.yaml