From patchwork Thu Mar 17 22:58:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 552300 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 F0453C433EF for ; Thu, 17 Mar 2022 23:00:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229920AbiCQXCL (ORCPT ); Thu, 17 Mar 2022 19:02:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230047AbiCQXCL (ORCPT ); Thu, 17 Mar 2022 19:02:11 -0400 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DECEB147AFD for ; Thu, 17 Mar 2022 16:00:53 -0700 (PDT) Received: by mail-lj1-x22a.google.com with SMTP id bx44so2689808ljb.13 for ; Thu, 17 Mar 2022 16:00:53 -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=k6pGCFpZSVA4WdsVequ/uBV4TZcR3KGRwpFzQt31iO0=; b=isLQpVpqqqpoxVPtT8WrHxtM5GoA0rV+2IKxJmqv60ltU27HtXf/xyJ2Ppz5OdoonC Q8+TnxmwAn48uYay80ZFcY5QiOAg9OuxdiBxYH1MPBGlA4KrRBGSFLqq73S5cWYkqlN6 NtKSFXdcOCvcWKdw8XYy8kqrYsz6yzq2klfbEGXZQoZLOaXywCCPeFEbBy3uAUnkldNv ko3HqF8WEkdZbbC5WfIV61RgNOiBWvIJOU6b2Ad0t9WlHCsCnPjpxjvLzbtCWHYjKqVj /DqNs1l4b1nMCHKOG7xAkpa8SAsDUojQV56nXaFgCqSwUDy2hiidgcLI25Qdikdx/GKV KnLw== 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=k6pGCFpZSVA4WdsVequ/uBV4TZcR3KGRwpFzQt31iO0=; b=x7pSMywfj/X7IdMeR8URCKq7N480V+aPdK1mQLPGIEDjVYXj6kirhYzrE+IZ2w61oX Aq9Rw6xOvctaTToZ4NfdlRhiXMj7SakY1kRldojPd8eIaMLueJnEnF0ifKJwZuAICvuI cXJbqscWL4fCh26JIBSTJnX9s/mh7qzhMQ2+Dl2GgbObieht/OLHyVQEymX0dc/VpQMr J+VHhYzfhxMSpJMP26xrBZBnTlRMoxoLUAufteTDtiNC+a/kUJPi7OB9JPXZ6Cv3pvN8 4ZPY6NVPqivmMRo/BHeO6q/dqpdyKl3oxD+cNNbejfgk2fJT0/mx5PVGf3qNd6XJlBJ0 MpCQ== X-Gm-Message-State: AOAM530/+0zdy1hoLIx3voy34wl022Y5AaqMMELeGDrMPbhRZCYgIxfD X9DKpg3cvAv94kmbZsy94yiuHbR9j7T3WQ== X-Google-Smtp-Source: ABdhPJyxUj4uP2bWGRXszAdwLp7lM5cQT/CyvD3iLcClfAMJRw+eYpxHl0DUCy4dafeN5jmkwbGBYw== X-Received: by 2002:a2e:834f:0:b0:249:357c:bf28 with SMTP id l15-20020a2e834f000000b00249357cbf28mr4380677ljh.102.1647558052195; Thu, 17 Mar 2022 16:00:52 -0700 (PDT) Received: from localhost.localdomain (c-fdcc225c.014-348-6c756e10.bbcust.telenor.se. [92.34.204.253]) by smtp.gmail.com with ESMTPSA id 11-20020a2e154b000000b0024967cd674esm191876ljv.35.2022.03.17.16.00.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 16:00:51 -0700 (PDT) From: Linus Walleij To: Johan Hovold Cc: linux-kernel@vger.kernel.org, Linus Walleij , devicetree@vger.kernel.org, Krzysztof Kozlowski Subject: [PATCH 2/5 v2] dt-bindings: gnss: Modify u-blox to use common bindings Date: Thu, 17 Mar 2022 23:58:41 +0100 Message-Id: <20220317225844.1262643-2-linus.walleij@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220317225844.1262643-1-linus.walleij@linaro.org> References: <20220317225844.1262643-1-linus.walleij@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This modifies the existing U-Blox GNSS bindings to reference the common GNSS YAML bindings. Fixed an unrelated whitespace error while at it. Cc: devicetree@vger.kernel.org Cc: Krzysztof Kozlowski Signed-off-by: Linus Walleij --- ChangeLog v1->v2: - Change additionalProperties to unevaluatedProperties and cut the :true insertion of properties from the common props so new common properties get available immediately. --- .../devicetree/bindings/gnss/u-blox,neo-6m.yaml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml b/Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml index 396101a223e7..35a760cfd343 100644 --- a/Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml +++ b/Documentation/devicetree/bindings/gnss/u-blox,neo-6m.yaml @@ -6,6 +6,9 @@ $schema: http://devicetree.org/meta-schemas/core.yaml# title: U-blox GNSS Receiver Device Tree Bindings +allOf: + - $ref: gnss-common.yaml# + maintainers: - Johan Hovold @@ -29,27 +32,20 @@ properties: description: > Main voltage regulator - timepulse-gpios: - maxItems: 1 - description: > - Time pulse GPIO - u-blox,extint-gpios: maxItems: 1 description: > GPIO connected to the "external interrupt" input pin - + v-bckp-supply: description: > Backup voltage regulator - current-speed: true - required: - compatible - vcc-supply -additionalProperties: false +unevaluatedProperties: false examples: - |