From patchwork Fri Oct 21 09:06:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 6588 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp580226wrr; Fri, 21 Oct 2022 02:12:39 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6IvJl9+ouJD6LjdbpAdYvzHoTfTL1pgRC/irZYISqw/3joC/KZ/FjgCCj1YabC7bdqo7WQ X-Received: by 2002:a17:90b:164b:b0:212:d06c:9590 with SMTP id il11-20020a17090b164b00b00212d06c9590mr2076120pjb.198.1666343559475; Fri, 21 Oct 2022 02:12:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666343559; cv=none; d=google.com; s=arc-20160816; b=xI34rK+qv+Lai22ci2KVvNo3+PwHB0RE2+ZC4xms0RWK2VI8d9qxbPJmYskG4RMuKQ 3/6Ez2X26kS6FWtycCcutLTeOunknjj0lGXMrAlcAfOuROY/RBX6hibFWNs4wMhSLQKj 2HlsV9lfjP84Bqpq1CszG+mpmDYIeV1z6GjkYstHBQrK0IM5RWr+zqUjITmA+fjE0I1q ryIGTg0rCTa2cunHcvTPj7usk1NZxpY566ddPdwqKnGqgoypjVyYmwvdnZf4n4grREva jhCZwSRt7Mdq0maVF3pNIsoiKGgJz5bWJCJ2sJD45WTrhxL49aMnKsMMSw+Fc+WB1udF tw/w== 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=JEMkL9tW27qh7qB7z1dOyn6IVj+P4lSJ9BRc/xcD6yA=; b=N6H20pL5Hmk07NmMOOCH3OudtQltLDe7qm/WErlm12mpRXVz654TfM2h1LVnlefJnr XrB7kIgRqWeYqxl02m4mY1tYnt+iRXw3APHfDLk/ZPC5QnDfaIxU0HCSlK6pzA66oPGR FYwtKZX5eR7WQ97cX8KmAr2GUwn+2d9QW0rheitcbf3pvPmf1M8w6MRvSfAbHYz20UDM mWE1neigasFl9pkFgZ1rukoD4vSAdeRPKHjok1uDDsvSa6fgrP9+33gpA0AN606z9coZ phmMRyh9lgQmIh7P8+bz6tKupsC0JofRMCJkFhSftnQa8RzONf64wnpBiwirbTypmMSB Ggsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Fdv0tSfx; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h185-20020a6383c2000000b00460fbf095b6si22977882pge.562.2022.10.21.02.12.27; Fri, 21 Oct 2022 02:12:39 -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=@linaro.org header.s=google header.b=Fdv0tSfx; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231195AbiJUJJG (ORCPT + 99 others); Fri, 21 Oct 2022 05:09:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230497AbiJUJIx (ORCPT ); Fri, 21 Oct 2022 05:08:53 -0400 Received: from mail-wm1-x32f.google.com (mail-wm1-x32f.google.com [IPv6:2a00:1450:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 294681A3E0F for ; Fri, 21 Oct 2022 02:08:51 -0700 (PDT) Received: by mail-wm1-x32f.google.com with SMTP id bh7-20020a05600c3d0700b003c6fb3b2052so1563547wmb.2 for ; Fri, 21 Oct 2022 02:08:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=JEMkL9tW27qh7qB7z1dOyn6IVj+P4lSJ9BRc/xcD6yA=; b=Fdv0tSfxqc9lFn2vsyEpLqH/mIfo2xlGI5ESruFQWGS2H4h4Xve67qskhiUC4vkAOL jp9s3CL7OL9VFHy8lrK8VXN/6vbZ9+PFl7l5oHsPgS/DH8z7Df70OdRyyEezSH/OWx5V LgfO2hCylr060TxHJUkGlMlcF+Dec01lMALbEAItXTNTExjXlSUGvZlkmPjwX+YeAtgc SIUxTSEkdTv/+OgA8IZw9IK9CcZ7Eb8EwahdRV/oR/NrkkaeK4/tx5ziPO4acSk4kQp8 m+nE4brnCJiwik/WmeBNLPzgbQul/9ZHOlT5SKBV9+pUl570jgvOh2YOjfXEUYV2xUPp Lobw== 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=JEMkL9tW27qh7qB7z1dOyn6IVj+P4lSJ9BRc/xcD6yA=; b=SM4kl3LOIOrVjHzxfeKl8imv6ILNb777JUJOdc+L02IgONSw4XN2HTAD7cC1uJJAQ5 1sFUqmdiH1nbG9Ea6PEtAvHvSrGRYhP4Gg2p6UYxZR/sHvrhNEGpRAgemgKAJRR6c5r+ qTKFZ/1SQ5Wmu6F0ZaJjuVX+cfXeu/yJXW2zuc+WhYlvCClTF+xEnZciw8lyEmYxBgcq 93hnRvEZudttJT5oJh09KI02CpO4X6fA8BHwhw9VGAEPoqk1iW40uJiipGFdUqKHEtvy KQszA5WdA+xwaPVzi6IBbJzz2lrK8pKWTw3+1u9SwgV7YtkJbifwdNJSOmmS+x+7ctnk kSEQ== X-Gm-Message-State: ACrzQf2IhK62D+seXxsmShVt6w5sTIiyZLj/TogucffAQc94SBAFBwNF x+0V7sZ3EOQIiICJig6idHg35Q== X-Received: by 2002:a05:600c:3c8e:b0:3b4:d224:ae27 with SMTP id bg14-20020a05600c3c8e00b003b4d224ae27mr12509297wmb.187.1666343329602; Fri, 21 Oct 2022 02:08:49 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id v10-20020a05600c444a00b003c6f27d275dsm2230286wmn.33.2022.10.21.02.08.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Oct 2022 02:08:49 -0700 (PDT) From: Neil Armstrong Date: Fri, 21 Oct 2022 11:06:37 +0200 Subject: [PATCH v4 01/11] dt-bindings: arm: qcom: move swir,mangoh-green-wp8548 board documentation to qcom.yaml MIME-Version: 1.0 Message-Id: <20220928-mdm9615-dt-schema-fixes-v4-1-dac2dfaac703@linaro.org> References: <20220928-mdm9615-dt-schema-fixes-v4-0-dac2dfaac703@linaro.org> In-Reply-To: <20220928-mdm9615-dt-schema-fixes-v4-0-dac2dfaac703@linaro.org> To: Bjorn Andersson , Satya Priya , Lee Jones , Krzysztof Kozlowski , Rob Herring , Konrad Dybcio , Dmitry Torokhov , Alexandre Belloni , Andy Gross , Alessandro Zummo Cc: Bjorn Andersson , linux-input@vger.kernel.org, linux-arm-msm@vger.kernel.org, Krzysztof Kozlowski , devicetree@vger.kernel.org, Neil Armstrong , Rob Herring , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 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,URIBL_BLOCKED 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?1747287864401554592?= X-GMAIL-MSGID: =?utf-8?q?1747287864401554592?= Document into the main qcom.yaml as conversion from swir.txt to dt-schema. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/arm/qcom.yaml | 6 ++++++ Documentation/devicetree/bindings/arm/swir.txt | 12 ------------ 2 files changed, 6 insertions(+), 12 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml index 1b5ac6b02bc5..0a9a1dc68c1b 100644 --- a/Documentation/devicetree/bindings/arm/qcom.yaml +++ b/Documentation/devicetree/bindings/arm/qcom.yaml @@ -265,6 +265,12 @@ properties: - qcom,ipq8074-hk10-c2 - const: qcom,ipq8074 + - description: Sierra Wireless MangOH Green with WP8548 Module + items: + - const: swir,mangoh-green-wp8548 + - const: swir,wp8548 + - const: qcom,mdm9615 + - description: Qualcomm Technologies, Inc. SC7180 IDP items: - enum: diff --git a/Documentation/devicetree/bindings/arm/swir.txt b/Documentation/devicetree/bindings/arm/swir.txt deleted file mode 100644 index 042be73a95d3..000000000000 --- a/Documentation/devicetree/bindings/arm/swir.txt +++ /dev/null @@ -1,12 +0,0 @@ -Sierra Wireless Modules device tree bindings --------------------------------------------- - -Supported Modules : - - WP8548 : Includes MDM9615 and PM8018 in a module - -Sierra Wireless modules shall have the following properties : - Required root node property - - compatible: "swir,wp8548" for the WP8548 CF3 Module - -Board compatible values: - - "swir,mangoh-green-wp8548" for the mangOH green board with the WP8548 module From patchwork Fri Oct 21 09:06:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 6590 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp580406wrr; Fri, 21 Oct 2022 02:13:09 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5cbcYXuWqcl7zkLaYKL1z34KvA95nT/Jzd+heJrClFDav+sRt9AlLSTBK4fsEPymTe8vjs X-Received: by 2002:a63:2a97:0:b0:457:23e9:586d with SMTP id q145-20020a632a97000000b0045723e9586dmr15461589pgq.190.1666343588883; Fri, 21 Oct 2022 02:13:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666343588; cv=none; d=google.com; s=arc-20160816; b=0bNHUGK3saH432iUvg7V37ClYX+eYwMaae4YfzUPdtZU/o+voTWvLRV9GMhtqz5Fxe wzZ7ahAXJ9jUfmp66Eo9GzPC8Y+U8Q5aTWUlNrDIf2ryqCSgyp4hDdiDwy8jfcSqJEeS oQmkmHphvV936LxVVvMmkgWLkODHaPIQof2/XGuDgtQBLDTVuwmkP1fNcuLVmZZxLJYf J2LPj4RyL/TrIK4lvYZuPrYWQ0uDFswgme2hxRUuUCF+q/MJRzTR+7eV62Q5ZH0dChjj dDU6ylA0mxcie2ycZ/hdfzL2vQAVylfL/TGct6wqXz5NOzQ7NWj8gjOkztKtdHMgQklC W6Xg== 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=3jGH8ShpSvM4fJPWi2qzTFrUhxPlC/YaNErc3+Gzxss=; b=bn0KUDwtwoPVQjOATCOJW90Oosb/mAc6ATc0G0v+uLnrtadP62STAQnQy4n9uLiz2h RJcFBsDjKp2kXlS8pxjbZz1cTgadkZ9s4F7EF1rpxQVXWIa2VJxYLNRIMXM8Uzg3TLFG 9BkNUkPNidYUalacKUYInLmxlOFyN/5ApHj7org4u7I0O67IGU/+V+42AFIaIDoc63ZC ZEJfRXz2Pwh9wSeWPFe7OSb/5pvKDgCVLkfytizXj41j4oc/oiEG3EU19j4Y4xfLZR3t cLhaB5gi31tN4esRFtSFLp59jPeWO1+Qxy4yEAVDmWEhRETkg+Jd60N3kOU3FQzYu1B4 +8mQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h3Jdljk6; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n10-20020a170902d2ca00b0016f1eb1317esi28126028plc.471.2022.10.21.02.12.52; Fri, 21 Oct 2022 02:13:08 -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=@linaro.org header.s=google header.b=h3Jdljk6; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231147AbiJUJJJ (ORCPT + 99 others); Fri, 21 Oct 2022 05:09:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230505AbiJUJIy (ORCPT ); Fri, 21 Oct 2022 05:08:54 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 310671A3E14 for ; Fri, 21 Oct 2022 02:08:52 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id n16-20020a05600c4f9000b003c17bf8ddecso3706231wmq.0 for ; Fri, 21 Oct 2022 02:08:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=3jGH8ShpSvM4fJPWi2qzTFrUhxPlC/YaNErc3+Gzxss=; b=h3Jdljk6vas626Kyk048vO72MwxyC7ZlBenG9LNiQ/pIduDmOjl10oeTQoIGOJX4cn 9DZlwF78EBgd8X8Hf8iy3e6ozbnL6Srmmq4zQW8ybYyrWSvGmxcSqlXj53xvTjo54ZEm 2Eoi2FHHKqUpxnz6kF4gJP6B7FZdhMBqKBLEquLA7CoiU/ujS3NT1BHslFCIMOL20RJq nQj1CH4LRYGBpIVSkOig6AfMWdfmVao0oXHqY0X6vPB6ObzocKF12BnlMhUgaO340xSM t7tNHrOGWo3Lj96LTXGlqxqFV59QqSYhtfCeo7Pmi6wYPx/FZK8WhhM67IqYOLPa82Qc zLWg== 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=3jGH8ShpSvM4fJPWi2qzTFrUhxPlC/YaNErc3+Gzxss=; b=L5t3T81T+37HSO4ymiu9slUihp2tpqbTgIfJbT/LP1NgILh05ZNcY9j7gZpA89Eu39 SWGQ6kUnWa8k1Npj5iVV/9LnDLWqqBB0T395FC+yggCELZYRD4jd6kXjL7lvl5dMaMlp Y+8HGHbczUl9KEBBWMmM/j8e+QDBTGTYf/Y/AtKSJPoESIkEe9EluD+ImrYx6T2PuZol 2zSSXnROI8SvS0PrCPs9wcpxDdHEneiFc7ovKeQwdQoiB+rR4UGq244jvch4e3Q0oybB VsbT+SUb/Eks1LRyCNrl/4bPrKhlaP1Vp6xf7fpDFY7n55heQjF3La9RqozKtrV49riU 2a8A== X-Gm-Message-State: ACrzQf3g98y03Dr3Gs6F/FSfopXIC08U8rLjiKpNLhitLkYfdw+1FA4O fJOk2ZEqgmJv0Vw/IyQ5mfo81Q== X-Received: by 2002:a7b:cb8b:0:b0:3c5:9825:6f01 with SMTP id m11-20020a7bcb8b000000b003c598256f01mr33700181wmi.156.1666343330503; Fri, 21 Oct 2022 02:08:50 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id v10-20020a05600c444a00b003c6f27d275dsm2230286wmn.33.2022.10.21.02.08.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Oct 2022 02:08:50 -0700 (PDT) From: Neil Armstrong Date: Fri, 21 Oct 2022 11:06:38 +0200 Subject: [PATCH v4 02/11] arm: dts: qcom: mdm9615*: add SPDX-License-Identifier MIME-Version: 1.0 Message-Id: <20220928-mdm9615-dt-schema-fixes-v4-2-dac2dfaac703@linaro.org> References: <20220928-mdm9615-dt-schema-fixes-v4-0-dac2dfaac703@linaro.org> In-Reply-To: <20220928-mdm9615-dt-schema-fixes-v4-0-dac2dfaac703@linaro.org> To: Bjorn Andersson , Satya Priya , Lee Jones , Krzysztof Kozlowski , Rob Herring , Konrad Dybcio , Dmitry Torokhov , Alexandre Belloni , Andy Gross , Alessandro Zummo Cc: Bjorn Andersson , linux-input@vger.kernel.org, linux-arm-msm@vger.kernel.org, Krzysztof Kozlowski , devicetree@vger.kernel.org, Neil Armstrong , Rob Herring , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 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,URIBL_BLOCKED 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?1747287895494829477?= X-GMAIL-MSGID: =?utf-8?q?1747287895494829477?= Replace the license blob by a clean SPDX-License-Identifier with GPL2+ or MIT even if X11 is specified in the original blob since the actual license text corresponds to a MIT license. Signed-off-by: Neil Armstrong Reviewed-by: Krzysztof Kozlowski --- .../boot/dts/qcom-mdm9615-wp8548-mangoh-green.dts | 39 +--------------------- arch/arm/boot/dts/qcom-mdm9615-wp8548.dtsi | 39 +--------------------- arch/arm/boot/dts/qcom-mdm9615.dtsi | 39 +--------------------- 3 files changed, 3 insertions(+), 114 deletions(-) diff --git a/arch/arm/boot/dts/qcom-mdm9615-wp8548-mangoh-green.dts b/arch/arm/boot/dts/qcom-mdm9615-wp8548-mangoh-green.dts index 0827de5426c1..4e53b3d70195 100644 --- a/arch/arm/boot/dts/qcom-mdm9615-wp8548-mangoh-green.dts +++ b/arch/arm/boot/dts/qcom-mdm9615-wp8548-mangoh-green.dts @@ -1,46 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT /* * Device Tree Source for mangOH Green Board with WP8548 Module * * Copyright (C) 2016 BayLibre, SAS. * Author : Neil Armstrong - * - * This file is dual-licensed: you can use it either under the terms - * of the GPL or the X11 license, at your option. Note that this dual - * licensing only applies to this file, and not this project as a - * whole. - * - * a) This file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of the - * License, or (at your option) any later version. - * - * This file is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * Or, alternatively, - * - * b) Permission is hereby granted, free of charge, to any person - * obtaining a copy of this software and associated documentation - * files (the "Software"), to deal in the Software without - * restriction, including without limitation the rights to use, - * copy, modify, merge, publish, distribute, sublicense, and/or - * sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following - * conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR - * OTHER DEALINGS IN THE SOFTWARE. */ #include diff --git a/arch/arm/boot/dts/qcom-mdm9615-wp8548.dtsi b/arch/arm/boot/dts/qcom-mdm9615-wp8548.dtsi index 49de1821ac3a..2fe8693dc3cd 100644 --- a/arch/arm/boot/dts/qcom-mdm9615-wp8548.dtsi +++ b/arch/arm/boot/dts/qcom-mdm9615-wp8548.dtsi @@ -1,46 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT /* * Device Tree Source for Sierra Wireless WP8548 Module * * Copyright (C) 2016 BayLibre, SAS. * Author : Neil Armstrong - * - * This file is dual-licensed: you can use it either under the terms - * of the GPL or the X11 license, at your option. Note that this dual - * licensing only applies to this file, and not this project as a - * whole. - * - * a) This file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of the - * License, or (at your option) any later version. - * - * This file is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * Or, alternatively, - * - * b) Permission is hereby granted, free of charge, to any person - * obtaining a copy of this software and associated documentation - * files (the "Software"), to deal in the Software without - * restriction, including without limitation the rights to use, - * copy, modify, merge, publish, distribute, sublicense, and/or - * sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following - * conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR - * OTHER DEALINGS IN THE SOFTWARE. */ #include "qcom-mdm9615.dtsi" diff --git a/arch/arm/boot/dts/qcom-mdm9615.dtsi b/arch/arm/boot/dts/qcom-mdm9615.dtsi index b47c86412de2..de36e4545e75 100644 --- a/arch/arm/boot/dts/qcom-mdm9615.dtsi +++ b/arch/arm/boot/dts/qcom-mdm9615.dtsi @@ -1,46 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT /* * Device Tree Source for Qualcomm MDM9615 SoC * * Copyright (C) 2016 BayLibre, SAS. * Author : Neil Armstrong - * - * This file is dual-licensed: you can use it either under the terms - * of the GPL or the X11 license, at your option. Note that this dual - * licensing only applies to this file, and not this project as a - * whole. - * - * a) This file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of the - * License, or (at your option) any later version. - * - * This file is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * Or, alternatively, - * - * b) Permission is hereby granted, free of charge, to any person - * obtaining a copy of this software and associated documentation - * files (the "Software"), to deal in the Software without - * restriction, including without limitation the rights to use, - * copy, modify, merge, publish, distribute, sublicense, and/or - * sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following - * conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR - * OTHER DEALINGS IN THE SOFTWARE. */ /dts-v1/; From patchwork Fri Oct 21 09:06:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 6589 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp580345wrr; Fri, 21 Oct 2022 02:13:00 -0700 (PDT) X-Google-Smtp-Source: AMsMyM54IiZAe+yq6glP4SUwuVTmCcsahv/sW5XwfVAwV02AHSwZEEXQawdoUk4aJ97kbxuvslHq X-Received: by 2002:a63:7909:0:b0:458:1ba6:ec80 with SMTP id u9-20020a637909000000b004581ba6ec80mr15746469pgc.414.1666343579761; Fri, 21 Oct 2022 02:12:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666343579; cv=none; d=google.com; s=arc-20160816; b=VwuNvsqC5wKNpvj4cLfFLeNiuLovYGkPuvj0Lt5P93CLZCS43MAjCnzT4x8zTSnQx1 qiHARs3ojp6a+VLdhZWbWo288SQQMTOap9QUYDoDr42mZrzfv/83xOjdOR+WxErWbkzG nvmvFMqVOCBTgprVEm43yR6js+6b/7D1E8r1v22sqrdEH2dhUMoKg2H9T3OHDDhbyBxb zmq1y43Fw6SX05Ox80pSU+a9AjqzJqHunq8tjStA/ZXbeTRKcrmTw0M7WvH4vYM2nAnB EdGilfWl5kxQ6442MSsC37B0/7MXleI3kU6zHCZArrpAL4mSmulLJsVMl1gEhX9P6avi Iw1w== 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=vd4kM4iLHeRkVbVm5qnb83YtTvz+Uiv2cMXrmKRaEkw=; b=NjoD5Vs7ho0UaWL3/iIXO2bH8zGo61EydKAyuiV8RIc5lGNsQwTTp/p5BNwm1TAdWv slpz+2fy5uAdK/9e95tCYLMMW4BCe/qVpIpB80SmPSwaJp+NYBWN/FALPv7Tfyg6e6nQ WZBwrZEDbv6ABuF68saI8vdjplYpFwAac/yvonYESX1gjk3WtZ4pK+ag8QRk8mBy9u0H 3PnkMmPlL3pmIScSf3gx46+6xX19aEB2pvBw9kyhnPBo44uUYFwrqWpDL7uXEeGr1l+U WuXU5AQxvR4D7YlkbGCkDSTp41gaxtqEVmfGZy8lFfYAmooKtAy0ICtcfolNc8JSOxUV kSdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SkJyUMFN; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a185-20020a621ac2000000b0056177790e83si21456482pfa.170.2022.10.21.02.12.46; Fri, 21 Oct 2022 02:12:59 -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=@linaro.org header.s=google header.b=SkJyUMFN; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229695AbiJUJJQ (ORCPT + 99 others); Fri, 21 Oct 2022 05:09:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230519AbiJUJI4 (ORCPT ); Fri, 21 Oct 2022 05:08:56 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B7B41A3E16 for ; Fri, 21 Oct 2022 02:08:53 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id c3-20020a1c3503000000b003bd21e3dd7aso4557112wma.1 for ; Fri, 21 Oct 2022 02:08:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=vd4kM4iLHeRkVbVm5qnb83YtTvz+Uiv2cMXrmKRaEkw=; b=SkJyUMFNsDqLAGyKgQ/sjrrSN+HLQd++XI8/ZkHMxItPDlUVR3ajA3bDGOEeBG0To2 bV0KHxEzKcpC6gOXrRVW7tDgpBCU0eLP8BKBZoqDI62swfKN8OxClVHRkDdrHmi/fD6U eH5wyzyZDgZFIkAzLABhNvmxYrGJvdcBQjVVs+hnyZfrCN3DuIGY9AzT4qWzv8m/jsDa JeeKsVSYqWUvMBE6FbW4NxfNLFPyCoQArt9YpLX4WfrBNLp47w882R5pQJfLUDE9mVRl CtCxtuYRK+5NAsfJSKDgT2f42xn4cNWAUK3LFd2IJEnJhvPhq8MqITYyWCwQxkWKYX4E Hcfw== 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=vd4kM4iLHeRkVbVm5qnb83YtTvz+Uiv2cMXrmKRaEkw=; b=UwDpgPNJ01YaEXFKBZ0WIaoSx+NELh3yOY2wmItD492s4j03FniKdVYtyYIcCtMlzB iPnL642+Dt5GtgQdX3ijX5UKiyGQ0FvJ6Dd+PEV/liEPlpI2XDjyzT6KmrafUeV967xi 3v13J4m4gRvjKwcBNMSmTS+NLGizsF2Z+q1VWYnHWCFXmzhb+SmRkhG35zOiDrL12THy LZ3xsUw5MQYTX2tDsbesQiJn2kWN+G/JMqLYldJFQci00hKs4uon9Iz9J5ewXIya1u4j FxnXPcZQpP7ScUN/Yckgm3UQkUld5BK8Kx12zlRZSNho++xc0eyZDN5Lv+4rbC/LzPMy +Hxg== X-Gm-Message-State: ACrzQf1hMbhP41rH16bPbl2YUZu4Kr4MIpg8mkPxKwJg8gatWGHNDYUX Ew9SZnn8cTKFZY6J/jJJXHxq2Q== X-Received: by 2002:a05:600c:502c:b0:3c6:f5ff:e089 with SMTP id n44-20020a05600c502c00b003c6f5ffe089mr12156663wmr.108.1666343331390; Fri, 21 Oct 2022 02:08:51 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id v10-20020a05600c444a00b003c6f27d275dsm2230286wmn.33.2022.10.21.02.08.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Oct 2022 02:08:51 -0700 (PDT) From: Neil Armstrong Date: Fri, 21 Oct 2022 11:06:39 +0200 Subject: [PATCH v4 03/11] arm: dts: qcom: mdm9615: add missing reg in cpu@0 node MIME-Version: 1.0 Message-Id: <20220928-mdm9615-dt-schema-fixes-v4-3-dac2dfaac703@linaro.org> References: <20220928-mdm9615-dt-schema-fixes-v4-0-dac2dfaac703@linaro.org> In-Reply-To: <20220928-mdm9615-dt-schema-fixes-v4-0-dac2dfaac703@linaro.org> To: Bjorn Andersson , Satya Priya , Lee Jones , Krzysztof Kozlowski , Rob Herring , Konrad Dybcio , Dmitry Torokhov , Alexandre Belloni , Andy Gross , Alessandro Zummo Cc: Bjorn Andersson , linux-input@vger.kernel.org, linux-arm-msm@vger.kernel.org, Krzysztof Kozlowski , devicetree@vger.kernel.org, Neil Armstrong , Rob Herring , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 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,URIBL_BLOCKED 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?1747287885824865762?= X-GMAIL-MSGID: =?utf-8?q?1747287885824865762?= Fixes cpu@0: 'reg' is a required property from dtbs check. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Neil Armstrong Reviewed-by: Konrad Dybcio --- arch/arm/boot/dts/qcom-mdm9615.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/qcom-mdm9615.dtsi b/arch/arm/boot/dts/qcom-mdm9615.dtsi index de36e4545e75..eaa3236f62db 100644 --- a/arch/arm/boot/dts/qcom-mdm9615.dtsi +++ b/arch/arm/boot/dts/qcom-mdm9615.dtsi @@ -27,6 +27,7 @@ cpus { cpu0: cpu@0 { compatible = "arm,cortex-a5"; + reg = <0>; device_type = "cpu"; next-level-cache = <&L2>; }; From patchwork Fri Oct 21 09:06:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 6592 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp580530wrr; Fri, 21 Oct 2022 02:13:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7ClSHP1FCJjHvLBmMzVKGvUfM5mRYjAjmz0MYvkZTfOkKmEoN+f1DB+nhp2lR+7QcteX0b X-Received: by 2002:a17:902:d4c3:b0:185:4c1f:7457 with SMTP id o3-20020a170902d4c300b001854c1f7457mr19107453plg.117.1666343605960; Fri, 21 Oct 2022 02:13:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666343605; cv=none; d=google.com; s=arc-20160816; b=Uv13u7xY7ZFcAIs094DKc1n/FsVN96N0EYeP4pO9402ygZe087d2QrTT5ysP3Jhze3 FVEL2rmhd8q7pLcAhUqTiBdvNDeGoi1p4FpCyhzZ4zMUmsNaX8p1fVIoNNwzpgHknRWj o09lZz8/ZKOgCYSlJUOS1a5LICmel97inNz/YCB2wQMYk2lPscn1I9z24ubagYmYB8er eOzf90JUb8/jsn41/PpSF2hvGUPpzs9S52EpCYm6rR2i3FwltBohiJpJWcqfa7pfp7jN +815DlhwZ+AC7Dp36t5gVKjoIrXTQixyAgKJlaBkg6qjuOfCQn+zhJs+ysxvatzxb3p0 wpmQ== 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=jKPmuyWzuvi/ZRN3fqLVs1CIkyhJEvTnfd6fDEo2uxM=; b=FL6Ky5/MAVT93wiiLVVzTUbFfPyVQW6/Dx454Lvo2jJfdhAaKRQ/R1J+D9QyooB/wT i1SlIDT8zT1xSvpwRFAlK/M9xnpSow27gyiibhUae6aoE6BWEVXxthB3R2Q8CfhmD4/t ftDMCiGKEPuAXHu2zZRdlcJ91KADYu+9IP0afOksrfZQ3F0YdA1S96Dlfe5+for1hIUm 7dioUK0UhdO81SfyOz9KdyXzH8IDDGebsxrxYkn5MRW4/oXJGiII9LzLhYVwIcv6GyCE fBgZL0tyO1TlJGD1mx6raaxv5/lNs0fb4pw7AjuypPKrSE7wNF3zn6GJ/rYHZXA3hrlP nolw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iUmxD397; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q75-20020a632a4e000000b0046ec98eaae4si211974pgq.451.2022.10.21.02.13.11; Fri, 21 Oct 2022 02:13:25 -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=@linaro.org header.s=google header.b=iUmxD397; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229760AbiJUJJZ (ORCPT + 99 others); Fri, 21 Oct 2022 05:09:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35556 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230527AbiJUJI4 (ORCPT ); Fri, 21 Oct 2022 05:08:56 -0400 Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 481DF1A3E0B for ; Fri, 21 Oct 2022 02:08:54 -0700 (PDT) Received: by mail-wr1-x42a.google.com with SMTP id f11so3414629wrm.6 for ; Fri, 21 Oct 2022 02:08:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=jKPmuyWzuvi/ZRN3fqLVs1CIkyhJEvTnfd6fDEo2uxM=; b=iUmxD397xmDG1Eo1uMteRzyuqdf8LQdNEDCWpQ974QtzaBvQTlMv/JE9fg04xNV8K4 Hz/+/FILe55oW02X7cTImwfyc6tE9uuiaYR15cmkOO+m0onc9uyHNPJMnzYfIu7d9FK7 VWABlPmLHxVvGWZYS7ZC9NNawrK0NUMi5QgShN3wDGAYVUdIpuO0laO129b0iO0s7ZSj EvJDmDkqE+5dcKAgz9UehTa26B4eFKCjGqaU8bLU1S2BLRLLVLNjPjmmrrRAdZ2rIjGs W1u01KXsS0RWZ94GOsW2h6/6EdcaQNCZJ4EtpGjVLXwGGdITdEADNtiU9qachSYkAFSq 6eOg== 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=jKPmuyWzuvi/ZRN3fqLVs1CIkyhJEvTnfd6fDEo2uxM=; b=RpQFnsJzuNE9tk2H4GU43VV5hdiTbldOnIY0zuGi9/ljswGEGiKGT3/O4fH8+Mk62Z onhlqlM3DM4tEKEjpfsadWwrg20XDhJ0iiGxY766iy/y1uMZRO7x4CJzy1LWT0JyD8Hp PrdPMvZUIZ5DTja7++cwi2AMese7mmUz0eF3kFfCb8jhMwTceRwUaQPhzzjtdQ+plxLQ Gu5SP95d1zBl7jZGmBpfh+TuGD60t2raDIfVJv1qog3khnEohnWET70APKGYBVdG0vQf g3zHjjjjkj3XKQhWupFfIKeXZRWj653nURBe8c0M9zvdUFcBJZ8B4N/kCJjSmRTgxMQU ULvg== X-Gm-Message-State: ACrzQf3RjcsqhD7xdCte32VtrS196PyCVDhOCwZcSETRTKmzlfFWOG78 NyF7AG9IoAgkHqRCw3X4VDsRoQ== X-Received: by 2002:adf:f447:0:b0:236:5840:1c72 with SMTP id f7-20020adff447000000b0023658401c72mr82639wrp.686.1666343332348; Fri, 21 Oct 2022 02:08:52 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id v10-20020a05600c444a00b003c6f27d275dsm2230286wmn.33.2022.10.21.02.08.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Oct 2022 02:08:52 -0700 (PDT) From: Neil Armstrong Date: Fri, 21 Oct 2022 11:06:40 +0200 Subject: [PATCH v4 04/11] arm: dts: qcom: mdm9615: remove invalid spi-max-frequency gsbi3_spi node MIME-Version: 1.0 Message-Id: <20220928-mdm9615-dt-schema-fixes-v4-4-dac2dfaac703@linaro.org> References: <20220928-mdm9615-dt-schema-fixes-v4-0-dac2dfaac703@linaro.org> In-Reply-To: <20220928-mdm9615-dt-schema-fixes-v4-0-dac2dfaac703@linaro.org> To: Bjorn Andersson , Satya Priya , Lee Jones , Krzysztof Kozlowski , Rob Herring , Konrad Dybcio , Dmitry Torokhov , Alexandre Belloni , Andy Gross , Alessandro Zummo Cc: Bjorn Andersson , linux-input@vger.kernel.org, linux-arm-msm@vger.kernel.org, Krzysztof Kozlowski , devicetree@vger.kernel.org, Neil Armstrong , Rob Herring , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 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,URIBL_BLOCKED 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?1747287912988378884?= X-GMAIL-MSGID: =?utf-8?q?1747287912988378884?= The spi-max-frequency property has nothing to do in the controller's node, remove it and fix the 'spi-max-frequency' was unexpected dtbs check error. Signed-off-by: Neil Armstrong Reviewed-by: Krzysztof Kozlowski Reviewed-by: Konrad Dybcio --- arch/arm/boot/dts/qcom-mdm9615.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-mdm9615.dtsi b/arch/arm/boot/dts/qcom-mdm9615.dtsi index eaa3236f62db..366241dee522 100644 --- a/arch/arm/boot/dts/qcom-mdm9615.dtsi +++ b/arch/arm/boot/dts/qcom-mdm9615.dtsi @@ -170,7 +170,6 @@ gsbi3_spi: spi@16280000 { #size-cells = <0>; reg = <0x16280000 0x1000>; interrupts = ; - spi-max-frequency = <24000000>; clocks = <&gcc GSBI3_QUP_CLK>, <&gcc GSBI3_H_CLK>; clock-names = "core", "iface"; From patchwork Fri Oct 21 09:06:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 6591 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp580481wrr; Fri, 21 Oct 2022 02:13:19 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5jbx25dg1do5g+P/DjCJy5KDUGqJK3w5QwyOfrUS/kgZRMhfmsOehU/tfJXBk06V73bAJV X-Received: by 2002:a17:902:e750:b0:17f:71fa:d695 with SMTP id p16-20020a170902e75000b0017f71fad695mr18568274plf.105.1666343599054; Fri, 21 Oct 2022 02:13:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666343599; cv=none; d=google.com; s=arc-20160816; b=xysKewlKk3uO6yQw2G+fc9ZMOUYNXwVe7liB4zwM6jEDf1kav1ZbJzJmIy3otwDWPA 1mx4vG0UG5fEQYSP0EzlneWugBB1lk+gpsO+UOmxlSrWMTUIusZWBvRJA4BBwx5ueJGY t7ItD/dtemXjTBPgI82Un8lvBL6lOR8tHQfkhKvW+cvzTokYymkGHZwDYT2BPASEhZHA bsW2eX4CzJ5ebey+H65BfwQzmvnGbmyFzGTy+kgL7jlKWQPGv8fR3ZHl/eZhYEfPLcTQ N3Sc+sfYmJTB5FVoHXPSNaBAQT4+o8kXihVv6W2XpFZEz/y7jbCcBxlx/SJgYyZTBdVt A3ZA== 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=ivMBc50CrwMvnmWsDZJ3cyLehbUxsvRfzqxDjLbxT80=; b=OtO00uKD4pla3i3bHrGy8hEZBtFVbvHfDDs6zs4UBeP0PwkM10GTa1NJZMfi0Y4/Jz YDufi1KnvOaenscSB+c1tl2626tKOVsiqIqowDGySEDgaNfGbNK/L2UoFWyX0OZeaiDy 1/pIey1Jw4RDvA+hwjPKhe1GbzmSnQPtDi//m3Swf3W3F+HgzJG1ZiEqlSb2gchxAPwd HHwBEIz9WkAdt5e5uD/t4NYkVGITnfxjJeggEFLlfpLwH/QLkiV43o/Reh/WjSRW2KZb kvlpe9gl8ho96ANkzwLYDZZumYYX0SIF6kR9c4Mu4uiJ5LIOazcXhLW3bBzGlPQ7dmEq 4C5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="no/QzRG5"; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e20-20020a656794000000b0041a2b18788dsi2270299pgr.364.2022.10.21.02.13.03; Fri, 21 Oct 2022 02:13:19 -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=@linaro.org header.s=google header.b="no/QzRG5"; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229889AbiJUJJW (ORCPT + 99 others); Fri, 21 Oct 2022 05:09:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231126AbiJUJI5 (ORCPT ); Fri, 21 Oct 2022 05:08:57 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 525941A3E11 for ; Fri, 21 Oct 2022 02:08:55 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id bu30so3813157wrb.8 for ; Fri, 21 Oct 2022 02:08:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=ivMBc50CrwMvnmWsDZJ3cyLehbUxsvRfzqxDjLbxT80=; b=no/QzRG5oCHxPbpyAtJdc2hxek8h0kycEwYqm9yysNQ+p56Wzw0mgQQr/txnj0N+8L C77sVn1mCPJ5jDzcyGW5mMQSFLgQp6M52zFTJR6tUrhgutloF0g9sg5JLSGRLh4O2lrg j2xwWrf2Tyj7BS8KTU6TtZ+RwhppBpp2pPUwhgBp/7Ik+FRyZqP+PAz+H/hKlH5+wVzx KoJU+BVwIa3wqh9s3r6HTdV+/DniBGYeioJqg14b5v1m1ExJqm96goz0DLUE0liUPmOD NzqZIDFdL5lWIALUhiNFrN/PU38eR+tTLHSUEP9Wwas7HpWLgyQLb9ocnkZycO5KVAV5 W9pQ== 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=ivMBc50CrwMvnmWsDZJ3cyLehbUxsvRfzqxDjLbxT80=; b=Z4a581PaPDAPQoaPyU+OmPx1aIDEFbjR5y7KCf/CZ1mgIbRLc2FiR/1C5qDIyN1qn7 X9QjZGa3e51CYbXCaF4lGv8Vju6wNmVxaGlbK8zNGxajipqlKc+nVGAFTrejAD2iWZzA N+EJCOZGN0ZWj9puBIhO+R/J4gqYvLWSlG1rziVbjgIROeaWiSxiDfXx9DI+ATzIuLb8 ESwaQoocF3MPzC+YMSHRX2F+v9jisdAk0/kAvfpw6zirj/HPt1ypRxKRqOiKqLZgRdTu 2bw+9hTKg2jTttcOQlFXql+zg6Q30BQEAgjKT7rA2GW886kbILgCC7iorRFqCkg98g// TtNA== X-Gm-Message-State: ACrzQf1wPag6bRNLNHheH3Vf86zbKIybz1cS5n8rSsvFT1JNnkvWhgx2 5cGMIgCRozlnSb4eSxvYYOLknA== X-Received: by 2002:adf:f0c5:0:b0:22f:fef4:7746 with SMTP id x5-20020adff0c5000000b0022ffef47746mr12175627wro.610.1666343333301; Fri, 21 Oct 2022 02:08:53 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id v10-20020a05600c444a00b003c6f27d275dsm2230286wmn.33.2022.10.21.02.08.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Oct 2022 02:08:53 -0700 (PDT) From: Neil Armstrong Date: Fri, 21 Oct 2022 11:06:41 +0200 Subject: [PATCH v4 05/11] dt-bindings: mfd: qcom-pm8xxx: document qcom,pm8921 as fallback of qcom,pm8018 MIME-Version: 1.0 Message-Id: <20220928-mdm9615-dt-schema-fixes-v4-5-dac2dfaac703@linaro.org> References: <20220928-mdm9615-dt-schema-fixes-v4-0-dac2dfaac703@linaro.org> In-Reply-To: <20220928-mdm9615-dt-schema-fixes-v4-0-dac2dfaac703@linaro.org> To: Bjorn Andersson , Satya Priya , Lee Jones , Krzysztof Kozlowski , Rob Herring , Konrad Dybcio , Dmitry Torokhov , Alexandre Belloni , Andy Gross , Alessandro Zummo Cc: Bjorn Andersson , linux-input@vger.kernel.org, linux-arm-msm@vger.kernel.org, Krzysztof Kozlowski , devicetree@vger.kernel.org, Neil Armstrong , Rob Herring , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 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,URIBL_BLOCKED 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?1747287905767923078?= X-GMAIL-MSGID: =?utf-8?q?1747287905767923078?= The PM8018 is used as compatible with PM8921 on the MDM9615, document this situation, and an example section to validate this change. Reviewed-by: Rob Herring Signed-off-by: Neil Armstrong --- .../devicetree/bindings/mfd/qcom-pm8xxx.yaml | 33 ++++++++++++++++++---- 1 file changed, 28 insertions(+), 5 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml b/Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml index 61bd0b3ce02f..84b87f01e029 100644 --- a/Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml +++ b/Documentation/devicetree/bindings/mfd/qcom-pm8xxx.yaml @@ -15,11 +15,15 @@ description: | properties: compatible: - enum: - - qcom,pm8018 - - qcom,pm8058 - - qcom,pm8821 - - qcom,pm8921 + oneOf: + - enum: + - qcom,pm8058 + - qcom,pm8821 + - qcom,pm8921 + - items: + - enum: + - qcom,pm8018 + - const: qcom,pm8921 reg: maxItems: 1 @@ -52,4 +56,23 @@ required: - interrupt-controller additionalProperties: false + +examples: + - | + #include + ssbi { + #address-cells = <1>; + #size-cells = <0>; + pmic@0 { + compatible = "qcom,pm8921"; + reg = <0>; + #address-cells = <1>; + #size-cells = <0>; + interrupt-controller; + #interrupt-cells = <2>; + + interrupt-parent = <&tlmm>; + interrupts = <32 IRQ_TYPE_EDGE_RISING>; + }; + }; ... From patchwork Fri Oct 21 09:06:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 6598 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp581436wrr; Fri, 21 Oct 2022 02:15:24 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4vT6LDvdh30XcgcTSRZCUoQ7CIPLtgIDXrtUIXwGQO/+CuE3aDFo3acZo1ujV1zRGiif5S X-Received: by 2002:a05:6a00:804:b0:563:264a:f5e5 with SMTP id m4-20020a056a00080400b00563264af5e5mr18462305pfk.62.1666343723775; Fri, 21 Oct 2022 02:15:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666343723; cv=none; d=google.com; s=arc-20160816; b=yXLT5XoYAhxMikemeCGuXeBgMz9Lc0CGclw3nH6lsj9hXhdY5ASugcDIwxYkuONs5U U4KmJpRujjGjFDN4lDCtYAG1RF04MdLyi4EBLzGf09lWqr5dkOhliIm2PqedJN9Of09f SN0xLbl5brk5PUBzPNSkOXbpxdC4BJ9IE146o++Jyr6zhNeUY2ewh6x7GEz7RhrI5ls1 D66T0ITS+/tBCrasl8qkDd3v3Ifj4q8yRiVthcMAKa4eEQWaIBqGR2/WdoOv38N9mfgf tBZh7ohfU4ht79HnBuxeeG0WZEy4P4sAVOiIDEBP3u3WI5hZ1R6fqV/VyYjZ+qDX/vrQ Tjpg== 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=+bmpdylSa1sCy8CqzpRBiwfPofyXUjj2ucEcBN7svr0=; b=qnjiCWvJX/cX/0fRl49PtBFmfp+z1rzDGDwQxiYeQ0VITcv+ba/39forFpz/8oFzxB XArkJltgSLWQsOO0plGLTal9w/MJZBnGzmRW2Z7rgcmmYZQ1jNwLDXq0uzknB60Mbjxn o7az+9nUlUR6KsGE1jhqTyL8ihNVHHaW2IOUP33T+QPrcOo3856bIuAfynvEvq0C/rPP rlGNwQd+5TtKAUb2N3zZi7xggxHLbtlo/zQ5V8qXXwFwEK3aC48fvvcT5EbYf8EMQBYX haqu3ysIX1OhM7+8DWHdE5BMvF1ovEBqSnfEAL1o4CaG3uMu3RKA6K3TGVK6lj4ybOHQ SnDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=p8sK2G9D; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i10-20020a65484a000000b00457dc916cd8si24733942pgs.152.2022.10.21.02.15.10; Fri, 21 Oct 2022 02:15:23 -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=@linaro.org header.s=google header.b=p8sK2G9D; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231211AbiJUJJd (ORCPT + 99 others); Fri, 21 Oct 2022 05:09:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231144AbiJUJI6 (ORCPT ); Fri, 21 Oct 2022 05:08:58 -0400 Received: from mail-wr1-x42e.google.com (mail-wr1-x42e.google.com [IPv6:2a00:1450:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 50EC51A3E13 for ; Fri, 21 Oct 2022 02:08:56 -0700 (PDT) Received: by mail-wr1-x42e.google.com with SMTP id bu30so3813222wrb.8 for ; Fri, 21 Oct 2022 02:08:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=+bmpdylSa1sCy8CqzpRBiwfPofyXUjj2ucEcBN7svr0=; b=p8sK2G9D3ocfVsbCOVy+pUyyryGnPjWOUTja0RQ3u4t+E18YB3GqWBcdGEetM9uIgR jCmBS8IAfwMfHpUylIPDelF0weXl/Km68WCibqLaeZ+CVNVuyIAmRLbtQS4BTwUlD/zR kdBhVEmqc4bTfQF4jdvr30rlsBQ7HaIwMJGmWnbzvtqjfyi+K8KTAvWcn04WcizUFfpe g9OxR2WlB/JYIsAIv+/FRGyfFcxJPXrhzJ+F5eT3C2k1E55dXTV7QeYSZefO7beEm8w5 TscpJOmuuLVZI35QJCGCBPM3Sul+R5TC7BZCj702RYsFNdyAKLz0bABIUzPZlteX8zAL KGvg== 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=+bmpdylSa1sCy8CqzpRBiwfPofyXUjj2ucEcBN7svr0=; b=chiBo6vjW2vrJ/CXnyct9oppkv06mOTNHZTA5e1FMmnV8U8FBXkIIrpEu5MS75GbN6 38qgLYgq5INmaAhPFviAVj48bH6wBZliw5ukRpIO7iOdydNpQuKikR686WhE+pfxsvUe 5PTmLLjZI8459+XL4aSlNkADNxpJbNbvaqqJc5Ta12HESaslqipvR8s9Dc9pgOwk9RVn RN2OalT6tlYOD19Fcd9pq5ejuY3YYbWdU2z9k5Qvev+RTaDXlCpa0bk3w9JMfCVXkMiQ RehuyRxsOpMcJI8lJ1BT2bCbGm62VieCq8UIFUkTSXqeHTwFmTgR3FUB7gAK3C15MzjO vZiw== X-Gm-Message-State: ACrzQf2hHmKxVgqG5896tteptm520WJ2YbyBNLnJu+4BSO89cdA0vTSP scJxZHtEieEN2ZH72pK7fxXNQA== X-Received: by 2002:adf:fc10:0:b0:22e:55e5:9bb5 with SMTP id i16-20020adffc10000000b0022e55e59bb5mr11487698wrr.112.1666343334296; Fri, 21 Oct 2022 02:08:54 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id v10-20020a05600c444a00b003c6f27d275dsm2230286wmn.33.2022.10.21.02.08.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Oct 2022 02:08:53 -0700 (PDT) From: Neil Armstrong Date: Fri, 21 Oct 2022 11:06:42 +0200 Subject: [PATCH v4 06/11] dt-bindings: input: qcom,pm8921-pwrkey: convert to dt-schema MIME-Version: 1.0 Message-Id: <20220928-mdm9615-dt-schema-fixes-v4-6-dac2dfaac703@linaro.org> References: <20220928-mdm9615-dt-schema-fixes-v4-0-dac2dfaac703@linaro.org> In-Reply-To: <20220928-mdm9615-dt-schema-fixes-v4-0-dac2dfaac703@linaro.org> To: Bjorn Andersson , Satya Priya , Lee Jones , Krzysztof Kozlowski , Rob Herring , Konrad Dybcio , Dmitry Torokhov , Alexandre Belloni , Andy Gross , Alessandro Zummo Cc: Bjorn Andersson , linux-input@vger.kernel.org, linux-arm-msm@vger.kernel.org, Krzysztof Kozlowski , devicetree@vger.kernel.org, Neil Armstrong , Rob Herring , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 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,URIBL_BLOCKED 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?1747288036712938198?= X-GMAIL-MSGID: =?utf-8?q?1747288036712938198?= Convert input/qcom,pm8xxx-pwrkey.txt to YAML, and take in account that the PM8921 pwrkey compatible is used as fallback for the PM8018 pwrkey. Reviewed-by: Rob Herring Reviewed-by: Krzysztof Kozlowski Signed-off-by: Neil Armstrong --- .../bindings/input/qcom,pm8921-pwrkey.yaml | 75 ++++++++++++++++++++++ .../bindings/input/qcom,pm8xxx-pwrkey.txt | 46 ------------- 2 files changed, 75 insertions(+), 46 deletions(-) diff --git a/Documentation/devicetree/bindings/input/qcom,pm8921-pwrkey.yaml b/Documentation/devicetree/bindings/input/qcom,pm8921-pwrkey.yaml new file mode 100644 index 000000000000..12c74c083258 --- /dev/null +++ b/Documentation/devicetree/bindings/input/qcom,pm8921-pwrkey.yaml @@ -0,0 +1,75 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/qcom,pm8921-pwrkey.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm PM8921 PMIC Power Key + +maintainers: + - Bjorn Andersson + +allOf: + - $ref: input.yaml# + +properties: + compatible: + oneOf: + - enum: + - qcom,pm8921-pwrkey + - qcom,pm8058-pwrkey + - items: + - enum: + - qcom,pm8018-pwrkey + - const: qcom,pm8921-pwrkey + + reg: + maxItems: 1 + + interrupts: + items: + - description: key release + - description: key press + + debounce: + description: + Time in microseconds that key must be pressed or + released for state change interrupt to trigger. + $ref: /schemas/types.yaml#/definitions/uint32 + + pull-up: + description: + Presence of this property indicates that the KPDPWR_N + pin should be configured for pull up. + $ref: /schemas/types.yaml#/definitions/flag + +required: + - compatible + - reg + - interrupts + +unevaluatedProperties: false + +examples: + - | + #include + ssbi { + #address-cells = <1>; + #size-cells = <0>; + + pmic@0 { + reg = <0x0>; + #address-cells = <1>; + #size-cells = <0>; + + pwrkey@1c { + compatible = "qcom,pm8921-pwrkey"; + reg = <0x1c>; + interrupt-parent = <&pmicint>; + interrupts = <50 IRQ_TYPE_EDGE_RISING>, <51 IRQ_TYPE_EDGE_RISING>; + debounce = <15625>; + pull-up; + }; + }; + }; +... diff --git a/Documentation/devicetree/bindings/input/qcom,pm8xxx-pwrkey.txt b/Documentation/devicetree/bindings/input/qcom,pm8xxx-pwrkey.txt deleted file mode 100644 index 588536cc96ed..000000000000 --- a/Documentation/devicetree/bindings/input/qcom,pm8xxx-pwrkey.txt +++ /dev/null @@ -1,46 +0,0 @@ -Qualcomm PM8xxx PMIC Power Key - -PROPERTIES - -- compatible: - Usage: required - Value type: - Definition: must be one of: - "qcom,pm8058-pwrkey" - "qcom,pm8921-pwrkey" - -- reg: - Usage: required - Value type: - Definition: address of power key control register - -- interrupts: - Usage: required - Value type: - Definition: the first interrupt specifies the key release interrupt - and the second interrupt specifies the key press interrupt. - The format of the specifier is defined by the binding - document describing the node's interrupt parent. - -- debounce: - Usage: optional - Value type: - Definition: time in microseconds that key must be pressed or release - for state change interrupt to trigger. - -- pull-up: - Usage: optional - Value type: - Definition: presence of this property indicates that the KPDPWR_N pin - should be configured for pull up. - -EXAMPLE - - pwrkey@1c { - compatible = "qcom,pm8921-pwrkey"; - reg = <0x1c>; - interrupt-parent = <&pmicintc>; - interrupts = <50 1>, <51 1>; - debounce = <15625>; - pull-up; - }; From patchwork Fri Oct 21 09:06:43 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 6593 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp580539wrr; Fri, 21 Oct 2022 02:13:27 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7b5eCNYyeLsSqb7bvutnh6pPenRarIh5OgGNUmb9GxYyerfuRxeYPAHo2Os14dgGka3SgX X-Received: by 2002:a63:4e5a:0:b0:438:9513:da55 with SMTP id o26-20020a634e5a000000b004389513da55mr15048601pgl.381.1666343607055; Fri, 21 Oct 2022 02:13:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666343607; cv=none; d=google.com; s=arc-20160816; b=0SbRNw5adZY351baToslKY2taCkXqp45EaupiswFklQn/2ipYPwGZ2K5x/9V9zJuVX U8SRzuuE6yV1Xt9ZVPXSMMaFD6EhKVgSUNFzL5po7tFmSuAOTzM6k84DU1pv5wxyQg6D 9oSeGb77adnm4uU9xzzVA0hD27rwyQxCI/50h6HBCk0R3kMhL77qZbF6kywiZEb+M/Ju GGcIuuy2UmX4Ij7vjKCH5O2LZVYCspK0OQYx6KEmBg71uzhi2sbdOKl6tWudS7ZMrsyW isDuVPso7hjnkIpmn7tAswH5UI51S/WPuGQyscUkZs5+UHgF+N+US0ETDbGJxA9PNY3/ iWnQ== 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=BCCT8tgaqG5OldHtlkklSVmkDx8WUdXNiCaVQRja2yA=; b=kK/j1UiPuvcPmTiEzcao8YqptQgibNzohi3mDDvBHatW1rC69ym7wPcGrHAR+Nzu9T 4q01AXWzS14VTOqZTUd4a/ft6ax9bzR/6J7oKXnBOQ6onmma6xqIrYyPl7YOWhTVCggh qDg0eD3JosKyQTQWrAVuVaylzxV/FZrUAvQpWnv8xWDJC0BQjZVoKCZrBK2bDNSi7HdF ICBEDO6KaxcqAt9PEKA+ZQH4xND4609Qa103Lhc/5DciQjBg3D7hhNw3MKWP7zjpHsav XWIrtXqnTFudsJuvgsgJtAKY6oELSNhgA8QUxkpI1bePyF89ru209IAdp5T8vjvcjFnq NrtA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dZuUPjkX; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 7-20020aa79207000000b00563653bc151si21398150pfo.110.2022.10.21.02.13.14; Fri, 21 Oct 2022 02:13:27 -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=@linaro.org header.s=google header.b=dZuUPjkX; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230427AbiJUJJ3 (ORCPT + 99 others); Fri, 21 Oct 2022 05:09:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231150AbiJUJI7 (ORCPT ); Fri, 21 Oct 2022 05:08:59 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 746631A3E0C for ; Fri, 21 Oct 2022 02:08:57 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id iv17so1746945wmb.4 for ; Fri, 21 Oct 2022 02:08:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=BCCT8tgaqG5OldHtlkklSVmkDx8WUdXNiCaVQRja2yA=; b=dZuUPjkXDyO+JwX9iQ1/T+pcgE0GMJPiQc5s7Bc2JsIlkHOdiST3HXo13hVM01+Ms/ aVZkKVK4BWd8QBk5/Z/rm52gMHY6bC8EDOzjz4b9huS/6G8Bg+bP+/eWD0FCEnK5OKYy dKSxmXX5cr1jsGyY6k6CL0EZkHjD5EVQcmV0aWLjji+gsJTPvF0zqvM3wf0r35NbQo3Q hWpkeXnA7ZyyQYLBh9X3asjuZr8031Izd01DblMbLIA2L9yZTkCqfN3Xj8hq+Huy62Q0 l694WIL9vudrKRXoKV7wnVRVJMN9XBjj+phNPZWAIv0ZEEbD3fvWih8RuWi4FmmffiCE 5Rig== 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=BCCT8tgaqG5OldHtlkklSVmkDx8WUdXNiCaVQRja2yA=; b=HZrYgbqewzyQF/4PHETzBntbSQOSpVW4JW8eIWcI6qw+2av/ncG0dUq+M8ub2xxTUo IZrXtjOzKi/ZtWQsoRZJrM7fRdFLVCCqDgEkIH1vOkk1ap+VR9qACtYybWNwCOlrqsyN 1NvjdgBrBsslwQkVLokNKr//ww2uPJMrCR09qxVPUcToQn1zXzpdDrSvlj2J0pUTq2y4 R+b7QG+GFlsM+XE6nXc1J4yChq6L+7NI/kbz7rUnQKU/zEVXQwjI5KV4SfUo+f9mJEto extmJVemfDKGdYuJoOUVVcRjjME2anhgEm/zZdjFT3eDphHt6Y9gadnq/u68paV/K8r+ DBqQ== X-Gm-Message-State: ACrzQf2lpao5opTEy8oKL6BayzByMwdwQ8W6+UUYI3a8HA9Gyp8VFw5j EYWL5SCwQ+0aOidAqcx9HoCS5g== X-Received: by 2002:a05:600c:5c4:b0:3c5:9a14:e5f6 with SMTP id p4-20020a05600c05c400b003c59a14e5f6mr12729629wmd.153.1666343335526; Fri, 21 Oct 2022 02:08:55 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id v10-20020a05600c444a00b003c6f27d275dsm2230286wmn.33.2022.10.21.02.08.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Oct 2022 02:08:55 -0700 (PDT) From: Neil Armstrong Date: Fri, 21 Oct 2022 11:06:43 +0200 Subject: [PATCH v4 07/11] dt-bindings: rtc: qcom-pm8xxx: document qcom,pm8921-rtc as fallback of qcom,pm8018-rtc MIME-Version: 1.0 Message-Id: <20220928-mdm9615-dt-schema-fixes-v4-7-dac2dfaac703@linaro.org> References: <20220928-mdm9615-dt-schema-fixes-v4-0-dac2dfaac703@linaro.org> In-Reply-To: <20220928-mdm9615-dt-schema-fixes-v4-0-dac2dfaac703@linaro.org> To: Bjorn Andersson , Satya Priya , Lee Jones , Krzysztof Kozlowski , Rob Herring , Konrad Dybcio , Dmitry Torokhov , Alexandre Belloni , Andy Gross , Alessandro Zummo Cc: Bjorn Andersson , linux-input@vger.kernel.org, linux-arm-msm@vger.kernel.org, Krzysztof Kozlowski , devicetree@vger.kernel.org, Neil Armstrong , Rob Herring , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 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,URIBL_BLOCKED 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?1747287914183936674?= X-GMAIL-MSGID: =?utf-8?q?1747287914183936674?= The PM8018 RTC is used as compatible with PM8921 RTC on the MDM9615, document this situation. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Neil Armstrong --- .../devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml b/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml index 23ab5bb4f395..0a7aa29563c1 100644 --- a/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/qcom-pm8xxx-rtc.yaml @@ -11,12 +11,16 @@ maintainers: properties: compatible: - enum: - - qcom,pm8058-rtc - - qcom,pm8921-rtc - - qcom,pm8941-rtc - - qcom,pm8018-rtc - - qcom,pmk8350-rtc + oneOf: + - enum: + - qcom,pm8058-rtc + - qcom,pm8921-rtc + - qcom,pm8941-rtc + - qcom,pmk8350-rtc + - items: + - enum: + - qcom,pm8018-rtc + - const: qcom,pm8921-rtc reg: minItems: 1 From patchwork Fri Oct 21 09:06:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 6594 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp580568wrr; Fri, 21 Oct 2022 02:13:30 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7wCj6HJq3im1sgaoNFHoCKCNdxzm2jdTxVt1yrmpw+GKeYGWE8jFatGFawnqx378auzEKE X-Received: by 2002:a05:6a00:2291:b0:563:9d0d:62ae with SMTP id f17-20020a056a00229100b005639d0d62aemr18660275pfe.17.1666343610449; Fri, 21 Oct 2022 02:13:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666343610; cv=none; d=google.com; s=arc-20160816; b=pOMkdSQxqMcbNeg1qPnB5Y0Y1BnEMr6+D2Ph9h5gxQ3Qp1auJOn84mzqCRypqOiV0R NrbyhzMBLIbMmo70sv9vCta9+QWBJpvnBEFrmfN9ZGAyr7pTNJIQNaovSgTvhRDIzfGf d1AqOQtEJ9Q8Lzky1wsChH2o1NcyavVpvAg4wm/qMJUjvQNmGbDxDVG8xgNCz0/GEMB4 OA78it1i4KHbu8XI6BXgKHI1gBHHBrFOm9XJs9PXpEzgAgCQGLQFuufQlLcRGvmQ/TeV 8m+KYdmYft6iJZEFOIvU2egaUfbbLgft1AQsjba/LTV9tbhiygZkfx6gHEJL8qE8YL16 /qtw== 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=s2dHjCbjXW/wRyX5RnrOPDvSbncypen+BqayjwLtgH0=; b=scXwt6k6CKZY63ai6FRiWTs6ziiWKtr9Vp8RzM+82/4Ph9q51OyiG3KLccRV5q/b4k qit4oHrxgBwTIiZEekAQoBWrMN8pmu2EREvQ9bF8ah4kQ+lp8GBtHAYtSKWbidahGiEI eVazQIlUthTSDLE4kRyP8jOu2tuNuOKZaict85pYnR7XQewMr59SVat+vS+wzXwMIPM3 6/1cZvOLoW7/K9/SdAWw2Gg2sjesol6PUBXbKt75SyeUckFczHQsvpzL/1ywF3v+TQKe fU3uLag02V0mdh9Y0EyZxNJy1HRFBktK8LoTrvSshm7hD8X43nKoIbigI27nikjyx8Ox BV8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BU5GmauM; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id il10-20020a17090b164a00b001f335a72172si7008395pjb.62.2022.10.21.02.13.17; Fri, 21 Oct 2022 02:13:30 -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=@linaro.org header.s=google header.b=BU5GmauM; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231226AbiJUJJj (ORCPT + 99 others); Fri, 21 Oct 2022 05:09:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231168AbiJUJJB (ORCPT ); Fri, 21 Oct 2022 05:09:01 -0400 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1CF01A3E07 for ; Fri, 21 Oct 2022 02:08:58 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id a10so3342911wrm.12 for ; Fri, 21 Oct 2022 02:08:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=s2dHjCbjXW/wRyX5RnrOPDvSbncypen+BqayjwLtgH0=; b=BU5GmauMtsJbxzoW3M8HF62Q7USBINYhrQ/egAo+/CMIP61fhSf3FXUMjyVSa2WBHf /Z4PSiX8Xd2LX1WvsFq28WsS4NeInp94H8nMYbEoyqo3CsGilMXyp0BLuG67ON5Yl6jA BXpRk5f8ERR64ZlctzLNkyf15csMfMS4E/axdBE5wsr5RGg7VB1k0v15MSHJIX1vFcBH 8MYKuet44iMzdgqvU1gXl/i4wqanCCuXQ9v768QOOS8s2/pHu99rk9B5HhHPoZeDExx2 ubfnNxhGHUTrAs82eDdt13qz+lkgGzmspxCUMQ8gWpJ2tb1lUvX0zPvuiHw4oNdT3chn oXQw== 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=s2dHjCbjXW/wRyX5RnrOPDvSbncypen+BqayjwLtgH0=; b=H10OlYZgvTmt2MMfjQ1LLPOH6ALlY/0xRTpYHPi+t2o9ADJO2/FXLmb0RqCdgVVUO6 HT//+2cwE4zfcCrHVK4Ecye0+MF4FMMm/zcVz2E0yrSRw4fX63+at4NM9HueC4sbdFTq xYJ+kcPDAF5sCldRyNF3Jmm1EmWy8HIPL6teA+U9MY2jBGMlizXYE5NWXIsrFyzE51pX gtmAvrK0/EEq5Hrr27WDbKnQaabQc/rOf82VDagyHfZv9EDAWw+viphAnudLfAL6+EPN VqNhc02dNMrrSvSTuM9Hle5Ib07LcdkzWmztYbNt4XEsoBSIARHRdCiYO81sd6AFzdES O8xw== X-Gm-Message-State: ACrzQf3E8U5S8rSJpwz8jGTGL8dhZ6M6f4CM/bv/HF9tbImIuFlcP4se Pn53HIAwMaImZHMJEGz9YZ42+A== X-Received: by 2002:a5d:63d1:0:b0:235:9aeb:e365 with SMTP id c17-20020a5d63d1000000b002359aebe365mr5572793wrw.77.1666343336475; Fri, 21 Oct 2022 02:08:56 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id v10-20020a05600c444a00b003c6f27d275dsm2230286wmn.33.2022.10.21.02.08.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Oct 2022 02:08:56 -0700 (PDT) From: Neil Armstrong Date: Fri, 21 Oct 2022 11:06:44 +0200 Subject: [PATCH v4 08/11] mfd: qcom-pm8xxx: drop unused PM8018 compatible MIME-Version: 1.0 Message-Id: <20220928-mdm9615-dt-schema-fixes-v4-8-dac2dfaac703@linaro.org> References: <20220928-mdm9615-dt-schema-fixes-v4-0-dac2dfaac703@linaro.org> In-Reply-To: <20220928-mdm9615-dt-schema-fixes-v4-0-dac2dfaac703@linaro.org> To: Bjorn Andersson , Satya Priya , Lee Jones , Krzysztof Kozlowski , Rob Herring , Konrad Dybcio , Dmitry Torokhov , Alexandre Belloni , Andy Gross , Alessandro Zummo Cc: Bjorn Andersson , linux-input@vger.kernel.org, linux-arm-msm@vger.kernel.org, Krzysztof Kozlowski , devicetree@vger.kernel.org, Neil Armstrong , Rob Herring , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 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,URIBL_BLOCKED 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?1747287918075845173?= X-GMAIL-MSGID: =?utf-8?q?1747287918075845173?= The PM8018 compatible is always used with PM8921 fallback, so PM8018 compatible can be safely removed from device ID table Reviewed-by: Krzysztof Kozlowski Signed-off-by: Neil Armstrong --- drivers/mfd/qcom-pm8xxx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mfd/qcom-pm8xxx.c b/drivers/mfd/qcom-pm8xxx.c index 2f2734ba5273..601106580e2e 100644 --- a/drivers/mfd/qcom-pm8xxx.c +++ b/drivers/mfd/qcom-pm8xxx.c @@ -497,7 +497,6 @@ static const struct pm_irq_data pm8821_data = { }; static const struct of_device_id pm8xxx_id_table[] = { - { .compatible = "qcom,pm8018", .data = &pm8xxx_data}, { .compatible = "qcom,pm8058", .data = &pm8xxx_data}, { .compatible = "qcom,pm8821", .data = &pm8821_data}, { .compatible = "qcom,pm8921", .data = &pm8xxx_data}, From patchwork Fri Oct 21 09:06:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 6595 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp580585wrr; Fri, 21 Oct 2022 02:13:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4t5aM6/yPTpKxAfbeLGcZJqVw9QC0xvZp6e6CzevyPiywES1+Rdj0yPWCHJs+cmVTAV8FR X-Received: by 2002:a17:902:f681:b0:182:bd2c:26ee with SMTP id l1-20020a170902f68100b00182bd2c26eemr18180094plg.59.1666343612073; Fri, 21 Oct 2022 02:13:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666343612; cv=none; d=google.com; s=arc-20160816; b=pbiRcXoZY1Rtpdu7H8Vn/7Va+ynlvqoh/d4N4GOzBMxoWbzdpfDifVqLQ3tuDZ99Tj Ri4+eqGsPtNsrLKUnIzCjB4PPTlqsswK8atej+vNaItMk7ks7jTiPa3/+ZGv6lslUXRT l2iMqjNu3WHnpQpGqOfJ10wc7B7GXZIvjyiw2Uve4o1KTKg01diX18vH/rfKc0B8/cGA Oq6acjdlf8LtUApCfxihRF6NYRB/NWt4KJOAxgL77YV9y+Z3PYBJTJnrnF1Aq6EJxYQd I+iZpaZ50/ZTChBY3/jMYAEl6BwfkfIMh85CdpMwfsRBHxbTTAg7ljKPSbzk9djA409m yQvg== 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=34uELl7iSr0KkNMrPbDK0p3kOxj5Rp7IXkKhGBvUSAg=; b=vvNsq7mcCpbYh3EUVjuFdThEF1+V4dW+GQzTcsWC+v5cWntJeqMED2Y4EGZfMaunWT mtDaycB94xVyWT2bQGLnoNZMgi5NjKmz0mO3gKRVDSPSVUXVyvGGFiO2tjOq95SKYMP0 /4cU0ri1TY+h0eNUxZN2r7AXue+sU2sTCIRnBSh+AIg5Lr+TFVCZ4GCcXkGEJROZ7T0U 6tiIMsoGiGX/fS2USUl97LehJVuRgxvEy8WXU9eDTcw1eRlJwVtOpCpvcZGhjYtq6AgA NkbrduzKRXLMDcuVYcRDsFl0cboPctg9cMXyTIB+bChbdv0VBke5if1tuvDrQGVS4pii Qn4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=b2wq9WhY; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b13-20020a6541cd000000b0046b0e17b795si22555936pgq.567.2022.10.21.02.13.19; Fri, 21 Oct 2022 02:13:32 -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=@linaro.org header.s=google header.b=b2wq9WhY; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231231AbiJUJJo (ORCPT + 99 others); Fri, 21 Oct 2022 05:09:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231173AbiJUJJD (ORCPT ); Fri, 21 Oct 2022 05:09:03 -0400 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F7101A3E29 for ; Fri, 21 Oct 2022 02:08:59 -0700 (PDT) Received: by mail-wm1-x334.google.com with SMTP id fn7-20020a05600c688700b003b4fb113b86so1591748wmb.0 for ; Fri, 21 Oct 2022 02:08:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=34uELl7iSr0KkNMrPbDK0p3kOxj5Rp7IXkKhGBvUSAg=; b=b2wq9WhYIa+n2Svd4ZNxWXCgZgh3pA+aqFnF8UTGuDJyJpptoDbai4UEAiCWELixwq c0Gl/iHXhoC2wLFtVjyHvngC2ZmEUEb24fFSi8WCR93aB1YUqHpXEbwNslMuBpl+Qqt6 wLRVPgzzOtNxO53p/e31HuD2USrK0TMYAAPSe7N0EF68jPPJklxwi/luiiVfQQDHLWA1 pOjc4+w7zYrw9WPEHceSf0fMkavum+v8F84zt6EayZOgXfwRgywsJejzKY1othmIyb8d 3Ca1MdHYhF0riCGlMDVUMSVcheq2lG2tRhA36O5IbSS+7f6xjuNEQt9F+wirTvHRbKn8 64Bg== 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=34uELl7iSr0KkNMrPbDK0p3kOxj5Rp7IXkKhGBvUSAg=; b=qTf2WkaaNOj7cLMJOycepQGtEQ2xgsaRIJ9tztRsyuVv+9QzEIi28NnnSlmqUX+OXL sOwYiYoyp2SDE91BIZy6ZxawS4HCUINAv1GeBVyXsTwaJQh+7594LPrDc2pOckw5ZLM6 uJBMmDMx7m0sLnTQ2ahWO3LoMC33poxequPKXiSK1Dxrht8YGX0Mvd4A8C3abi4xC39o EsKjVVvD722PEdcz967sdrXaVlZEE+M701HXo0KMHuQmyJbcRw9ObxD3VrcPIBrUKkYV t0AFhW9knjZJImVDHFDJ5/zgl+UJQ6AweVPBAFzfQm5/MvIczMsofQb9BGs7YaPQat1I 1eYg== X-Gm-Message-State: ACrzQf1xoRCtYfSOkVpTkG7NJJD0MuBEYOjQpDdmQ3woSPLT912vBE4f Cm9QtS2CocEssdLHJxOirbeHKQ== X-Received: by 2002:a05:600c:4448:b0:3c6:fb65:2497 with SMTP id v8-20020a05600c444800b003c6fb652497mr14606066wmn.124.1666343337379; Fri, 21 Oct 2022 02:08:57 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id v10-20020a05600c444a00b003c6f27d275dsm2230286wmn.33.2022.10.21.02.08.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Oct 2022 02:08:57 -0700 (PDT) From: Neil Armstrong Date: Fri, 21 Oct 2022 11:06:45 +0200 Subject: [PATCH v4 09/11] rtc: pm8xxx: drop unused pm8018 compatible MIME-Version: 1.0 Message-Id: <20220928-mdm9615-dt-schema-fixes-v4-9-dac2dfaac703@linaro.org> References: <20220928-mdm9615-dt-schema-fixes-v4-0-dac2dfaac703@linaro.org> In-Reply-To: <20220928-mdm9615-dt-schema-fixes-v4-0-dac2dfaac703@linaro.org> To: Bjorn Andersson , Satya Priya , Lee Jones , Krzysztof Kozlowski , Rob Herring , Konrad Dybcio , Dmitry Torokhov , Alexandre Belloni , Andy Gross , Alessandro Zummo Cc: Bjorn Andersson , linux-input@vger.kernel.org, linux-arm-msm@vger.kernel.org, Krzysztof Kozlowski , devicetree@vger.kernel.org, Neil Armstrong , Rob Herring , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 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,URIBL_BLOCKED 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?1747287919556604377?= X-GMAIL-MSGID: =?utf-8?q?1747287919556604377?= The PM8018 compatible is always used with PM8921 fallback, so PM8018 compatible can be safely removed from device ID table Reviewed-by: Krzysztof Kozlowski Acked-by: Alexandre Belloni Signed-off-by: Neil Armstrong Reviewed-by: Konrad Dybcio --- drivers/rtc/rtc-pm8xxx.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/rtc/rtc-pm8xxx.c b/drivers/rtc/rtc-pm8xxx.c index dc6d1476baa5..716e5d9ad74d 100644 --- a/drivers/rtc/rtc-pm8xxx.c +++ b/drivers/rtc/rtc-pm8xxx.c @@ -461,7 +461,6 @@ static const struct pm8xxx_rtc_regs pmk8350_regs = { */ static const struct of_device_id pm8xxx_id_table[] = { { .compatible = "qcom,pm8921-rtc", .data = &pm8921_regs }, - { .compatible = "qcom,pm8018-rtc", .data = &pm8921_regs }, { .compatible = "qcom,pm8058-rtc", .data = &pm8058_regs }, { .compatible = "qcom,pm8941-rtc", .data = &pm8941_regs }, { .compatible = "qcom,pmk8350-rtc", .data = &pmk8350_regs }, From patchwork Fri Oct 21 09:06:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 6597 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp580647wrr; Fri, 21 Oct 2022 02:13:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM682T+gFNe2XPcihvQN1WC4Eou2aSox2k6PXk3NHWlD5paU+wQ5tCVXlrG7yYgWTWtZ0m7m X-Received: by 2002:a17:902:b718:b0:17a:d64:de09 with SMTP id d24-20020a170902b71800b0017a0d64de09mr18896393pls.106.1666343621187; Fri, 21 Oct 2022 02:13:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666343621; cv=none; d=google.com; s=arc-20160816; b=W/DrRB/Wij9NIa2peFLwsXFwyILzlee3ct62qgdsPVDrZzitUoxUXhWhW+KMIA9ghL uaSiAxUSWb9ObswwWKtHB1HID7Nt+z+Wi3RED5QTOFF9dIpAdtcJMjCWhsOzwrocC4kb ONDxGKSwX+8KyqJufPe7wM+7SsLaXJcOhqe+/pbnYr7VMg7TlWSmpMYPefeRJSOWsJcd 6TxCuuS7pNUabbqvYxwbKmWMAXEIWuJWdt7MkANZIyxtyKoVqH6m5wvo+yId0TktT7XH jnANJBL0Y1tnipFwwNyt5dqSYKGFJKcgfC3YSwOzBM1QqWBeA+OO6KfKkd7QRvVwF4nH hwyg== 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=CyWYYyXZ9YYnbw9nEI1oSUAVddSBrod4dJsXHXySnM4=; b=Vd8iFvtGJjkWTDh7CVvzus4mPlLI3FeOEJK2p8N2PcEwZDuXjYNQt298o0FQQ/HBlF 0+lf5GODeQLF+BQ80vDdGG3oRsrEWUceBa22ZmqU2gHOBDd1s1iCgMddFDmAjsPZzWfz 3ewWJTEatK0ZzldUSVdIN4kf5ji4oEPbpHd9aC1qGNKiDQ1FT4InSrJIjciYRJYBo/Gy XO9PHRpdMMPelCgEV11npROgJBfrLmrmOXkLOEaSVdkqbAGU/fq+EECeOuff3bQalb/0 EA8mP9SToWaG2aVskdRn75XJ35M5mpWGPDbouxrhyi6zfrXnp9p8VCpBMQTAqSvoCo62 K6pw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zVpaKKrm; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i2-20020a170902c94200b001867bac69cdsi1178566pla.342.2022.10.21.02.13.29; Fri, 21 Oct 2022 02:13:41 -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=@linaro.org header.s=google header.b=zVpaKKrm; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231143AbiJUJKB (ORCPT + 99 others); Fri, 21 Oct 2022 05:10:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35764 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231174AbiJUJJD (ORCPT ); Fri, 21 Oct 2022 05:09:03 -0400 Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 122D81A3E0F for ; Fri, 21 Oct 2022 02:08:58 -0700 (PDT) Received: by mail-wr1-x429.google.com with SMTP id bp11so3515436wrb.9 for ; Fri, 21 Oct 2022 02:08:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=CyWYYyXZ9YYnbw9nEI1oSUAVddSBrod4dJsXHXySnM4=; b=zVpaKKrmBTCzHmbZ7qra04yPk4E85uPIphnT+3SQwEc/selYL30bjCWDFKS/Fsi8Zj b8k62vmd80/1dMEIQcAeyQr4HxhRYXHPhi+UeTIPq3Ez7er2NBDh4dANVqLJpi26UFf/ +bzmB2uzmn0ayoO2jMztEEOhAS0aCEqswG93ow2T17PBlZWxiVs4Knityp9CW6zFQKod inkoO9jmFA2kTaspWBVnd82pmIJCZKRC4HNhB8X2L7DHXhgB32Mi4HB2SzO8xIijnWwZ BFJKpsxefyHk+K3qsvU+ha9aD+Uzw1+76Z/JATATm2WTcVgwwdA0waSDKmlBcK0tx1Cg qpbg== 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=CyWYYyXZ9YYnbw9nEI1oSUAVddSBrod4dJsXHXySnM4=; b=bcVLft5XuuF2E967yAiMWSM1Av8Tw3ScVjtcVSPtX8SoZx6gy9+yUpE2FVKzQ3z5k7 AQWJQt0Heidpvbpmc3B8mDX/eOPOvhC/F5NNgESqne4ZsoKlI1Blu75R+JP+JsJGu2YR WpmB42zlJglSD15W+oAFiva+ray8sJ/mScy68HwPshmwrtRI7tUMPVMOG7gdUIAFKWb6 zsx2EeH48h79HRYy6VwCTiQF2pLvwflVv2dLDttCtSa8jfs5SJEHj1h1DCm0BWLiBtH2 rzMy+VyvKGlEdrlF2TR3pYhr3NicShtaUY4bH60GGTlPaO0udZBCDskCrrwKVa5Qo2Rp G1rw== X-Gm-Message-State: ACrzQf0M+pM3RQbNUcZb6Ca/dL175/rOr9kS+VsoUsj+vGRCNxa3uf+X Qk4CwTSc5Rn92NbeoiRm1VWVSA== X-Received: by 2002:a5d:6d0a:0:b0:22e:3f3a:5cdf with SMTP id e10-20020a5d6d0a000000b0022e3f3a5cdfmr10949674wrq.156.1666343338301; Fri, 21 Oct 2022 02:08:58 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id v10-20020a05600c444a00b003c6f27d275dsm2230286wmn.33.2022.10.21.02.08.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Oct 2022 02:08:58 -0700 (PDT) From: Neil Armstrong Date: Fri, 21 Oct 2022 11:06:46 +0200 Subject: [PATCH v4 10/11] arm: dts: qcom: mdm9615: remove invalid interrupt-names from pl18x mmc nodes MIME-Version: 1.0 Message-Id: <20220928-mdm9615-dt-schema-fixes-v4-10-dac2dfaac703@linaro.org> References: <20220928-mdm9615-dt-schema-fixes-v4-0-dac2dfaac703@linaro.org> In-Reply-To: <20220928-mdm9615-dt-schema-fixes-v4-0-dac2dfaac703@linaro.org> To: Bjorn Andersson , Satya Priya , Lee Jones , Krzysztof Kozlowski , Rob Herring , Konrad Dybcio , Dmitry Torokhov , Alexandre Belloni , Andy Gross , Alessandro Zummo Cc: Bjorn Andersson , linux-input@vger.kernel.org, linux-arm-msm@vger.kernel.org, Krzysztof Kozlowski , devicetree@vger.kernel.org, Neil Armstrong , Rob Herring , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 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,URIBL_BLOCKED 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?1747287929268381388?= X-GMAIL-MSGID: =?utf-8?q?1747287929268381388?= This solves the 'interrupt-names' was unexpected dtbs check error. Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/qcom-mdm9615.dtsi | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/boot/dts/qcom-mdm9615.dtsi b/arch/arm/boot/dts/qcom-mdm9615.dtsi index 366241dee522..9d950f96280d 100644 --- a/arch/arm/boot/dts/qcom-mdm9615.dtsi +++ b/arch/arm/boot/dts/qcom-mdm9615.dtsi @@ -325,7 +325,6 @@ sdcc1: mmc@12180000 { arm,primecell-periphid = <0x00051180>; reg = <0x12180000 0x2000>; interrupts = ; - interrupt-names = "cmd_irq"; clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>; clock-names = "mclk", "apb_pclk"; bus-width = <8>; @@ -345,7 +344,6 @@ sdcc2: mmc@12140000 { status = "disabled"; reg = <0x12140000 0x2000>; interrupts = ; - interrupt-names = "cmd_irq"; clocks = <&gcc SDC2_CLK>, <&gcc SDC2_H_CLK>; clock-names = "mclk", "apb_pclk"; bus-width = <4>; From patchwork Fri Oct 21 09:06:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 6596 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4242:0:0:0:0:0 with SMTP id s2csp580635wrr; Fri, 21 Oct 2022 02:13:39 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6dfP+gkheULTE0x8bfNu15g70K0ZP2rXXN4lZRF4+/xf0YQ1m5/0oGqB98AIz6q0kG9i6y X-Received: by 2002:a63:8b44:0:b0:45f:952f:c426 with SMTP id j65-20020a638b44000000b0045f952fc426mr15132684pge.623.1666343618952; Fri, 21 Oct 2022 02:13:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666343618; cv=none; d=google.com; s=arc-20160816; b=yXFOWQPGTP2oG9tzWRrCx+0jFdgP+MKStE1ht0z/TOz6K1ahRnLPvLOiOtbeT9TE2V wnGO0lfDzdQsFjF4ixBI5oHYYVCJsqSKGPKOKm2dQycEC+VqpzGJeOJOFXE2YqpzTkml W69NkevWKYF1TltK3Ob0NPET9i+XxcuXFb29wHlzoygmqc6hcPS+8H1kImy9CqLLP8Rx PPKQWLitekpNV9ZoXPHiOpasVo6BeiRfvcC/1SW+m7ijoZca9m2QEsUcrprixmVMu6QU m4fHjtAXl4djq4Kn93WKIZlPSnYZ5qUy3UyWd6I0eotinOdcNFd8j7c+c4EnVxWvRLDc csqg== 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=Z8zoiO3HcCMOhvwnFbJarwF7HI12ZyCQT2wJzcSF7bw=; b=Wmty1TyHynmADoEdd+I2SR7FvVbhv4J905tPuEEr3O9hZWEZnfLcKFtarHqU9AZAJB 4c26z5lwBl5eyAgNDWyZvp8m+9phQmPqE+ALmjlh0+tsakRsvo8bbLzAU8xcYNPp1ztZ PUIak3As+vaZylzwIBDnqeLI0IYMxdMcmzqim7mMcR5FhEpuCVKFG4f9cBMjBHZZDYsQ OeP09XIGtRe17fZAqKBb2v3BanN4z74N3kZzvLFD2FrexzoyapJVBcXoO/UXSl5mWFEV dPMfYcC11FfeRhdldV1hb+rBUCdVFLv4QbSSf8/adswn0814ZTeDpzb96ZnjvYQyHdBz MlMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Uz6ED8+A; 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=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ng18-20020a17090b1a9200b002009ec298a0si6696183pjb.189.2022.10.21.02.13.26; Fri, 21 Oct 2022 02:13:38 -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=@linaro.org header.s=google header.b=Uz6ED8+A; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230274AbiJUJJz (ORCPT + 99 others); Fri, 21 Oct 2022 05:09:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231191AbiJUJJG (ORCPT ); Fri, 21 Oct 2022 05:09:06 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1B841A3E0B for ; Fri, 21 Oct 2022 02:09:01 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id a3so3978144wrt.0 for ; Fri, 21 Oct 2022 02:09:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=Z8zoiO3HcCMOhvwnFbJarwF7HI12ZyCQT2wJzcSF7bw=; b=Uz6ED8+AFKkavxx4Z4rUSZ49p6KCGe3ktPcOBHN6WexT7SyHWpM6TnwFv/A3y1Sd5x WE9Nuf4iKsjXPtEkH6zp+umlRZCRh37PLcXAZy6nqmiWmRBE+mTivIKi0MpiGhHSi/pn xNeRFpiKCEDcj38NIp+sNtJSP96sQYyygQH2rMvZ/X4SrKR7vCvSUF/AnE8vqs55l6Od XkeRrMcVjzW95YqcF1/os/jOLZI/6FJdMOKjlDXWCj2FVYV45DwL2DdLgU3tCJohi9sA VUna4rGH+A01zmT9mJtRtT1LuDZbp2Bq8wT5zxMPuIQchB//v9g1u7GiCyMWeeEIsjkt lv5w== 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=Z8zoiO3HcCMOhvwnFbJarwF7HI12ZyCQT2wJzcSF7bw=; b=7FVVWhNhIUBTmCwAxQ/s1BFRokcsomKBhIBq3IniEizO8lE7/WEtvc1h38A/7i784b 7k146SEXLDxMYWtTZE8MrmOxuwWke8GyIfSUATD/mcOctRs/CTKPAlk2vcGgtnRMv490 q+d8BlWHXYQpLf+NPs2tSK2/hulLt6LrtWGIoU945Eh4gS5H/Iv1xyQuMzQ2N0Vlq3CC Oh/+HVklzrS+b9zZwSXik2C5SKef8tEVHvrccpy2zbzZTc1BXX16ZmFlvbO7Wpi2FjDx fynlBNurDbPJRko71/8owVna071YYgwXhIn3BlR8C4W6DdFjtaIB93ojvjRsCnrm+tp/ eAfw== X-Gm-Message-State: ACrzQf1PKbmhCW6klghJSs/GO7KYamZrNa1gsl2AUQt6cKCRTomPR/MI gf4iCu0niGDMBUNU45wmk7GEug== X-Received: by 2002:adf:d0c5:0:b0:22d:e73a:a4c9 with SMTP id z5-20020adfd0c5000000b0022de73aa4c9mr11224682wrh.315.1666343339285; Fri, 21 Oct 2022 02:08:59 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:8261:5fff:fe11:bdda]) by smtp.gmail.com with ESMTPSA id v10-20020a05600c444a00b003c6f27d275dsm2230286wmn.33.2022.10.21.02.08.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Oct 2022 02:08:58 -0700 (PDT) From: Neil Armstrong Date: Fri, 21 Oct 2022 11:06:47 +0200 Subject: [PATCH v4 11/11] arm: dts: qcom: mdm9615: remove useless amba subnode MIME-Version: 1.0 Message-Id: <20220928-mdm9615-dt-schema-fixes-v4-11-dac2dfaac703@linaro.org> References: <20220928-mdm9615-dt-schema-fixes-v4-0-dac2dfaac703@linaro.org> In-Reply-To: <20220928-mdm9615-dt-schema-fixes-v4-0-dac2dfaac703@linaro.org> To: Bjorn Andersson , Satya Priya , Lee Jones , Krzysztof Kozlowski , Rob Herring , Konrad Dybcio , Dmitry Torokhov , Alexandre Belloni , Andy Gross , Alessandro Zummo Cc: Bjorn Andersson , linux-input@vger.kernel.org, linux-arm-msm@vger.kernel.org, Krzysztof Kozlowski , devicetree@vger.kernel.org, Neil Armstrong , Rob Herring , linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.10.1 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,URIBL_BLOCKED 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?1747287926355180188?= X-GMAIL-MSGID: =?utf-8?q?1747287926355180188?= The separate amba device node doesn't add anything significant to the DT. The OF parsing code already creates amba_device or platform_device depending on the compatibility lists. Acked-by: Krzysztof Kozlowski Signed-off-by: Neil Armstrong Reviewed-by: Konrad Dybcio --- arch/arm/boot/dts/qcom-mdm9615.dtsi | 78 +++++++++++++++++-------------------- 1 file changed, 36 insertions(+), 42 deletions(-) diff --git a/arch/arm/boot/dts/qcom-mdm9615.dtsi b/arch/arm/boot/dts/qcom-mdm9615.dtsi index 9d950f96280d..482fd246321c 100644 --- a/arch/arm/boot/dts/qcom-mdm9615.dtsi +++ b/arch/arm/boot/dts/qcom-mdm9615.dtsi @@ -314,49 +314,43 @@ sdcc2bam: dma-controller@12142000{ qcom,ee = <0>; }; - amba { - compatible = "simple-bus"; - #address-cells = <1>; - #size-cells = <1>; - ranges; - sdcc1: mmc@12180000 { - status = "disabled"; - compatible = "arm,pl18x", "arm,primecell"; - arm,primecell-periphid = <0x00051180>; - reg = <0x12180000 0x2000>; - interrupts = ; - clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>; - clock-names = "mclk", "apb_pclk"; - bus-width = <8>; - max-frequency = <48000000>; - cap-sd-highspeed; - cap-mmc-highspeed; - vmmc-supply = <&vsdcc_fixed>; - dmas = <&sdcc1bam 2>, <&sdcc1bam 1>; - dma-names = "tx", "rx"; - assigned-clocks = <&gcc SDC1_CLK>; - assigned-clock-rates = <400000>; - }; + sdcc1: mmc@12180000 { + status = "disabled"; + compatible = "arm,pl18x", "arm,primecell"; + arm,primecell-periphid = <0x00051180>; + reg = <0x12180000 0x2000>; + interrupts = ; + clocks = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>; + clock-names = "mclk", "apb_pclk"; + bus-width = <8>; + max-frequency = <48000000>; + cap-sd-highspeed; + cap-mmc-highspeed; + vmmc-supply = <&vsdcc_fixed>; + dmas = <&sdcc1bam 2>, <&sdcc1bam 1>; + dma-names = "tx", "rx"; + assigned-clocks = <&gcc SDC1_CLK>; + assigned-clock-rates = <400000>; + }; - sdcc2: mmc@12140000 { - compatible = "arm,pl18x", "arm,primecell"; - arm,primecell-periphid = <0x00051180>; - status = "disabled"; - reg = <0x12140000 0x2000>; - interrupts = ; - clocks = <&gcc SDC2_CLK>, <&gcc SDC2_H_CLK>; - clock-names = "mclk", "apb_pclk"; - bus-width = <4>; - cap-sd-highspeed; - cap-mmc-highspeed; - max-frequency = <48000000>; - no-1-8-v; - vmmc-supply = <&vsdcc_fixed>; - dmas = <&sdcc2bam 2>, <&sdcc2bam 1>; - dma-names = "tx", "rx"; - assigned-clocks = <&gcc SDC2_CLK>; - assigned-clock-rates = <400000>; - }; + sdcc2: mmc@12140000 { + compatible = "arm,pl18x", "arm,primecell"; + arm,primecell-periphid = <0x00051180>; + status = "disabled"; + reg = <0x12140000 0x2000>; + interrupts = ; + clocks = <&gcc SDC2_CLK>, <&gcc SDC2_H_CLK>; + clock-names = "mclk", "apb_pclk"; + bus-width = <4>; + cap-sd-highspeed; + cap-mmc-highspeed; + max-frequency = <48000000>; + no-1-8-v; + vmmc-supply = <&vsdcc_fixed>; + dmas = <&sdcc2bam 2>, <&sdcc2bam 1>; + dma-names = "tx", "rx"; + assigned-clocks = <&gcc SDC2_CLK>; + assigned-clock-rates = <400000>; }; tcsr: syscon@1a400000 {