From patchwork Tue Dec 13 18:33:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 32915 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp293595wrn; Tue, 13 Dec 2022 10:34:02 -0800 (PST) X-Google-Smtp-Source: AA0mqf6MhSuHlJp1ioo8hx5twVAXFY0C56oyK147oD41uJYk3Rd6UlbWrab877cFz3WAnr7nYK2M X-Received: by 2002:a17:906:3702:b0:7ad:a797:5bbb with SMTP id d2-20020a170906370200b007ada7975bbbmr16527147ejc.63.1670956442780; Tue, 13 Dec 2022 10:34:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670956442; cv=none; d=google.com; s=arc-20160816; b=vNe6tEdDKz7mOJSKPkfMSWr5wK6TmatRSK+H+1jRXjJfHOcEasUfhceLkBFLzxnJkQ B5Q0tfmxqPwXr7pcAEfsTcAmUJ0tTZ3+bfYlHSh8jXnXE1e201QcOR+S972w3QFVq1KA o7DLArsyYmDM6/75ePSh3jgxREfVLSWYOwlUbMSLhDpX8TUtJLFHsixJPMEe+8BYUIww HE6KSJ0Or3vHsbc2TQMxeXNjdxyt5liX9Bc4x8ukE4EDrfbJ3Cw+mL8M4dapMfwgl0s2 PRxD4HmZ1BJzapGZUA5PCWIOeaAi16edzCYXrwLx5RATl7GuI+GQQvXcL5QYi0APNzi9 QrUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=GJ5jI0G4hX1A08XO49d5+/bf9foafrkt0On/sCJEiuI=; b=BEDyMtD1PiNh0WX1diBUnLMGEkLoWkzkr4EyQlDiSlqYIQ1jSgyoeubqPDwcY1Z7El 47jIxVlTjhgmTgFiqn9PUvpfS2b3TFFe/93xB+gbR0hhsiryifsoJXCiTLt2RjFoEz3J 2hXSbtAoHNCZgUONDKLjcRl23dKCpqPAG1AnlMmtPDBqpbR2dN1fdRv/u+GdA6OkR1Bp MymA351FMc+7yHxO3fsnLDnjdbiBxyQbUZacDFw/f70f/9PnF7stgtD4buRYUDIUbs5B UY8xgw0asVM28I0aAlN58anVo8AvJ4aTP3/0CZYYV0kyQ/aQR8Fvlj0QLWpkMifvjB0N o7Sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NfSwsj6X; 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 a13-20020a170906684d00b007add150c78asi6727392ejs.503.2022.12.13.10.33.40; Tue, 13 Dec 2022 10:34:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NfSwsj6X; 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 S236495AbiLMSdR (ORCPT + 99 others); Tue, 13 Dec 2022 13:33:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236398AbiLMSdN (ORCPT ); Tue, 13 Dec 2022 13:33:13 -0500 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C10B422BE7 for ; Tue, 13 Dec 2022 10:33:11 -0800 (PST) Received: by mail-lf1-x12f.google.com with SMTP id q6so6327646lfm.10 for ; Tue, 13 Dec 2022 10:33:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=GJ5jI0G4hX1A08XO49d5+/bf9foafrkt0On/sCJEiuI=; b=NfSwsj6XvoFxdC/s4diqxFkK2YNi3BX95XD5jRwysWJvH3h/5IIZ84QEa4LZH6Mqbr 6JIw81N3A94mZD4zT2VhIjKbm1ieNnS+klB525lr7jc5yT4BpboI+nUCAkbaUdS2OpeK 1igp3rHVAzAbwCcL8bZTu3Q07hvB5odntYLjjMZF4Zx0S1b3IjDxqaQake8666uyoDdP TXwoUrZklmyxluTZ9z4gOcWGLDhQgvOFenPo4A3GaT2hwM1keV4mDZM80FoHYG28Ebj6 GU71MghU2XMUGgjGg4qQ+SZkcs6iPwlfuiKUVdLCdHzJ97Mfkd0bWhPCLsvZbaQIylAb qxGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=GJ5jI0G4hX1A08XO49d5+/bf9foafrkt0On/sCJEiuI=; b=5swPJRZxXVCjDu1H21FDsP/JUcDbwnNh41BuaHcbskc28Q7G094NCajoqKLeo3yg64 rJEtQwUCtHMJkr2YRDGKL/MEUNMCgDZynDLjRrIfwgNrjulKmiKM0Gyj4+HWQL50oiFD DUaOxK2CPtZRk+EF6rpXviSgZXwsyNXEpW8oJ4BUdzFy5XBH/HAzKwQbo6QXGg93DQFT X5XdyUof4VJdjyNHsl3pZ0HgB/BHgpoTjg1bfpezQXb+Ts2GrQfB5Y8JzySHaBDQP6D9 pafpslLOrlOj01opKUS0FWPUroxe2rIIRE4T1SN1rrCgT7bmjrlvs2HVVQF6631yM6zl ZpEw== X-Gm-Message-State: ANoB5plRrW53+O89MWFNkCnPfiVXx5eUHUIoFDMJ2WFbkErKquWrjL7V CAa7scGdcVsu4mHhQ75GheEQkA== X-Received: by 2002:ac2:52b9:0:b0:4b5:83ba:8c55 with SMTP id r25-20020ac252b9000000b004b583ba8c55mr5363905lfm.8.1670956390178; Tue, 13 Dec 2022 10:33:10 -0800 (PST) Received: from localhost.localdomain (abxh44.neoplus.adsl.tpnet.pl. [83.9.1.44]) by smtp.gmail.com with ESMTPSA id t10-20020a056512208a00b004b501497b6fsm465963lfr.148.2022.12.13.10.33.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 10:33:08 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Loic Poulain , Robert Foss , Rob Herring , Krzysztof Kozlowski , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/6] dt-bindings: i2c: qcom,i2c-cci: Fall back to common compatibles Date: Tue, 13 Dec 2022 19:33:00 +0100 Message-Id: <20221213183305.544644-1-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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?1752100324652299170?= X-GMAIL-MSGID: =?utf-8?q?1752124823252252855?= Almost every compatible string in the CCI driver is a duplicate. Adjust the bindings to include a common (first-soc-implementing-vX) compatible to remove the need to keep adding superfluous compatible strings. Signed-off-by: Konrad Dybcio Reviewed-by: Krzysztof Kozlowski --- Changes in v2: - make sure the actual patch contests are tested.. - resolve errors .../devicetree/bindings/i2c/qcom,i2c-cci.yaml | 47 ++++++++++++------- 1 file changed, 30 insertions(+), 17 deletions(-) diff --git a/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml b/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml index cf9f8fda595f..87e414f0c39c 100644 --- a/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml +++ b/Documentation/devicetree/bindings/i2c/qcom,i2c-cci.yaml @@ -12,14 +12,23 @@ maintainers: properties: compatible: - enum: - - qcom,msm8226-cci - - qcom,msm8916-cci - - qcom,msm8974-cci - - qcom,msm8996-cci - - qcom,sdm845-cci - - qcom,sm8250-cci - - qcom,sm8450-cci + oneOf: + - enum: + - qcom,msm8226-cci + - qcom,msm8974-cci + - qcom,msm8996-cci + + - items: + - enum: + - qcom,msm8916-cci + - const: qcom,msm8226-cci # CCI v1 + + - items: + - enum: + - qcom,sdm845-cci + - qcom,sm8250-cci + - qcom,sm8450-cci + - const: qcom,msm8996-cci # CCI v2 "#address-cells": const: 1 @@ -88,10 +97,12 @@ allOf: - if: properties: compatible: - contains: - enum: - - qcom,msm8226-cci - - qcom,msm8974-cci + oneOf: + - contains: + enum: + - qcom,msm8974-cci + + - const: qcom,msm8226-cci then: properties: clocks: @@ -105,10 +116,12 @@ allOf: - if: properties: compatible: - contains: - enum: - - qcom,msm8916-cci - - qcom,msm8996-cci + oneOf: + - contains: + enum: + - qcom,msm8916-cci + + - const: qcom,msm8996-cci then: properties: clocks: @@ -169,7 +182,7 @@ examples: cci@ac4a000 { reg = <0x0ac4a000 0x4000>; - compatible = "qcom,sdm845-cci"; + compatible = "qcom,sdm845-cci", "qcom,msm8996-cci"; #address-cells = <1>; #size-cells = <0>; From patchwork Tue Dec 13 18:33:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 32916 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp293830wrn; Tue, 13 Dec 2022 10:34:29 -0800 (PST) X-Google-Smtp-Source: AA0mqf5aLcUbU/Rws4lZpsOVrk3rucKdoFtlk49k2Z0CbhdiTAPTkqCj/o9NuAHcTbzIwQNhJo/R X-Received: by 2002:a17:907:c586:b0:7c1:700:9c4b with SMTP id tr6-20020a170907c58600b007c107009c4bmr23179102ejc.75.1670956469579; Tue, 13 Dec 2022 10:34:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670956469; cv=none; d=google.com; s=arc-20160816; b=ZERfX6fjEDCIx+mvLj/6CUpnfIkUbt1Fle8NGyvzWGMwZ1BakkXIY4HRKwnWBDXrGE UYaunFMt3ncaHrnxNhlYFBoOfs79Pfs30GuBPyhfWutrjEXjBQcXyxjw6+OOcAqAdvE4 04sWQl4i9Dam9e2l7+JiyMHUABlJ/nMKa2O+HHSomJImlmrjfNuO/ItfMKtaZ1CeVekU 56qYUlSXQXez/IzWzKViTcnEnQ0BZdrW1030c1DkZ8J1xCAzF0Y80YV8x1WZNCm/p4RP w0YxkDAvzBS6n50HsOir9lpdpZkO18N+HZMHEbx2vR80vR5lPpO27UuW8IhvnO5K9ySZ NewA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=InRO1/GO0LBQ3WvVgtcrxY3ZeFfs/GA4+OpVrE/p20o=; b=QWUG5N7Z8m2kSBiaHb68w7cwSUAuu+uiPtYOeLTlgbo86D+TfNreCv+E2QXej83iyt q139Rl2jZzGrYFziWQ0v0MopxCYqyImzLon8MJn0ZR4kMC+pz4OORqPvs1ahY5mkmWgK GiVJuHPOhxLiiW+ABuzeri5Dnd8WojQUJgCHhAtj7RxzPlPyNq9wslI71xtRLVBeOyIS cnAt4hzurQpUzM/taVnDbKSIbs36pCmqmFT28o7kisa63FB23PZVfAyROE3f4HbfPfuz wzAUBOOuCFsJsaF6hbuV9cALv308BLwHGXK5Ts8rHoxyGGkTmnesrp6MWbGsqkawydF1 8Kkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KTcKJL49; 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 hv22-20020a17090760d600b007bebf105450si10113889ejc.235.2022.12.13.10.34.06; Tue, 13 Dec 2022 10:34:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KTcKJL49; 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 S236573AbiLMSdV (ORCPT + 99 others); Tue, 13 Dec 2022 13:33:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236341AbiLMSdO (ORCPT ); Tue, 13 Dec 2022 13:33:14 -0500 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C12CA167F3 for ; Tue, 13 Dec 2022 10:33:13 -0800 (PST) Received: by mail-lf1-x12f.google.com with SMTP id cf42so6389642lfb.1 for ; Tue, 13 Dec 2022 10:33:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=InRO1/GO0LBQ3WvVgtcrxY3ZeFfs/GA4+OpVrE/p20o=; b=KTcKJL49IKgvvm9rtYHQmyBT5w2u5eEINfLTFRGbc9177nexNqx6+dYUB6Ktb86p31 GYD04ljYQzuOcRU4+kBRUG0buiQwHSJ0s3WnjI9mYj4il2C5Mno4jILs1RQVaNUWWH+L Q8eFCzuLzG/8PrGYgPRMJPLlHcGnJth3NeIj6URCt/hCVJ8ik0Zn10bQu/ulO4LP77MK W59MVlABQYhBdo+kzavDru5CwBuu0vgscaT2NHiFtN6pKZJVcdAWB6wy+YSVlcrB+pQT epQTmub+9RKKDdPG7XId9R6vsLaizYsXYV0CfJNEkkWliqcS4DIEF7bh1MmCOQXj7mxL kvKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=InRO1/GO0LBQ3WvVgtcrxY3ZeFfs/GA4+OpVrE/p20o=; b=cRzHi3ise2L52wgVbxpwFb3UyfzlS5KwISldP5XFAobII97JGje2qQGYW9r3LXgszB pSTyPc+1wNJDxbPH6y6JgX2iGg6hMx1Ll3taT1GaUOAN7SvmnsCDKEogJE4mbvPWq1Em D8UVs9pgvP7adKvnIND9XD8NRNiZ4CfppZKai2Wdj16mwV1AGoLZH58mQcq9+e25MpWr GXrnDxojhI569rpPQsLDSDOOSDux+RrkmnvxnUSmyXUXjjSMZ0mnVHr+V/V1QeXJYXWf FOIGoe/gqG8aZf+L3vyhDguXzo70U2ndlSV9aOhh7WP6N5lJY4sxyuFkMR72NcJxtO/6 mcHg== X-Gm-Message-State: ANoB5plzBBPVoD5qwgRM0R/QFBB54sPyZPBOCEGGJ79O4YgWY2LqQUGA PbMCFHgE4GMy1QXdomCow37J9Q== X-Received: by 2002:a05:6512:b8d:b0:4b5:a9ca:9725 with SMTP id b13-20020a0565120b8d00b004b5a9ca9725mr7308471lfv.28.1670956392201; Tue, 13 Dec 2022 10:33:12 -0800 (PST) Received: from localhost.localdomain (abxh44.neoplus.adsl.tpnet.pl. [83.9.1.44]) by smtp.gmail.com with ESMTPSA id t10-20020a056512208a00b004b501497b6fsm465963lfr.148.2022.12.13.10.33.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 10:33:11 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Loic Poulain , Robert Foss , Rob Herring , Krzysztof Kozlowski , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/6] arm64: dts: qcom: msm8916: Add fallback CCI compatible Date: Tue, 13 Dec 2022 19:33:01 +0100 Message-Id: <20221213183305.544644-2-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20221213183305.544644-1-konrad.dybcio@linaro.org> References: <20221213183305.544644-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1752124850983105987?= X-GMAIL-MSGID: =?utf-8?q?1752124850983105987?= Add a fallback CCI compatible, as required by bindings. Signed-off-by: Konrad Dybcio --- No changes in v2. arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index 2ca8e977fc2a..4c0a0078adb5 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -1167,7 +1167,7 @@ ports { }; cci: cci@1b0c000 { - compatible = "qcom,msm8916-cci"; + compatible = "qcom,msm8916-cci", "qcom,msm8226-cci"; #address-cells = <1>; #size-cells = <0>; reg = <0x01b0c000 0x1000>; From patchwork Tue Dec 13 18:33:02 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 32917 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp293966wrn; Tue, 13 Dec 2022 10:34:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf5vD2Xh+4g7vCDYVEOuM/LIbsbfufruFxDc4DkXhcZct5t87ZTj74TgSX4WZmxkZyQhDBaD X-Received: by 2002:a17:906:2a10:b0:7c0:cc6d:5df7 with SMTP id j16-20020a1709062a1000b007c0cc6d5df7mr18608782eje.68.1670956485882; Tue, 13 Dec 2022 10:34:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670956485; cv=none; d=google.com; s=arc-20160816; b=fsBzku0MzBdt1w/XthgfgGGbzQaSb1cJn+cHhRt+v5ZQqYoGs4V4nmmaXUuEs4pEPa 5nKqa0ZTqF8lK0Yb+V30M4XYy7zNGQeQ4yxS5ErHOLqlugqhB3xW8+Z2D7Ij2zhOXv3c H/Mk5ZnviTimT04p7LuqF298l8+ZVZZPULkayUqaZHyAhvoXns0LSpcUsSE+5g5dA+OX CVV/Y9aGGZPNGchfO4H3MESBlO3R9GCbU4raSb8QMU4rX1y2NCYJf0Ih3uUF5BldS3dn CkzOTAEXnzdNJKA6r2EidogTB3oLSu1c0H6arxWZqxigSU/8ziQ6/SZOd4ZW1SowUyeu tDJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=GmKS4yAhUGAdkF3tOGXdpLmNGlia3T0F+vc1q7Xr8Xo=; b=YtjaNxQBtEx8P9M1uFdik1zyZZAOv7jBOjG1ThIlzYqTA8BG2IIF2D8+Iui750lmoT KtEGHqSo7qCF7ztnSdNRlHNbbe5mC8xpfiVm/Jrh2FTRIpZN/ncfrr/ucnXEQs+itN8D +K2dJPX4eRUDM6NuPMCvkjOmyybpuNsLp8lS3arC9E63fVtCE6J3oxkz1U9oGgv/a31L cFgALOSrJsfdBGKDecDbHoKn4zo/JgssFErHp6JrOArngG32gV3lUjS+mQ8UMBmDradv UuNl5ixyssgFbVhES7NwYVVvt7tFtIB34NaV0wTm5ms8kOmbKq+kJ+KUIRxsdpYcXAbw trZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m2BHS9tw; 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 gv11-20020a1709072bcb00b007c0c7c42636si7371054ejc.683.2022.12.13.10.34.22; Tue, 13 Dec 2022 10:34:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m2BHS9tw; 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 S236445AbiLMSdj (ORCPT + 99 others); Tue, 13 Dec 2022 13:33:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236455AbiLMSdR (ORCPT ); Tue, 13 Dec 2022 13:33:17 -0500 Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 100DF167F3 for ; Tue, 13 Dec 2022 10:33:16 -0800 (PST) Received: by mail-lf1-x130.google.com with SMTP id c1so6361986lfi.7 for ; Tue, 13 Dec 2022 10:33:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GmKS4yAhUGAdkF3tOGXdpLmNGlia3T0F+vc1q7Xr8Xo=; b=m2BHS9twa2b7zID1oJ/iao0iVKlBV6K+Ofp9ZgGyUjFGlJHdeExbrLmy3BAULqbWen BC69+a+FWDzYIsTDVi6rL+F7D5+IoErx+6R8g87Rr6VbLXKLiT6rlcIvHTfqtLZ1zidh vsZIV0ffmzAr5/3d4Kyq46HOx9gdyMoosBzk8ONFin5tKRWHHojNDpuFv8z+46KeFUXY l9t7REoqZFy04dGy5+cKh0L8GlAOQZlWmsKfNRC0KUScBrkeLcbIig2EtgehCf8SvK4W UN6IK7R+lvvx8UsbqLi3hg0h2hR9+nwQuKIpul1/y/I6F5DqLiSmgK8aFA7LiFKEzUrZ jNLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GmKS4yAhUGAdkF3tOGXdpLmNGlia3T0F+vc1q7Xr8Xo=; b=sMSo695ycrCfh/gpXljVRu7S4KUg2Ut186LSwYIW5FPzQURAeFipnyIJRrxjs1xU9N 47E/VxsyGn5Yfnq9sEKqGwjyDSJzqtvPNZKaO7+UdV5IJtjcGhw0aiCJTTCujWcFnOD9 fakwSSgZUV7IKAE2OKmcUo4bMRXFJEqDYUV9yzqDMy7OJp/sZTuulL58tNEW8Nlb38b8 WJB7TX389QT5q8pMN0cXgp00euVO9SVpstsnyeeHIr4UD9UFmcKcJTWg7K77Wx1tH7WN OsIsFoqgVIphVtW+3fYJqEl7l+sPst0cOiowITsZ3+rhJNJV60ZfXJoHCsFkNNkZC/V/ hOjg== X-Gm-Message-State: ANoB5pnyqHW65JIkEaVyqJONxWTw07kL1E/xMmcHwE9lxgGSiiUtJVOD vRaV8ojDEcpgjHTwntJIo6j/Iw== X-Received: by 2002:a05:6512:39cf:b0:4b5:3505:d7f9 with SMTP id k15-20020a05651239cf00b004b53505d7f9mr5965987lfu.35.1670956394474; Tue, 13 Dec 2022 10:33:14 -0800 (PST) Received: from localhost.localdomain (abxh44.neoplus.adsl.tpnet.pl. [83.9.1.44]) by smtp.gmail.com with ESMTPSA id t10-20020a056512208a00b004b501497b6fsm465963lfr.148.2022.12.13.10.33.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 10:33:13 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Loic Poulain , Robert Foss , Rob Herring , Krzysztof Kozlowski , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/6] arm64: dts: qcom: sdm845: Add fallback CCI compatible Date: Tue, 13 Dec 2022 19:33:02 +0100 Message-Id: <20221213183305.544644-3-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20221213183305.544644-1-konrad.dybcio@linaro.org> References: <20221213183305.544644-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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?1752124867982334579?= X-GMAIL-MSGID: =?utf-8?q?1752124867982334579?= Add a fallback CCI compatible, as required by bindings. Signed-off-by: Konrad Dybcio --- No changes in v2. arch/arm64/boot/dts/qcom/sdm845.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index 9eecf1b4ebf9..154f5054a200 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -4386,7 +4386,7 @@ port@3 { }; cci: cci@ac4a000 { - compatible = "qcom,sdm845-cci"; + compatible = "qcom,sdm845-cci", "qcom,msm8996-cci"; #address-cells = <1>; #size-cells = <0>; From patchwork Tue Dec 13 18:33:03 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 32918 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp294014wrn; Tue, 13 Dec 2022 10:34:52 -0800 (PST) X-Google-Smtp-Source: AA0mqf4ZDKSI31a+PeBAhPCImVRpxS/HDdQIDVFdOoZTlkrx5cE1XFbRe/HLB2jxgviOCOMptLAW X-Received: by 2002:a05:6402:159:b0:461:22bb:1ae4 with SMTP id s25-20020a056402015900b0046122bb1ae4mr19502114edu.17.1670956491960; Tue, 13 Dec 2022 10:34:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670956491; cv=none; d=google.com; s=arc-20160816; b=0B7Mtq0t0cD5n/z30B01Oi57Ykz+IJQ2FuY9GgttYmSEZIs2dwvw2kVmppOhbaDEOt oSaIWv8qNtAvZfu6xAbB0PaNwjGcRvmguwX8LEFt7458kuBBrJUq70qtglE+juyReXdp huw9fXjIPzedLgzFI9I7HaB8ql7mWdj+CECGWC0jUeJyegU4EJhsoBfCVAMEIPRLr0Hq 96wb34wLqdwMqFNCySP1LHfMzZ8/KR5OAgrge9FKiq872DzBtSJKzSu0qHCZ2ANnzPb/ B4auImfbEDkUg6iWWmCnX4JSmDmDPL4w7TrY4lJTEC9D2PYFVVvBe7fnxpD2jv9ISwjo CcBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ksGsvN/7pu3308GYeGLVRZHiJ+Zmt5xVrgiqbPzB6uU=; b=aPU0uLMCo/VfLQBWkwfcvw3kAS3/unSHvQilimtVyMeLmzg48/QmIt+x03L+p+VPdL Lx+9UuFK+hNzg7V0L6WmLYDABTniLat3wkfIzgCuRzTEc6NkQwMR8PL1DcbyBeErTOzd Gmgw5LcbZou8zxydvl8Om1/83N87pxflW3qEn24e2n63XEJjBeh4ipKWxW5ajeqfzOso uWD5ycgO2vWKM8WFX1FH78nye4NeuEf3kCWRNA6oMzirGcu/v6Xyk27AVrgzmZLy4CsP 6lT5VFJqrKvVnbBuUrELOXOyDf4xT+XauOyF6ZNpKYwpIetgwcuCwIxqx43X+E5ePu7+ eguQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KHE785Gh; 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 i42-20020a0564020f2a00b00456eaa4fb1fsi9388648eda.223.2022.12.13.10.34.29; Tue, 13 Dec 2022 10:34:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KHE785Gh; 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 S236471AbiLMSdo (ORCPT + 99 others); Tue, 13 Dec 2022 13:33:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236337AbiLMSdT (ORCPT ); Tue, 13 Dec 2022 13:33:19 -0500 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04A67DFFF for ; Tue, 13 Dec 2022 10:33:18 -0800 (PST) Received: by mail-lf1-x12f.google.com with SMTP id p36so6331942lfa.12 for ; Tue, 13 Dec 2022 10:33:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ksGsvN/7pu3308GYeGLVRZHiJ+Zmt5xVrgiqbPzB6uU=; b=KHE785GhnVqa57gzfPbGtC7eNf7/tGlM+05o5w3DWPkJIXquS5H1dqmw1gZiW73kmJ 31m0n9uYea7TaHHg1zP6ydEth0XIvnm9sR+XeRu6K/7A8Kuyd5Gymf1p9VvPDceH7pcj zgS1wDhNMW59b5NC24Y21O8fx6ATr5Ni2AlZ0LDbEWfXKuUxUGoa2faW9GrNNQJ9G2YW 02mDi0h933jfG1r6XkSzCwsdfvekORBXVbdEwVBNB6MkrLpJKjXaDJFbj9pLcJS/bEHk 44tH1yPYtNOjO/i3a5xe0g4l9lcs5v2FWHkgSDUd8apbj/VkaHEmJ+F2n3/WlPwYzk9P mwhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ksGsvN/7pu3308GYeGLVRZHiJ+Zmt5xVrgiqbPzB6uU=; b=GZw7jp+HiCSbaBk9DRHrL9BKN/alVe3+DXhruToBIL0QaFKYs0OpXG3O8sUidVBYMz AJxnXUu//9/wvq2PqqvZcItFHvD7tEP/fuLUvgUcjOxCNhjo/wljaY9+JomvTgDng3yP g/sgxpoyHLg+0waHTEBBcTniGQG5LwBD7os3eStQ0creqrO0IJGvgIFaEojqMVDDDUdM nN1G5jKePijXDySLzgKSbQvJCYotISZztb7UwfQCvgyfXJ5E70e6U+bOqYd3WkDGBrvK UpBZCp59HaS10oa/d7A2QCTCvAFPhy9W+DVhGhD3uL/xNqXqTVpkWxgZhAb1y43TbIFA hhMw== X-Gm-Message-State: ANoB5pmVTu7yiM/aIr6SJtYISs47vdeAVEhGC/WZMELJFj6+BDSAkHvt sGjPy0jx7IxVxIc9KXuXHOW+wg== X-Received: by 2002:ac2:4346:0:b0:4a4:68b7:ded7 with SMTP id o6-20020ac24346000000b004a468b7ded7mr5045486lfl.51.1670956396438; Tue, 13 Dec 2022 10:33:16 -0800 (PST) Received: from localhost.localdomain (abxh44.neoplus.adsl.tpnet.pl. [83.9.1.44]) by smtp.gmail.com with ESMTPSA id t10-20020a056512208a00b004b501497b6fsm465963lfr.148.2022.12.13.10.33.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 10:33:15 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Loic Poulain , Robert Foss , Rob Herring , Krzysztof Kozlowski , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/6] arm64: dts: qcom: sm8250: Add fallback CCI compatible Date: Tue, 13 Dec 2022 19:33:03 +0100 Message-Id: <20221213183305.544644-4-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20221213183305.544644-1-konrad.dybcio@linaro.org> References: <20221213183305.544644-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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?1752124874675333195?= X-GMAIL-MSGID: =?utf-8?q?1752124874675333195?= Add a fallback CCI compatible, as required by bindings. Signed-off-by: Konrad Dybcio --- No changes in v2. arch/arm64/boot/dts/qcom/sm8250.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi index 0c4ecdab1244..6d16857fed26 100644 --- a/arch/arm64/boot/dts/qcom/sm8250.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi @@ -3723,7 +3723,7 @@ videocc: clock-controller@abf0000 { }; cci0: cci@ac4f000 { - compatible = "qcom,sm8250-cci"; + compatible = "qcom,sm8250-cci", "qcom,msm8996-cci"; #address-cells = <1>; #size-cells = <0>; @@ -3764,7 +3764,7 @@ cci0_i2c1: i2c-bus@1 { }; cci1: cci@ac50000 { - compatible = "qcom,sm8250-cci"; + compatible = "qcom,sm8250-cci", "qcom,msm8996-cci"; #address-cells = <1>; #size-cells = <0>; From patchwork Tue Dec 13 18:33:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 32919 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp294244wrn; Tue, 13 Dec 2022 10:35:20 -0800 (PST) X-Google-Smtp-Source: AA0mqf6sMAWQvoYM7UFhbeIa+OYlIIu24U/jKona00+wzUlcM41XQT1Wmhdv7WrFvgBcwhVPorrT X-Received: by 2002:a17:906:8049:b0:7c1:6040:2318 with SMTP id x9-20020a170906804900b007c160402318mr3760741ejw.35.1670956520364; Tue, 13 Dec 2022 10:35:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670956520; cv=none; d=google.com; s=arc-20160816; b=it8HM+JKSCnQkCgg/2siDQsQ4AAm7uvHw8Ye7cxNn754JCJ+MUmyTrK07O6dv5Vw3x Q6hUE9fkPruYyuW7kGccEy/O/Q8b+nv3dlQM4cPPEgtygAVZ7W7ZlCeILuW1+IEZcTtN YvPCeb7YCOZMFiPYrLqNN9IOe2u781W9V2nYr3QC/i3eHlrtql/DpUO/kodZtfZmjchZ PuK6iJVQIwm5riAt6Z2w7Iq5E5UbTlBtAr74/xXyniacgD+gAg5nR+YqDK1Gtn4ptY/3 FYYSoG0B0oDbqXFX4GEoNEtFLr37/ybRWb5bTdL7yKMwKc77RKyyytwW4fomYgt72BdV XbZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8l+ZRdexUJZDY+Gh4mGAra9DPiKGS/PdB/rIjuu7p+8=; b=ufixl79dJrsRvdC3ZgdrrskEhbgrG0cAfW42TLdzteLMAB5ALmL6qwv5TeqbjdVLW+ sWeAniKtRAr+mghX2Y78t4YoOC5jHT38fVYymBMhwFe9E/TEiv4grel9zmS9k3RQ3+rq greMP82ciAMUo9JYophS6yIvNFzrjA+WfUFqjyT8C+2hlDKCskYAC1ag3iF3QTXJ2G/K wUGLpBJk236oVP5ueByTBOVHv5g6LL/kqIX0UYzINfALnCDmhUtOvPczF5nbrIuIF07i 9Kg/C3HAAs1pN0C8zkYfoKl+sHViXkVR5i9OA+S8RZyVCtN7H7fDnH7SLYc1BL3xmXJE Q3qg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="yHSWR/sR"; 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 dn3-20020a17090794c300b007c1727f7c6fsi5104554ejc.261.2022.12.13.10.34.57; Tue, 13 Dec 2022 10:35:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="yHSWR/sR"; 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 S236582AbiLMSdq (ORCPT + 99 others); Tue, 13 Dec 2022 13:33:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236590AbiLMSdW (ORCPT ); Tue, 13 Dec 2022 13:33:22 -0500 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1735D21E3F for ; Tue, 13 Dec 2022 10:33:20 -0800 (PST) Received: by mail-lf1-x134.google.com with SMTP id g7so6371097lfv.5 for ; Tue, 13 Dec 2022 10:33:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=8l+ZRdexUJZDY+Gh4mGAra9DPiKGS/PdB/rIjuu7p+8=; b=yHSWR/sRtLF4N/ot8Q+lyX3uYvgn3mX0Gvmun4zuMErKRWn1mYfODYiewl5C5niL3m vDYtoMV9kzuYenEuGNvY7oUBrffH1oj0xtojxZxw5qX6R7elwiCPwK5AkZ3YK70G5FG1 0FhZxsCa6fgR0JG/KUph3lEL5NDTSr0pjK7srQZXdPGpLshtlZGG1xrSIuCecw//Cei2 xiusP+bo3viL/We2pZjwhSXKObhxKdPwlrGjH24NAnLsuXNxsxPj/pQnJVDOvAf2u3A0 ts+v8gSoeO/OHPgTEn95aWOsi6U3jTtYVRytlZAbdSk6RfYzedNO/BNWhueUSavlltjB nD6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8l+ZRdexUJZDY+Gh4mGAra9DPiKGS/PdB/rIjuu7p+8=; b=FE73g9lY+qZXltgSM+g84hGpdarUkKSIxmQDxW3JA4OQelU3eeZM2IT3hd/ZQLiAzi BkfmKhqfcFEaiYXU7z9fuRHhZKZHPA1MrfEyVHeotCZaTLPTExRTL4u315fD/VdAH1Dk gWahaGb44D9cuguA5GsjzpzIZp660tsJ6mauxB+HfncRt5vA98DG16ltIrE3Fdrd/tfV KkHbgEMnaNYbf/qQYoOC6VopItrqkDnFcXx4IQ5PfrQkta+aJ2bLNzP/mIhSEhMW0qmx zSODJ96t71mtCUZjXj66ItFBc5pevq/GGpHijIgaZPVwkgi0CkOcU9xJiiMP3/oPg8OK uBlQ== X-Gm-Message-State: ANoB5pko4qKyfqfBphU5BV+B2h8SJ0tysmAQ/NwC7CRs+FWp6Sbp0DVp Ymi8PFN98MT1tJaLGotTGsCfZg== X-Received: by 2002:a05:6512:22d2:b0:4b1:97ba:5716 with SMTP id g18-20020a05651222d200b004b197ba5716mr7566864lfu.0.1670956398570; Tue, 13 Dec 2022 10:33:18 -0800 (PST) Received: from localhost.localdomain (abxh44.neoplus.adsl.tpnet.pl. [83.9.1.44]) by smtp.gmail.com with ESMTPSA id t10-20020a056512208a00b004b501497b6fsm465963lfr.148.2022.12.13.10.33.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 10:33:17 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Loic Poulain , Robert Foss , Rob Herring , Krzysztof Kozlowski , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 5/6] arm64: dts: qcom: sm8450: Add fallback CCI compatible Date: Tue, 13 Dec 2022 19:33:04 +0100 Message-Id: <20221213183305.544644-5-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20221213183305.544644-1-konrad.dybcio@linaro.org> References: <20221213183305.544644-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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?1752124904370996591?= X-GMAIL-MSGID: =?utf-8?q?1752124904370996591?= Add a fallback CCI compatible, as required by bindings. Signed-off-by: Konrad Dybcio --- Changes in v2: - new patch arch/arm64/boot/dts/qcom/sm8450.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi index a8f8ffd728d7..a9ed8443ac02 100644 --- a/arch/arm64/boot/dts/qcom/sm8450.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi @@ -2554,7 +2554,7 @@ IPCC_MPROC_SIGNAL_GLINK_QMP }; cci0: cci@ac15000 { - compatible = "qcom,sm8450-cci"; + compatible = "qcom,sm8450-cci", "qcom,msm8996-cci"; reg = <0 0xac15000 0 0x1000>; interrupts = ; power-domains = <&camcc TITAN_TOP_GDSC>; @@ -2593,7 +2593,7 @@ cci0_i2c1: i2c-bus@1 { }; cci1: cci@ac16000 { - compatible = "qcom,sm8450-cci"; + compatible = "qcom,sm8450-cci", "qcom,msm8996-cci"; reg = <0 0xac16000 0 0x1000>; interrupts = ; power-domains = <&camcc TITAN_TOP_GDSC>; From patchwork Tue Dec 13 18:33:05 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 32920 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp294780wrn; Tue, 13 Dec 2022 10:36:22 -0800 (PST) X-Google-Smtp-Source: AA0mqf4EUXy30GuQDJzUK15oGe15bLVqEbs5RH86KAOiOkQAhd0nyp7WBmr/9xwdJoweSUyOXgk7 X-Received: by 2002:a17:906:2297:b0:7c1:6344:840 with SMTP id p23-20020a170906229700b007c163440840mr10529790eja.24.1670956582416; Tue, 13 Dec 2022 10:36:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670956582; cv=none; d=google.com; s=arc-20160816; b=BwHUlwl4JdrgFwoy+ed6eqMCrzdN20HmwauRePPN97ZSnBWlJIw+sZIAJaR45FoiYy qRnGmaAUPuyqtzRoP4KBeELsdFFPlYkcIoijmJaaBoTPim6o70M+uKteVjhvBlS6GfiJ uJN+9CQZKcJNjGZmoqX1LDt94kvrwP3KarHqUABLXAhTUxcEUlYCq52ZJJY+9m4UHBOq gS0IMLopa++KQYx4NLv5z0SK42ZKpkZpO3Wj2j7cVuw0vYUT13BV/c+O5/sjkweuZDs5 NIB99rVXfI8IlDKXqPSL/VpQOXQvTSZZZHxsZBZIhAE0pxUTUqvoBzrQi+2/ifErLe2d RUkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2l+AXlkbxgNmUyTRU1MNT9VBG4C9+qJhmYSE2pQfryc=; b=vruey0PBR0EfEXbB3Kcm5tkl9GvyiWur/lFiZqyaf3wB6l3sfYAYWJQUynMzsCQ+2o Jb6LSeQcDzPKdN646w8s7U8t6VGP0pbGgWGK+TZCgfuCScLe3waQAwMetkO8R1HbDVuj i/o2UEjvmkbOx0sU6sdZNh3sAJpeIHTFq/n3VFK91PUWfPmSvBAnZl77goN1kXqd4xOz SQICjSyeP4WuywRAgWhiAgobJsg2FGfIhnRoqs/VRjwnS5pLJqiuPlq90exJ3/EtKpdz uGQCXApoj4lpchOm4d64E71bvmSYRUjdAmoZifojdBQOxTwdxkmsBsEUcrASsrgIpK3F pz5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hZ0Z3HPq; 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 hc17-20020a170907169100b007c0b71dfd96si10602128ejc.734.2022.12.13.10.35.58; Tue, 13 Dec 2022 10:36:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=hZ0Z3HPq; 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 S236605AbiLMSdt (ORCPT + 99 others); Tue, 13 Dec 2022 13:33:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236599AbiLMSdW (ORCPT ); Tue, 13 Dec 2022 13:33:22 -0500 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1799524BF8 for ; Tue, 13 Dec 2022 10:33:21 -0800 (PST) Received: by mail-lf1-x12c.google.com with SMTP id c1so6362512lfi.7 for ; Tue, 13 Dec 2022 10:33:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=2l+AXlkbxgNmUyTRU1MNT9VBG4C9+qJhmYSE2pQfryc=; b=hZ0Z3HPqBRuQXe40KiDGCdasRHkvJ3/XZq+fUiQQWEppZ4EA7ps4V4ntf8Ytz4FDCm oGyW/CgF6rFdfWXTV/guUB9rALgZV+xRbUq5nXB7yhf/eMRN+wahpt3W56eAT4OSAYm5 6rvqdsJqMJcsEenfhp1oF3Mupvym33h9g6mjS1OUAFXRh+eCoWjQPSdcuD5URiSxgc96 UVgUhSELZmMuzUB24nsUs+2jxxAv6jtkvkux7TZND+Y0rx22MxNHt1YwwwVx0oUvC21b ZMiiNlCRs39mdH20rIvF/nUU+Rot6vgbTBYHt6LP6r3wSpPzotsKXtQcaC8f6hcEiCZM BbDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2l+AXlkbxgNmUyTRU1MNT9VBG4C9+qJhmYSE2pQfryc=; b=JocHIyRIayFQYrQ6prMtiwpNtG6yR4fqpwt5z7RGxQdqo+kKtl51f1sq/f1d4dB9pe DTnwE3f+6S78Tp3XjBsLU+wdqlLCzKzDKrCWgBShJTD6ORsLm1uson3KJvQMCQIOVs7x vTWsCn53W6rMwl8xVoVKPLOa/PVKjekCSxtcSUwLqItmujgpJOy59eMZdRc8/h1uW+57 Pih7bPcTPLnbJpzhncs3kX2iv0BR9pUUReiIQyUGy7r/JoXi55uuXNNq+GpzHXF6kdw+ 4Tq8CDci13ViGSHWGrIfEzE+ktB1LbHvif/rztjUzaM4KfvIYBnE71rk/aXFcav10cxj ZKbA== X-Gm-Message-State: ANoB5pk0Td2FJw0JJIVZfHZyNEYgwkAySfwclvLlLnd6FE1pPwtI2Gw2 FBPmYgjV6WRll6oJIAFKv6de1g== X-Received: by 2002:a05:6512:3495:b0:4b5:5616:ecd2 with SMTP id v21-20020a056512349500b004b55616ecd2mr5324020lfr.55.1670956400592; Tue, 13 Dec 2022 10:33:20 -0800 (PST) Received: from localhost.localdomain (abxh44.neoplus.adsl.tpnet.pl. [83.9.1.44]) by smtp.gmail.com with ESMTPSA id t10-20020a056512208a00b004b501497b6fsm465963lfr.148.2022.12.13.10.33.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Dec 2022 10:33:19 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Loic Poulain , Robert Foss , Rob Herring , Krzysztof Kozlowski , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 6/6] i2c: qcom-cci: Deprecate duplicated compatibles Date: Tue, 13 Dec 2022 19:33:05 +0100 Message-Id: <20221213183305.544644-6-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.0 In-Reply-To: <20221213183305.544644-1-konrad.dybcio@linaro.org> References: <20221213183305.544644-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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?1752124969421959509?= X-GMAIL-MSGID: =?utf-8?q?1752124969421959509?= Many compatibles have been introduced, pointing to the same config data. Leave a note reminding future developers to not do that again. Signed-off-by: Konrad Dybcio Reviewed-by: Krzysztof Kozlowski --- Changes in v2: - new patch drivers/i2c/busses/i2c-qcom-cci.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-qcom-cci.c b/drivers/i2c/busses/i2c-qcom-cci.c index a4b97fe3c3a5..01358472680c 100644 --- a/drivers/i2c/busses/i2c-qcom-cci.c +++ b/drivers/i2c/busses/i2c-qcom-cci.c @@ -811,9 +811,15 @@ static const struct cci_data cci_v2_data = { static const struct of_device_id cci_dt_match[] = { { .compatible = "qcom,msm8226-cci", .data = &cci_v1_data}, - { .compatible = "qcom,msm8916-cci", .data = &cci_v1_data}, { .compatible = "qcom,msm8974-cci", .data = &cci_v1_5_data}, { .compatible = "qcom,msm8996-cci", .data = &cci_v2_data}, + + + /* + * Legacy compatibles kept for backwards compatibility. + * Do not add any new ones unless they introduce a new config + */ + { .compatible = "qcom,msm8916-cci", .data = &cci_v1_data}, { .compatible = "qcom,sdm845-cci", .data = &cci_v2_data}, { .compatible = "qcom,sm8250-cci", .data = &cci_v2_data}, { .compatible = "qcom,sm8450-cci", .data = &cci_v2_data},