From patchwork Tue Jun 13 20:12:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring \(Arm\)" X-Patchwork-Id: 693322 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 92333EB64DC for ; Tue, 13 Jun 2023 20:13:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240863AbjFMUNV (ORCPT ); Tue, 13 Jun 2023 16:13:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56088 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239036AbjFMUM6 (ORCPT ); Tue, 13 Jun 2023 16:12:58 -0400 Received: from mail-il1-f174.google.com (mail-il1-f174.google.com [209.85.166.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0CFE41FC9; Tue, 13 Jun 2023 13:12:41 -0700 (PDT) Received: by mail-il1-f174.google.com with SMTP id e9e14a558f8ab-3408334f13bso2682305ab.3; Tue, 13 Jun 2023 13:12:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686687160; x=1689279160; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=oddYJI1Au0Bn0ZcRmQ0kDRSxDhbPMqnSUlKHFev/jqs=; b=J1DhJortaFpgNWtZdvjLDY8qwculWGy8KriBhCkX3CAjLgc9NdFl1A31tJ57vUgSpX mITPh34O7747QQy2pZO5Oa6Pm7eTdBn/rRpKF/j4jssoUY+SkQ6zUpj/IPcRVnwbCAWp 7s9fNQ2Cc1roE7RhfZqCZ5M4WL+s39F9Duq6ObTsFx8zSTOy2hUzE3fXM7bKobv3zl7O zkgEt51LAHcM6mDOnhKHD7mcuKQsN5mrjo7om5AwrKSJq/x7qGVy1sXGsR7BIszq0P2+ 0x/qdfKe12NiAbijzFWsL9/brgVb1VAy/8+Sn3Rpo++vfO5/EB7JlufAEBvLsTtx2LDQ Xazg== X-Gm-Message-State: AC+VfDyCb8ela5eye5oSlMmurim2KW39PidCI6ClaTF0Su8eeVHsW61I LV2mqGnbdYSWg8pmrAvLMQ== X-Google-Smtp-Source: ACHHUZ4ZjlbQhnvd4WwCh+2VWWgPQoAi0uSYLDOAA6PeQNVESD2t3GfM/OUN1AVNWSmf6dqcFZZQVA== X-Received: by 2002:a92:ddcf:0:b0:328:52d1:6415 with SMTP id d15-20020a92ddcf000000b0032852d16415mr11477350ilr.15.1686687160314; Tue, 13 Jun 2023 13:12:40 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id y10-20020a92d80a000000b0033e23a5c730sm4021994ilm.88.2023.06.13.13.12.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jun 2023 13:12:39 -0700 (PDT) Received: (nullmailer pid 2826527 invoked by uid 1000); Tue, 13 Jun 2023 20:12:36 -0000 From: Rob Herring To: =?utf-8?q?Horia_Geant=C4=83?= , Pankaj Gupta , Gaurav Jain , Herbert Xu , "David S. Miller" , Krzysztof Kozlowski , Conor Dooley Cc: linux-crypto@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] dt-bindings: crypto: fsl,sec-v4.0-mon: Add "linux,keycodes" and deprecate "linux,keycode" Date: Tue, 13 Jun 2023 14:12:30 -0600 Message-Id: <20230613201231.2826352-2-robh@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230613201231.2826352-1-robh@kernel.org> References: <20230613201231.2826352-1-robh@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org The "linux,keycode" property is non-standard. Add the common property "linux,keycodes" and mark "linux,keycode" deprecated so that the mistake is not propagated. Signed-off-by: Rob Herring --- .../devicetree/bindings/crypto/fsl,sec-v4.0-mon.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/devicetree/bindings/crypto/fsl,sec-v4.0-mon.yaml b/Documentation/devicetree/bindings/crypto/fsl,sec-v4.0-mon.yaml index 6052129bf852..e879bc0be8e2 100644 --- a/Documentation/devicetree/bindings/crypto/fsl,sec-v4.0-mon.yaml +++ b/Documentation/devicetree/bindings/crypto/fsl,sec-v4.0-mon.yaml @@ -105,6 +105,11 @@ properties: linux,keycode: $ref: /schemas/types.yaml#/definitions/uint32 default: 116 + deprecated: true + + linux,keycodes: + maxItems: 1 + default: 116 required: - compatible