From patchwork Wed Jul 29 00:47:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 11690165 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 70B7F6C1 for ; Wed, 29 Jul 2020 00:48:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 57BE32076E for ; Wed, 29 Jul 2020 00:48:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="xHJHTx9H" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730881AbgG2AsN (ORCPT ); Tue, 28 Jul 2020 20:48:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730864AbgG2AsM (ORCPT ); Tue, 28 Jul 2020 20:48:12 -0400 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4A4DC0619D2 for ; Tue, 28 Jul 2020 17:48:11 -0700 (PDT) Received: by mail-pg1-x541.google.com with SMTP id l63so13300333pge.12 for ; Tue, 28 Jul 2020 17:48:11 -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=EfvldELvo7FLErlsWiPVmAKuN5/SSFt2LmTOBkch4kw=; b=xHJHTx9HefSaFKWD99K/a9Hxxsg14EZ0R7MjRerhC5HktfBA386qIt0TiPmveUYa8e Xh6QKnGdUkZODk+PZYNKQJ3Wy+8aaXe3dY7LIN9E/E/n74Aj4EKuRZlZqX8vZN6ddulD CjJsEJ65XjyBJK0HKWWo47QTOhKXHazH7/9M2ImseYflwXqDmFMuuzwFX7gy7mXHiADh +sMzlTGEtTqMsgz+/NwVxVEFfl8BVnhTmX8XbR2/CyfDRLLFWQiPo7F6aLNZF08vIYQF /KboZeV5uNNgsWP5UmnxJJaNvzeAwjjShKfH2lLlqzfFWsoQbF6xpIYUumE4rhxPQFDQ 61gQ== 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:mime-version :content-transfer-encoding; bh=EfvldELvo7FLErlsWiPVmAKuN5/SSFt2LmTOBkch4kw=; b=XUGYBjn/gKfs4yxpXUeiSubkN02cCu0mxSfFb9p/4BZymluMdIs3AJ3gqwD/mULJp0 lhYVBEUP9d37c4zQtC/4Sc7gqkIeXBL8oJ4xblb6g/c5/LlowCzDMIs9YUhqau83JJK4 OgHvV6m4mEJxdyiaa/FBU55EOjih0oNqxrguFmrR/2kUV8hB7MH458NfY0t2SVNnewM+ VP8UbuLdZr4qF/avecnkrol2QbKH9vbiV9PMSaqGbC/k0612KZjXurrvUJQl0DjDyP/N jQmWgKbaXyDvnq5+SM98YWuN5Qyof894WG1NkY+uXicjyjKntTHItA9Q47lqTSAppEHs kY2Q== X-Gm-Message-State: AOAM533KCQNLTC5HjY9R5auG3us5o9deQ4nv9nrkXStZ96h3q+HNJQM0 LomB2nSCsMdwGBW3a7xj8p8f2w== X-Google-Smtp-Source: ABdhPJytjlRHqA72yY0KPiWKOWc6Pn9lDKQnBeGMXjcmSmSP/8NoYvt4Jb6mHcI1wDmaqYEGo6JvaA== X-Received: by 2002:aa7:9422:: with SMTP id y2mr27652112pfo.211.1595983691313; Tue, 28 Jul 2020 17:48:11 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id q12sm239414pfg.135.2020.07.28.17.48.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jul 2020 17:48:10 -0700 (PDT) From: Bjorn Andersson To: Bjorn Andersson , Ohad Ben-Cohen , Baolin Wang , Rob Herring Cc: linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dt-bindings: hwlock: qcom: Remove invalid binding Date: Tue, 28 Jul 2020 17:47:57 -0700 Message-Id: <20200729004757.1901107-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org The Qualcomm hwlock is described in DeviceTree either directly on the mmio bus or split between a syscon and a mutex node, but as noted in [1] the latter is not valid DT, so remove any traces of this from the binding. [1] https://lore.kernel.org/r/CAL_JsqLa9GBtbgN6aL7AQ=A6V-YRtPgYqh6XgM2kpx532+r4Gg@mail.gmail.com/ Signed-off-by: Bjorn Andersson Reviewed-by: Rob Herring --- .../bindings/hwlock/qcom-hwspinlock.yaml | 25 +------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml b/Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml index 88f975837588..1c7149f7d171 100644 --- a/Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml +++ b/Documentation/devicetree/bindings/hwlock/qcom-hwspinlock.yaml @@ -25,37 +25,14 @@ properties: '#hwlock-cells': const: 1 - syscon: - $ref: "/schemas/types.yaml#/definitions/phandle-array" - description: - Should be a triple of phandle referencing the TCSR mutex syscon, offset - of first mutex within the syscon and stride between each mutex. - required: - compatible + - reg - '#hwlock-cells' -oneOf: - - required: - - reg - - required: - - syscon - additionalProperties: false examples: - - | - tcsr_mutex_block: syscon@fd484000 { - compatible = "syscon"; - reg = <0xfd484000 0x2000>; - }; - - hwlock { - compatible = "qcom,tcsr-mutex"; - syscon = <&tcsr_mutex_block 0 0x80>; - - #hwlock-cells = <1>; - }; - | tcsr_mutex: hwlock@1f40000 { compatible = "qcom,tcsr-mutex";