From patchwork Tue Apr 30 16:29:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 10923973 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 648D1912 for ; Tue, 30 Apr 2019 16:30:58 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5419728CC2 for ; Tue, 30 Apr 2019 16:30:58 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4869428D14; Tue, 30 Apr 2019 16:30:58 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id C90B928D28 for ; Tue, 30 Apr 2019 16:30:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wOSXMiJrSL7gbdYBXTnzNdlKRDNRyZX4fm/foiHcyxM=; b=ZMpZ2Dq3pn6U9x OpPYhaV6FwCvEx/4YOHEBp1WP6My+MDYd+xHStM1JQc+oLNfoI5LKW996Ivt1Ld7/V9y/wBcNgXNm +Q7yrFz3KSwoP5adPcs5BKzzZn6PhCv9JmtKVNnrvKA9FBY9mS+yWzRaE7BP3T9/QfV4Z56QKRMgP hMTvYTVI/im8wQyb5jz2gkM4qFgEji6WZ/LoixnB9E+1BO5YoL9YfnqUnWzlAIB1xkKVGUSVmc6f9 lyTzgnNROq/8wXIszotyxmIodOmry77uJ4leP0ZzV2EbfJc6/hEg7Zmsq7JpH1U6K6xDXnrc/nB5n BxoHFRxQcZ08BaqPQ1Rw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hLVee-0005pY-GT; Tue, 30 Apr 2019 16:30:52 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hLVdg-0003Vg-AU for linux-arm-kernel@lists.infradead.org; Tue, 30 Apr 2019 16:29:58 +0000 Received: by mail-wr1-x441.google.com with SMTP id s18so21842478wrp.0 for ; Tue, 30 Apr 2019 09:29:51 -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=OZdMMD/d049PgXvrPSeOT8GlS+Kf7F/BVLM3iDmEjB8=; b=x32olgjIsDKXQnqTef0bHOIbkN+qEu+CC1h3ZDHczaZ96TaV8ivC5H1+nU6friSHZR wvWou7IHHUYvYPgeSYtMofzMQQeH2lxl/8AJ3iA94pZrovItQazLuZ82zMyR7JqCjOc/ ulrgiyFNbu7uMkBSwNGBG7fDhaCIhoQ5gLtIzbb45epmrY6iDxAjYQJnXfMmcALo+HmV 3yozRVBYQHAaI9LbtC2/ctgCLyKsAUzUJPm+psF4gR/4rIYBalStPMNzQr1h1aYlbnP5 16enTDW5eA/jlVqVTTNKetDNNrYfoWYOssu7Hciu0sJd7QWFDFdoF9dYbHpCLsGKnYYq 1WSw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=OZdMMD/d049PgXvrPSeOT8GlS+Kf7F/BVLM3iDmEjB8=; b=Hy1rWQ92TS1iXbWV4t62qrghmZydcL722BIFo/t6vIe7qHlK0nwknToa9yXtvwY8lX sGN2nKam8zUqJ6QBwSrunUbS9/AJG9ywnQr88TVPtpGGtv5aEKaYJ9j6TdGtROLck8RQ CI3Mf+AgjA46ypxp3puiGd9grJ6q/Mx4YmKRGurQrdXn3LnteTIEKR1yozoSNK4gVR6D TuSOG6ujpCXh3pHSL4AaBKOYwGV7aHAFVbl8Yb8ixON1wyoPt6pXT/LI8dUNL1w5jA2v Z7XW0M7dQJP90HKXrBWgzsAAo+sOgWx7ZT587fATtCcOkZUDwY5NoYm1ykHc3zB+kfXN t/YQ== X-Gm-Message-State: APjAAAWbX4TaO28N+1nRURscdRJmZgNpFVepuEmbhsslESuDurTr2K20 4l+iZasUWX1wXwxlVG/lwgC8lTCHNv91Zg== X-Google-Smtp-Source: APXvYqw3NRFWUcmKzt4tqocuhkSBoEawVFKii/IxnIPTo2/dCKgJdIaHgwPYMyDFehYGMUXKEN/4uw== X-Received: by 2002:adf:e486:: with SMTP id i6mr7676077wrm.42.1556641790585; Tue, 30 Apr 2019 09:29:50 -0700 (PDT) Received: from sudo.home ([2a01:cb1d:112:6f00:1ca3:6afc:30c:1068]) by smtp.gmail.com with ESMTPSA id t67sm5848890wmg.0.2019.04.30.09.29.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Apr 2019 09:29:49 -0700 (PDT) From: Ard Biesheuvel To: linux-crypto@vger.kernel.org Subject: [PATCH 5/5] dt-bindings: add Atmel SHA204A I2C crypto processor Date: Tue, 30 Apr 2019 18:29:09 +0200 Message-Id: <20190430162910.16771-6-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190430162910.16771-1-ard.biesheuvel@linaro.org> References: <20190430162910.16771-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190430_092952_754939_F030195A X-CRM114-Status: GOOD ( 10.50 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Ard Biesheuvel , linus.walleij@linaro.org, Rob Herring , joakim.bech@linaro.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add a compatible string for the Atmel SHA204A I2C crypto processor. Cc: Rob Herring Cc: Mark Rutland Signed-off-by: Ard Biesheuvel Reviewed-by: Linus Walleij --- Documentation/devicetree/bindings/crypto/atmel-crypto.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Documentation/devicetree/bindings/crypto/atmel-crypto.txt b/Documentation/devicetree/bindings/crypto/atmel-crypto.txt index 6b458bb2440d..a93d4b024d0e 100644 --- a/Documentation/devicetree/bindings/crypto/atmel-crypto.txt +++ b/Documentation/devicetree/bindings/crypto/atmel-crypto.txt @@ -79,3 +79,16 @@ atecc508a@c0 { compatible = "atmel,atecc508a"; reg = <0xC0>; }; + +* Symmetric Cryptography (I2C) + +Required properties: +- compatible : must be "atmel,atsha204a". +- reg: I2C bus address of the device. +- clock-frequency: must be present in the i2c controller node. + +Example: +atsha204a@c0 { + compatible = "atmel,atsha204a"; + reg = <0xC0>; +};