From patchwork Tue Jun 21 18:56:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 583925 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 8E831C43334 for ; Tue, 21 Jun 2022 18:57:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352255AbiFUS47 (ORCPT ); Tue, 21 Jun 2022 14:56:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52094 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351927AbiFUS47 (ORCPT ); Tue, 21 Jun 2022 14:56:59 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BB49B2A268 for ; Tue, 21 Jun 2022 11:56:57 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id a10so7987906wmj.5 for ; Tue, 21 Jun 2022 11:56:57 -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:mime-version :content-transfer-encoding; bh=MAE15+uRagTlK+c2TFhZlYB3GN3MmW6xrYt0iUHtakw=; b=qNHCwJDs3SVr2xlcN0pxTRz5pt6W/9NJzFsqYTDX70iKdgWjkM/A3o5DS58BfYkrL0 /VUN+O0WEzId26TKrER/ikSGMHZuRgJlPCdbWICl3Fo45DGa3j3VG3FmBScz/oAQnNjs hJg23bcg5wR8lqNIgXBF1vPaARlfA6Ti+I8yqFsdgR1ywd9YMLzdzvyPwZmgEEei0ueR aJKr+IL5KfsQvQRuZLr4ABYXM3V6LI26LACgeM1JRB6efRzxS7+fZGGKw+ro7zF2poWA +SmOx0B9TRmvM52ESqi+X5XbpMsPZs8gEHXsG703PLCKLFd3xWKXsnxyAWnqjKFTUnA0 qcWQ== 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:mime-version :content-transfer-encoding; bh=MAE15+uRagTlK+c2TFhZlYB3GN3MmW6xrYt0iUHtakw=; b=0yfMw1gNAscELiDqaCKXvFcteOTkfxggw3DZ2GWAqR2Rzxh/3jku+7vF876SX9hkG/ /UbeAoOVp3YiJ3kqHuFExVivlyiMmONHc3f4aLiPLTnYf0Di0wHxamz01+yvAEvDi4ZL 3GsabUEIPZe6iL8C0wCVU2Q+0ZxpuT+Xo+7T69DLWhdvoe74UTozO3Qal+tTSlhSRMSR hFihagySk59eR8yxWqp0OQaflpU2VjSpMlbevgmT4u/Bg5RhFZqDTeiAUkiR49aVq4Ft D2Bk8xorhG0HQeVjefXvbtGnbsWVYiSxqoPW0O5mPpvCJQ3VutzrKCDoFlnslsIy1BqU M3MQ== X-Gm-Message-State: AOAM5314oD1S5TibF5KJh5SA/ji0jq2M3eXlj1rgx5/tNG6nn5hAIJBr WMBendbPVZWjllwI7wVf8+4CsQ== X-Google-Smtp-Source: ABdhPJyMTmOn6VvC9oK/W0wrY5MF2afG5xmsce7eVsRzGKZu+UWBIiz85sb/bgOaQ6OEHyQXawZyOg== X-Received: by 2002:a7b:cc94:0:b0:39c:4507:e806 with SMTP id p20-20020a7bcc94000000b0039c4507e806mr42707775wma.91.1655837816332; Tue, 21 Jun 2022 11:56:56 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id f6-20020a1c6a06000000b003a0231af43csm294903wmc.48.2022.06.21.11.56.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jun 2022 11:56:55 -0700 (PDT) From: Krzysztof Kozlowski To: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Konrad Dybcio , Amit Pundir , Trilok Soni , Rob Clark , Stephan Gerhold , Kumar Gala , Stephen Boyd , Krzysztof Kozlowski Subject: [PATCH v2 0/2] dt-bindings: arm: qcom: qcom,board-id and qcom,msm-id Date: Tue, 21 Jun 2022 20:56:47 +0200 Message-Id: <20220621185649.37391-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hi, Changes since v1 ================ 1. Make the qcom,board-id and qcom,msm-id properties deprecated and limited to certain SoCs (Rob). 2. Extend the qcom,board-id schema to match OnePlus variant - four elements - and drop DTS patches splitting four into two touples (Stephan). Description =========== The discussion [1] brought several arguments for keeping the qcom,board-id and qcom,msm-id properties. Keeping means we should document them, so the DT schema checks pass. I revived old patch [2] with several changes and improvements. The commit msg hopefully collects feedback from the discussion. Best regards, Krzysztof [1] https://lore.kernel.org/r/a3c932d1-a102-ce18-deea-18cbbd05ecab@linaro.org/ [2] https://lore.kernel.org/all/1425503602-24916-1-git-send-email-galak@codeaurora.org/ Krzysztof Kozlowski (2): dt-bindings: arm: qcom: document qcom,msm-id and qcom,board-id arm64: dts: qcom: msm8992-xiaomi-libra: split qcom,msm-id into tuples .../devicetree/bindings/arm/qcom.yaml | 123 ++++++++++++++++++ .../boot/dts/qcom/msm8992-xiaomi-libra.dts | 2 +- include/dt-bindings/arm/qcom,ids.h | 30 +++++ 3 files changed, 154 insertions(+), 1 deletion(-) create mode 100644 include/dt-bindings/arm/qcom,ids.h