From patchwork Sun Jul 3 18:34:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 587655 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 18A9DCCA480 for ; Sun, 3 Jul 2022 18:35:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232809AbiGCSfY (ORCPT ); Sun, 3 Jul 2022 14:35:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232732AbiGCSfX (ORCPT ); Sun, 3 Jul 2022 14:35:23 -0400 Received: from mail-lj1-x22c.google.com (mail-lj1-x22c.google.com [IPv6:2a00:1450:4864:20::22c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7670BD4D for ; Sun, 3 Jul 2022 11:35:21 -0700 (PDT) Received: by mail-lj1-x22c.google.com with SMTP id r9so8549795ljp.9 for ; Sun, 03 Jul 2022 11:35:21 -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=Y8IkkEF4egC3rkEgWtJPxJ8ArxvMQw5ju4scGShbuOI=; b=dcZO+XEXqVI6lBTu1pbWv4FzDBL+GzNuPVE4zcv1kWfoO8AuGesGwm38bSzC39E6B2 gChT2X6Vjp/HsDyqgQDd842auAnF+dgaZz4sFrZCebNk2DZilyb4hxuLrch4+Ehw5EdW VkZnRc8btqBREk3FcUGWvoAtRoe7+Xdt2da8WuL/o4isrJZaz1wfuQGbDfi0S1wwK+Yw oKAud5LdkYuQQXuTTFIOOZ5HrFaz02NA4m+wWX1eM31yd6U5QVeUUDSH2jqBQa/YIM5s pNbUsf5BEhOhLhqF6huE5yTuG+5mz4XodimkWcxMCSrrdB5ghjWjpYPipkZUZS2ftFOy y5nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Y8IkkEF4egC3rkEgWtJPxJ8ArxvMQw5ju4scGShbuOI=; b=hNnxFrC/7YTeXaLinofeXqJk6ev1Mkc47HTxHMw10rNQTBRExuhCjUsIZr/xrZycXb nAwkPbwMqloSTIl8a6UTh2Zmn+OhwBFZLVss+VcIZe7HhYJrpyoEazTxhlmXIXkuQIPw jSupO/iRLCkGtjf0d2o3wt39I9KBz9IxGZbnD9KQQoA9BMMHE/mkVQ/bDVl82gws8fo4 qAezdgm6MWCdtR3uUnwzO8lVlu5dcVnjaujkKJuuJ3GWtTqw8HDiDW8rwy0QS8bV8FTv vEprEsUASr5vmxYUGCLjHpAwqWsFUVma2FqWcd7bWwXERyx1bAcB+wQDbMcfPwHEMwz2 LHMQ== X-Gm-Message-State: AJIora9XhXeAkHeYMlPOepl3VklHYRa8M4Q4VAQOMHCiGGdSXm19rSoP Gs0ZV85I2SH/108TXnuIN7DJmXQIDWQg1UJQQvU= X-Google-Smtp-Source: AGRyM1uFo1i/MRFrFZEDssmgTQ+njlO8c/6dj0jLYFkx9vj29tUzIRFbNBhZgB16vqbK0g6NJ8l0dA== X-Received: by 2002:a2e:9d8e:0:b0:25b:e468:6629 with SMTP id c14-20020a2e9d8e000000b0025be4686629mr13799339ljj.335.1656873319751; Sun, 03 Jul 2022 11:35:19 -0700 (PDT) Received: from krzk-bin.home ([84.20.121.239]) by smtp.gmail.com with ESMTPSA id n3-20020a056512310300b0047960b68eb5sm2020412lfb.40.2022.07.03.11.35.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Jul 2022 11:35:19 -0700 (PDT) From: Krzysztof Kozlowski To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v2 1/2] dt-bindings: hwinfo: group Chip ID-like devices Date: Sun, 3 Jul 2022 20:34:48 +0200 Message-Id: <20220703183449.12917-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220703183449.12917-1-krzysztof.kozlowski@linaro.org> References: <20220703183449.12917-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Group devices like Chip ID or SoC information under "hwinfo" directory. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. New patch --- .../bindings/{soc/renesas => hwinfo}/renesas,prr.yaml | 2 +- .../exynos-chipid.yaml => hwinfo/samsung,exynos-chipid.yaml} | 2 +- .../{soc/ti/k3-socinfo.yaml => hwinfo/ti,k3-socinfo.yaml} | 2 +- MAINTAINERS | 3 +++ 4 files changed, 6 insertions(+), 3 deletions(-) rename Documentation/devicetree/bindings/{soc/renesas => hwinfo}/renesas,prr.yaml (92%) rename Documentation/devicetree/bindings/{soc/samsung/exynos-chipid.yaml => hwinfo/samsung,exynos-chipid.yaml} (92%) rename Documentation/devicetree/bindings/{soc/ti/k3-socinfo.yaml => hwinfo/ti,k3-socinfo.yaml} (92%) diff --git a/Documentation/devicetree/bindings/soc/renesas/renesas,prr.yaml b/Documentation/devicetree/bindings/hwinfo/renesas,prr.yaml similarity index 92% rename from Documentation/devicetree/bindings/soc/renesas/renesas,prr.yaml rename to Documentation/devicetree/bindings/hwinfo/renesas,prr.yaml index 654c96638e75..792f371cec03 100644 --- a/Documentation/devicetree/bindings/soc/renesas/renesas,prr.yaml +++ b/Documentation/devicetree/bindings/hwinfo/renesas,prr.yaml @@ -1,7 +1,7 @@ # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 --- -$id: http://devicetree.org/schemas/soc/renesas/renesas,prr.yaml# +$id: http://devicetree.org/schemas/hwinfo/renesas,prr.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Renesas Product Register diff --git a/Documentation/devicetree/bindings/soc/samsung/exynos-chipid.yaml b/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml similarity index 92% rename from Documentation/devicetree/bindings/soc/samsung/exynos-chipid.yaml rename to Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml index 4bb8efb83ac1..95cbdcb56efe 100644 --- a/Documentation/devicetree/bindings/soc/samsung/exynos-chipid.yaml +++ b/Documentation/devicetree/bindings/hwinfo/samsung,exynos-chipid.yaml @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 %YAML 1.2 --- -$id: http://devicetree.org/schemas/soc/samsung/exynos-chipid.yaml# +$id: http://devicetree.org/schemas/hwinfo/samsung,exynos-chipid.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Samsung Exynos SoC series Chipid driver diff --git a/Documentation/devicetree/bindings/soc/ti/k3-socinfo.yaml b/Documentation/devicetree/bindings/hwinfo/ti,k3-socinfo.yaml similarity index 92% rename from Documentation/devicetree/bindings/soc/ti/k3-socinfo.yaml rename to Documentation/devicetree/bindings/hwinfo/ti,k3-socinfo.yaml index a1a8423b2e2e..dada28b47ea0 100644 --- a/Documentation/devicetree/bindings/soc/ti/k3-socinfo.yaml +++ b/Documentation/devicetree/bindings/hwinfo/ti,k3-socinfo.yaml @@ -1,7 +1,7 @@ # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 --- -$id: http://devicetree.org/schemas/soc/ti/k3-socinfo.yaml# +$id: http://devicetree.org/schemas/hwinfo/ti,k3-socinfo.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Texas Instruments K3 Multicore SoC platforms chipid module diff --git a/MAINTAINERS b/MAINTAINERS index 7c9187635801..cd7a6598436d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2629,6 +2629,7 @@ Q: http://patchwork.kernel.org/project/linux-renesas-soc/list/ C: irc://irc.libera.chat/renesas-soc T: git git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-devel.git next F: Documentation/devicetree/bindings/arm/renesas.yaml +F: Documentation/devicetree/bindings/hwinfo/renesas,prr.yaml F: arch/arm64/boot/dts/renesas/ F: drivers/soc/renesas/ F: include/linux/soc/renesas/ @@ -2679,6 +2680,7 @@ B: mailto:linux-samsung-soc@vger.kernel.org T: git git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git F: Documentation/arm/samsung/ F: Documentation/devicetree/bindings/arm/samsung/ +F: Documentation/devicetree/bindings/hwinfo/samsung,* F: Documentation/devicetree/bindings/power/pd-samsung.yaml F: Documentation/devicetree/bindings/soc/samsung/ F: arch/arm/boot/dts/exynos* @@ -2912,6 +2914,7 @@ M: Tero Kristo L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) S: Supported F: Documentation/devicetree/bindings/arm/ti/k3.yaml +F: Documentation/devicetree/bindings/hwinfo/ti,k3-socinfo.yaml F: arch/arm64/boot/dts/ti/Makefile F: arch/arm64/boot/dts/ti/k3-* F: include/dt-bindings/pinctrl/k3.h From patchwork Sun Jul 3 18:34:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 587049 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7DDB7C433EF for ; Sun, 3 Jul 2022 18:35:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232839AbiGCSf0 (ORCPT ); Sun, 3 Jul 2022 14:35:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232837AbiGCSfZ (ORCPT ); Sun, 3 Jul 2022 14:35:25 -0400 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 104A02E5 for ; Sun, 3 Jul 2022 11:35:23 -0700 (PDT) Received: by mail-lj1-x22d.google.com with SMTP id bx13so8588783ljb.1 for ; Sun, 03 Jul 2022 11:35:22 -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=AP2/efFfUDebdlE0yNTe8GyV2AogZFZgk7dz0GR3fBc=; b=zQUHevyZzzdk/XKbU9YZcSPXgVbNKQSP/3VAfGvhTDoY4imJX+B7kJRx8tjWAQDV28 VSqBbjaqGF/AQmbdqOl7hQGtt1x/KDpxUmJ41WbB070fwvbYZC9Dg+VmvT/9j6GQUJfC wDCpuySBT0Q4JL4h/krdHq6ZrwSw/VG90hPzl/xk6y46rKv1WjmFEXhrD4jgbrPyj1f+ xlEBo8xCFAW3AT8NaCQ4CpSCHSoIA9cHDsS9NrOcXFAVU9jsnWrHKT0JuXrB7iIUXES6 gHad3sBsv6uUeyBodAMO97pUHyWClr7Zs5xcs6SCbPWYxxXvN7gC+vWO+TBvCvhgJz57 8mLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AP2/efFfUDebdlE0yNTe8GyV2AogZFZgk7dz0GR3fBc=; b=PBVxSO3SR6XvCadQ1YxqkssTRydhNm2fLQ31fxH/QhYAxNewTT7xRfT5acxNEtzpCj LfUnNTqWQtvojV3BxID6Sst9bol8e+9Zhz95N/gUKVeAqP/6Z+KveKtq6NcyXDfgbqwP cVPGRD5HETHqBZTfbUcWhMqSePmRem4s1JhVxqCjHloxdwdXZIE+mY4sNn6uSp8qv+Ly nllUKVtYpfBMoYlxgQCZ67CVGIr/BX3qql8Nt11S0Z997GBDUBtH6AJhiU5S2VoShuTL 8JiOO/KkB77pWwSYRqhKRVnvYH+coJynAwf0faHxG2Y7xbhC7Z9SJXQzfqDzLRfM2OoF hnBg== X-Gm-Message-State: AJIora+M1H4RgjfV+dVIQM34y5CQCDj0fxHnFyBgcD+ragZYQVZ2VaKs ElTFGZyklMNzGZTTehfHimp6MA== X-Google-Smtp-Source: AGRyM1tzj6MYo9YvTk8sXWmAU4N52ZC5v/l8ZBIasempFqYnY03ZDamXfM5aDNHtpjpaLrPs0M77bQ== X-Received: by 2002:a2e:8558:0:b0:25a:742f:d7 with SMTP id u24-20020a2e8558000000b0025a742f00d7mr14118804ljj.178.1656873321335; Sun, 03 Jul 2022 11:35:21 -0700 (PDT) Received: from krzk-bin.home ([84.20.121.239]) by smtp.gmail.com with ESMTPSA id n3-20020a056512310300b0047960b68eb5sm2020412lfb.40.2022.07.03.11.35.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Jul 2022 11:35:20 -0700 (PDT) From: Krzysztof Kozlowski To: Geert Uytterhoeven , Magnus Damm , Rob Herring , Krzysztof Kozlowski , Alim Akhtar , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v2 2/2] dt-bindings: hwinfo: samsung,s5pv210-chipid: add S5PV210 ChipID Date: Sun, 3 Jul 2022 20:34:49 +0200 Message-Id: <20220703183449.12917-3-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220703183449.12917-1-krzysztof.kozlowski@linaro.org> References: <20220703183449.12917-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Document already used S5PV210 ChipID block. Signed-off-by: Krzysztof Kozlowski --- Changes since v1: 1. Move to hwinfo and rename. 2. Mention that device is already used. --- .../hwinfo/samsung,s5pv210-chipid.yaml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwinfo/samsung,s5pv210-chipid.yaml diff --git a/Documentation/devicetree/bindings/hwinfo/samsung,s5pv210-chipid.yaml b/Documentation/devicetree/bindings/hwinfo/samsung,s5pv210-chipid.yaml new file mode 100644 index 000000000000..563ded4fca83 --- /dev/null +++ b/Documentation/devicetree/bindings/hwinfo/samsung,s5pv210-chipid.yaml @@ -0,0 +1,30 @@ +# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/hwinfo/samsung,s5pv210-chipid.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Samsung S5PV210 SoC ChipID + +maintainers: + - Krzysztof Kozlowski + +properties: + compatible: + const: samsung,s5pv210-chipid + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + chipid@e0000000 { + compatible = "samsung,s5pv210-chipid"; + reg = <0xe0000000 0x1000>; + };