From patchwork Fri Sep 3 11:20:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 506505 Delivered-To: patch@linaro.org Received: by 2002:a02:8629:0:0:0:0:0 with SMTP id e38csp906423jai; Fri, 3 Sep 2021 04:21:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzX/fkTxBgbPiJQ82lhOSoBRTKKTQDTt/37HEOoCY9Rd84KiNVHnG00xnOyXO9GkdG7uUt5 X-Received: by 2002:a6b:ba57:: with SMTP id k84mr174558iof.131.1630668100089; Fri, 03 Sep 2021 04:21:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630668100; cv=none; d=google.com; s=arc-20160816; b=dN1avKF4bDp2ny5Ij0L3aED6okqHHHjrFSw3jNPFqJ8iygonRaCkuYK7yIutiSdCGR 7J/stFYDQBFTLSE41FUZrwijZc6+Fgr/6QMajIu1+NcrKA0CnK3F7z2L8bhELgCLE7bb vR42+BsLhYdaphvtx2v2LUtbYrEPlfMfPKsza0nWgrkE3pUm9fDKHw2gsaAgSdqczY7v y5U8gj3QYjS3EmvOcApWeobG1xvBD6/xNAky2RXZpTLDK/vFwNnyAtNCDcy9Ibdvq1U7 mE4uNDLtRxV+ZQjbWSky7WSHEsBwKzdeW3bV7rCgjGXhdYUwqnA3QvtXTKbRjR/gvh74 6FWw== 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=//dKqQtyVNezpAIRnDOA9TcRJZDgQ0d9R3BICS21tDc=; b=f0Z3LH3ONrwJc5iqASMAvqvrJ8zs+G8Q3elS2FVpUzI6tOF8IQL+MG7z23NcYEIhR9 cvwyVgoNKE0H1oYrDVjC7LmEOQtXVy/kcIi9f+G599E6IFnQkVLQQ6r3vIQkaFqm/td+ stzTje/4FFBbFEV7uJYFnSZBX7gekNrCgbtHs+srWhuaiCe3z7kAGxagKRnksQUeASbJ SR6DW0FnrhczZSIlVVOuTtR5iTGD6pBbtcPbHO1dhySHJwGQMta6G3kIyYaiWWCMtlHa V3skZkGzT3NUt4+YNhVuJkJV9ewOhpMKatgw1DfhOL+LGzVUwhaG5bzHNYx4JDQUVKWK 5V5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="wmZS/Jpd"; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j9si175389ile.176.2021.09.03.04.21.39; Fri, 03 Sep 2021 04:21:40 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="wmZS/Jpd"; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S1348992AbhICLWi (ORCPT + 6 others); Fri, 3 Sep 2021 07:22:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349241AbhICLWf (ORCPT ); Fri, 3 Sep 2021 07:22:35 -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 8C402C061575 for ; Fri, 3 Sep 2021 04:21:35 -0700 (PDT) Received: by mail-wr1-x435.google.com with SMTP id g18so7723180wrc.11 for ; Fri, 03 Sep 2021 04:21:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=//dKqQtyVNezpAIRnDOA9TcRJZDgQ0d9R3BICS21tDc=; b=wmZS/JpdpDhKKOiUAcrscdLMLOUHMjFl5m+4MoOLjHpeYa7goPbKbBaCfQuPHBFdtR r6/+jssbulj32HuMqSQ48oFlcquv9/pzggC9xW/wPRY8wksFy7+r05H5ZdF+rNxS7kWS SA3Ktpm98Sm4ECMrwItZQ48B+E1BCGeVgyDNn4ylccO7YU7odqh8JwiHYtsh6ZzscUc4 kEaTgkZtUQjB9CenCE238k0C91+c/G+3EoeNeU1ecGHxo4MTbaYqUvMMcYPurlWAo0re e6My8mEfexB7InlMhXzSxuJiCK/skJuvyhmDkrOlAWT3Gb3LQnjSAzocKs/b0DC8nTYj i3/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=//dKqQtyVNezpAIRnDOA9TcRJZDgQ0d9R3BICS21tDc=; b=fe6538X18l5vuL5dmV9wk/ulI1Q71Xf/6l+xfQHk/DurTAO5XLSaVyCOcP3A8qG/p2 pfPYWns5xvjqyJe2id+aIFd4M9ttU6mULBXf7FR31TEJ2iw1HWJAEaL/cAo5RQ7Cbeas kYqUMfufNrm5UYeixrU/RFpzvvSuXN3IOsMhnVWYC2Tt01/9uLS6GGJbpr7t39pl99NS 7gVkQjqI2UxXDbBFwZoJVdYtfVvlvMQaGKiIZFGWhUH0O87zI9eIv8/ukeq2qs+JRhjM tA4ruCaDeFdBGmk4CO4NqsEdXozGS8fTRXXnWxj3icrfaF8A9tPXWpL3rINmCjDE0z1A /iLA== X-Gm-Message-State: AOAM531o+2v+rq4tahwuDGj1TxpW5lxVv6JeEmf+qVwP7IZa+wojfuMw P1z3h17wmljwj3k7F+7puHKOcw== X-Received: by 2002:adf:c550:: with SMTP id s16mr3529756wrf.25.1630668094060; Fri, 03 Sep 2021 04:21:34 -0700 (PDT) Received: from srini-hackbox.lan (cpc86377-aztw32-2-0-cust226.18-1.cable.virginm.net. [92.233.226.227]) by smtp.gmail.com with ESMTPSA id f20sm3881877wmb.32.2021.09.03.04.21.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Sep 2021 04:21:33 -0700 (PDT) From: Srinivas Kandagatla To: bjorn.andersson@linaro.org, broonie@kernel.org, robh@kernel.org Cc: plai@codeaurora.org, tiwai@suse.de, devicetree@vger.kernel.org, perex@perex.cz, alsa-devel@alsa-project.org, lgirdwood@gmail.com, bgoswami@codeaurora.org, Srinivas Kandagatla Subject: [PATCH v5 02/21] soc: dt-bindings: qcom: apr: deprecate qcom, apr-domain property Date: Fri, 3 Sep 2021 12:20:13 +0100 Message-Id: <20210903112032.25834-3-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20210903112032.25834-1-srinivas.kandagatla@linaro.org> References: <20210903112032.25834-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org replace usage of qcom,apr-domain property with qcom,domain property so that bindings and driver can be reused. Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/soc/qcom/qcom,apr.yaml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) -- 2.21.0 Reviewed-by: Rob Herring diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml index 133e9c6cd961..922c8567c134 100644 --- a/Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml +++ b/Documentation/devicetree/bindings/soc/qcom/qcom,apr.yaml @@ -31,6 +31,20 @@ properties: 5 = Application processor Domain 6 = Modem2 Domain 7 = Application Processor2 Domain + deprecated: true + + qcom,domain: + $ref: /schemas/types.yaml#/definitions/uint32 + enum: [1, 2, 3, 4, 5, 6, 7] + description: + Selects the processor domain for apr + 1 = APR simulator + 2 = PC Domain + 3 = Modem Domain + 4 = ADSP Domain + 5 = Application processor Domain + 6 = Modem2 Domain + 7 = Application Processor2 Domain '#address-cells': const: 1 @@ -89,7 +103,7 @@ patternProperties: required: - compatible - - qcom,apr-domain + - qcom,domain additionalProperties: false @@ -98,7 +112,7 @@ examples: #include apr { compatible = "qcom,apr-v2"; - qcom,apr-domain = ; + qcom,domain = ; #address-cells = <1>; #size-cells = <0>;