From patchwork Tue Feb 8 10:49:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 12738464 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0DEACC433EF for ; Tue, 8 Feb 2022 10:51:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=rObW6t5F2xQBYMa2NedKfn9pAqLNiN7fyN8U16SnPlU=; b=FhnBqj/M4GfHTK lBQVZg4Xn9jSXtq3bES4Wr4uuG1+MNB8S1DPvLO+mCpULpuVeAgpL0zInfmUndFF5Y1Bw4eQnKl5j RYbwepEp9wrLnWyMwUv5CQpQ4HIdPbEwdyp64g8P2XDSr7jG86rI92q26QTGzhYD86mcoVywX3Tra wN6Rb1t7lrYWxnNDG2Y3NaRPkgCHmHSW04gZvxfZtABfyzfk1DzfzyOlVg1tv56n/FTVXeFUWC5YV vWELJWYNmKsN79K7tsUfL8F9DcFTixuzYwZQ4zOHnpYxYxChRX6CEPh+S4pBfIM63Y0jWuYDoN15M jjXJX59ZxsOoPi8lGrRA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHO3t-00DRza-5x; Tue, 08 Feb 2022 10:49:29 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nHO3q-00DRz2-1X for linux-arm-kernel@lists.infradead.org; Tue, 08 Feb 2022 10:49:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1644317366; x=1675853366; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=ExAnA3KUM5ihqc3qu/vjIF3YfwTPLq/0oU/0/foiKj4=; b=QuMlefOFbzvpzaJAQqcbLNCP1jh79U0eK/hSuk+36ksDNX9fxEPFKPKT n3KGjHAjs8IyV02Pnpvir250XuQo+rTHhSYSAvuErwT+JCFXPZicPwOFA 3toPLcjRtmpQ0GRquTkl/y6l5XStpy81cZvHfJ0SsqxYJrn69uuG63nFi duPx6RajBXHRBFkI5yDJ+PYtDUZr3348wMyL4OA9TfNuMNhvYGiNFd1OS Z87s6GSam61dxDgXwTczsZmeokBpZqQryycsp7kTSdsihGVs5403ScJlM YAC6934iQAJ9YsE8d4oOoQVjwZFZBNayTeSyFlkiYNBmkYOC2t1fnRR3u g==; IronPort-SDR: CA61ojMJxtINYbptMgA/Jl1JNnAE0lc+jf1ytB3HHNzAZKYJB7/gOnPMzkPKA4tmhjMj1fflQb TpI6FlDL7KnhBnUJvCBhKz1LBCfyLUfmcizyM6uy4DYhrJ01UYiV+slz5T26oxkJi4F2qBWrnH rGH6cMs5E1u8qQwU3ubUTySxECXAX3R4He1c6W/Y1fcLj496gFTMm92uMvDlb0R2UdOMnp2aUE URCmzAw77komXXgpnX5hkkpEHEXzwxF/kmHRt5lY8VDR/h7hNSoo76ioeEq8JFvADYiGu/luS9 1StbxmIhjLItpvkImWqgCv2z X-IronPort-AV: E=Sophos;i="5.88,352,1635231600"; d="scan'208";a="152826392" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 08 Feb 2022 03:49:24 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.17; Tue, 8 Feb 2022 03:49:24 -0700 Received: from ROB-ULT-M18064N.mchp-main.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2375.17 via Frontend Transport; Tue, 8 Feb 2022 03:49:21 -0700 From: Tudor Ambarus To: , Subject: [PATCH v2 0/3] crypto: Convert atmel-crypto to YAML Date: Tue, 8 Feb 2022 12:49:15 +0200 Message-ID: <20220208104918.226156-1-tudor.ambarus@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220208_024926_131523_EACD1A7D X-CRM114-Status: UNSURE ( 8.45 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, alexandre.belloni@bootlin.com, Tudor Ambarus , linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, kavyasree.kotagiri@microchip.com, claudiu.beznea@microchip.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Convert Atmel AES, TDES and SHA documentation to yaml format. There is one binding defined per file. Keeping all bindings under the same yaml does not make sense, as these are individual IPs. With the conversion the clock and clock-names properties are made mandatory, to reflect how the drivers treat them: when these properties are not provided, the drivers return error. v2: - use generic "crypto" node name - drop redundant status = "okay" - it's the default state anyway - introduce empty line for readability - be specific and rename the bindings to let room for future possible lines of architectures. Tudor Ambarus (3): dt-bindings: crypto: Convert Atmel AES to yaml dt-bindings: crypto: Convert Atmel TDES to yaml dt-bindings: crypto: Convert Atmel SHA to yaml .../crypto/atmel,at91sam9g46-aes.yaml | 65 ++++++++++++++++++ .../crypto/atmel,at91sam9g46-sha.yaml | 59 ++++++++++++++++ .../crypto/atmel,at91sam9g46-tdes.yaml | 63 +++++++++++++++++ .../bindings/crypto/atmel-crypto.txt | 68 ------------------- 4 files changed, 187 insertions(+), 68 deletions(-) create mode 100644 Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-aes.yaml create mode 100644 Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-sha.yaml create mode 100644 Documentation/devicetree/bindings/crypto/atmel,at91sam9g46-tdes.yaml delete mode 100644 Documentation/devicetree/bindings/crypto/atmel-crypto.txt