From patchwork Sat Jul 23 09:09:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 593192 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 72F41C43334 for ; Sat, 23 Jul 2022 09:09:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236970AbiGWJJr (ORCPT ); Sat, 23 Jul 2022 05:09:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235896AbiGWJJq (ORCPT ); Sat, 23 Jul 2022 05:09:46 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65EDD5D598 for ; Sat, 23 Jul 2022 02:09:45 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id p10so3512453lfd.9 for ; Sat, 23 Jul 2022 02:09:45 -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=YBw+3Bz7rj9+anAYrnfPYOQY/KFGqLUHh3P+TF/Od+Y=; b=FxJyJAOxAQoOVOpOCjPukGUTIEwbgN2wBFPrem0jgPm/aYZa6xTfvjnr4O9faQ/1te NMMKZUky9nYJDvVtbYn3gBmF6nyZP/ikAcTdIZgnDyAvK+lUVCBK1uD7D5ITjBIX+ePS BpjDHH7CtGGP+nI89+IMOZoeCtMgi0FlxbFNw5bHhw+6chV2LcHbWKPAVLVz1kegsqQF s3pNj9GRREgLW9H2wcDdVPOTxGlIi3Ub3p9YUAyZV/O4iKIWUHtqSSf38vfOJetUxB0i OcT8T6O2LF7Ys26MqvRpSQu8aCP/yFHVOhWn1GeVm9UK694KPKUkbdkL1Fy5ytLm6t74 /7SA== 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=YBw+3Bz7rj9+anAYrnfPYOQY/KFGqLUHh3P+TF/Od+Y=; b=KX8M8ncoOwBIJyPpjqtaKo5URItTHIb7TBDTLAM/UeJjkwC5ixlfw6BUWsDjimz6Ec 9ocTbeKq7b2sl4Kme/N+Y8qMJYJGnRHne25J/SSOrjyqL1S81S+xm2qCV20+GtlYwJ3V TpsvNNZ7dobI7fr4JlT9tlJqsB1Op6nnBe3QdGLWqUj/x+PRjYuT7SOn9227v2HYKhtg QZBYDSA+LpidDlpNAE0p7LnTMxNEuXIIXSaeZscgdY7yKBSQjDy8+a3qBndbzeizZXaD ugJWlZtJFbDiUv+BgA3/2zcWpgF85p2rowXp0U0RpC8p1F13D+FUZGL/nzVwP1Itdgw9 ZcyQ== X-Gm-Message-State: AJIora+3668jgX22sN/rR/rUuQ64kC9W8Kk1Pzghyc2fIxSlQXs2WdC2 AYNGt6hWktqQnmp504LLwsF8RQ== X-Google-Smtp-Source: AGRyM1sU01wZzoVu9CaSl+6Vpx8va7Qx4yG6WEG0n4K9oR9Han8F0S6Ug+gH9UdmEVUHoyEAMgehfg== X-Received: by 2002:a05:6512:1112:b0:488:e0ac:fb41 with SMTP id l18-20020a056512111200b00488e0acfb41mr1627802lfg.456.1658567383652; Sat, 23 Jul 2022 02:09:43 -0700 (PDT) Received: from eriador.lan ([37.153.55.125]) by smtp.gmail.com with ESMTPSA id s29-20020a05651c049d00b0025d6a975c47sm1537636ljc.94.2022.07.23.02.09.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Jul 2022 02:09:42 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, Doug Anderson Subject: [PATCH 0/3] dt-bindings: arm: qcom: define schema, not devices Date: Sat, 23 Jul 2022 12:09:39 +0300 Message-Id: <20220723090942.1637676-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Describing each compatible board in DT schema seems wrong to me. It means that each new board is incompatible by default, until added to the DT schema. Adding support for more and more devices would grow this file indefinitely. Drop most of individual device-specific compatibility strings leaving just list of platforms in place. All entries which differ from two-item string array are left inplace. To ease review first patch provides just a scripted conversion, with all platform entries being unmodified, while second patch actually merges them into a single enum. Dmitry Baryshkov (3): dt-bindings: arm: qcom: stop describing individual boards dt-bindings: arm: qcom: merge simple platform definitions dt-bindings: arm: qcom: drop individual descriptions of Google devices .../devicetree/bindings/arm/qcom.yaml | 515 ++---------------- 1 file changed, 43 insertions(+), 472 deletions(-)