Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp939650lqo; Wed, 8 May 2024 22:54:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVMJiICgVTCT0E4Esj9iECvTU/I7+zTZ5l9wSD1OjWwN0NohWjR5tqGFYd7d0BOEk0wGG2rKPHr3LrQghjP37H6wKiEIsVjb/ijD1ntgA== X-Google-Smtp-Source: AGHT+IHs3bikuxbDEoWyOygRzxl7apuEnkRck8F39IwWEAxEY3v5SoCD3ue3svrVhR00K5CNJHWh X-Received: by 2002:a05:620a:136b:b0:792:bc28:5ef4 with SMTP id af79cd13be357-792bc285fe4mr181950285a.3.1715234061903; Wed, 08 May 2024 22:54:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715234061; cv=pass; d=google.com; s=arc-20160816; b=WA5UJF1R5MY2VAuSTcabTiv0/ik+MeFF33liyDhiGzqi4cqoQG980tp9KGz1bzdOtq A6+CnScPreqXMRrq5m3yaUVxZkeVeDgh1U2kAqz4dNbk43bAsIgezKFeAL2MKZYwhpHG yMYOvjTrKyzqVSA5UBn/r/c2Sis4ru5gSA3oeFOFA7ZU1HLw8FVIDqpSUrFBbv8t3YuD rzYqlLU58zmpM+7a52nK7c4AGu3lauLCPgXFsUZM+NVCnej23vu9FMxYSPahGM9yoFZP lluBYu3pi3c4FXJ4N6nlEqVvo9xw2YtbyPh9lQMujlx/X+amriBZ7YiweSQSOjW+C7Gs CGOg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=owbqilDEAomP8oczD/m6aOTSEl1dqbqkmFrkSNCgt50=; fh=ommbGLdRvfYE67gHFz4kazuEDEhE/A1EeeLjMFr/yXw=; b=tYl257d0dhb0aRw2MYSGXpjG52xe92MhIwBoat2oaOn7Z5OYRLT1RMhy5x9N//OyW3 8t7+osdzQxncftVyg5yBrQqP1tUsKIoxpQwN4wXsbCrS/6xOG5HR9z4udISj4HgnOLW6 G1jXxBtSAJph0QK5iCBDWTRt0k8s02shnTUXjmUrsSh7vjpZq9L8SLPnkxPY7eHvo6BQ WCASwfgj9bP6W/A59Jq2Nd8aSBjgfWEpShBbAJa4I5+n1FeyO8ropgs7v3faf+43tZpC iR/GtR+SlqLvWL4Bq+LY1/pyPnUotBBZAEP5kJGz8jqOBleHowI3ZzVO1t8t4IrcHCt7 EVEQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=F8CddZrw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-174174-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174174-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-792bf277289si63230985a.107.2024.05.08.22.54.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 22:54:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-174174-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=F8CddZrw; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-174174-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-174174-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 909651C20F6C for ; Thu, 9 May 2024 05:54:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BFAB81494C7; Thu, 9 May 2024 05:54:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="F8CddZrw" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BFC201494B0; Thu, 9 May 2024 05:54:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715234054; cv=none; b=uGRodEj7xVQ25eYuVVKQzCJPhCTedeoWyOv31xY9rptBr+ToeZXGyCt0oIGws7o59OBCMWhED1Qi+fVsN32EaxW7vfB1VPm26YqWrm63Gdn2Z65E8XPP+7zAX7YmWwOxn5d1TIdzVBxuWlB3dpCbZ36JFTYX1NWHfwGjJ+/9uig= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715234054; c=relaxed/simple; bh=vh70fdrbReUpeG3Gpm7z0esgXW7NCGq6fbdWPKHWf84=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=rthuvwzIlAsxHyu4afqZCGZdSYwJfCoTmyR5E0R7vV1a7u8OcnUf4tGqfHKTZbbxQmBxvjjxZ3/aqxd2Fr+2ECnt+CbiSzxCg6TVUyiKHHuT3WshkGtvPp77kkFbqeknIiRZ82d836Uf3QtnmVAmH3KeAoZk4TumbVRbrv07LRg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=F8CddZrw; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4ACA6C116B1; Thu, 9 May 2024 05:54:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715234054; bh=vh70fdrbReUpeG3Gpm7z0esgXW7NCGq6fbdWPKHWf84=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=F8CddZrw4YItK/5AJsm1o/cbVVXv/84T3RlL4udgP3SpeFqEDwLyJrKTvj5ykI1hX 9N/jFL5IaYNFeWKbckq84lbW0+py7UI98A87RtbLqNBGdbPMcu3nWjHamO1HrCzB1a huHTUN5yP282CHJjvhrE6igy0vDG4aPC+7fVoGK5i3etL2tEq5uWOhV7t1gnNgwpgS 5MQiJfrH5SDx46RGg7CsAoTbACIVcQ+hdRi/EG6s57f4HNzB3TSGLdv1EkSu3deGMd YJHNTalkJSzFz/GpUzIpJCkSalmvpZ6vm2l+DYIOcpJfd0WbSG9aOGUAgcCHzu1SEa ty8J7kdtilRDQ== Message-ID: <52deb076-f2d0-4c61-9dac-079e3ae881b6@kernel.org> Date: Thu, 9 May 2024 07:54:06 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/4] dt-bindings: firmware: secvio: Add device tree bindings To: Frank Li , Vabhav Sharma Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Franck LENORMAND , Dong Aisheng , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Peng Fan , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Varun Sethi , Silvano Di Ninno , Pankaj Gupta , daniel.baluta@nxp.com References: <20240509-secvio-v1-0-90fbe2baeda2@nxp.com> <20240509-secvio-v1-1-90fbe2baeda2@nxp.com> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBuTQ307QWKbBQJgPO8PBQkUX63hAAo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t7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 09/05/2024 05:06, Frank Li wrote: > On Thu, May 09, 2024 at 02:45:32AM +0200, Vabhav Sharma wrote: >> Document the secvio device tree bindings. > > reduntant sentence. >> >> The tampers are security feature available on i.MX products and >> managed by SNVS block.The tamper goal is to detect the variation > ^^ space here > >> of hardware or physical parameters, which can indicate an attack. >> >> The SNVS, which provides secure non-volatile storage, allows to >> detect some hardware attacks against the SoC.They are connected > ^^ space here >> to the security-violation ports, which send an alert when an >> out-of-range value is detected. >> >> The "imx-secvio-sc" module is designed to report security violations >> and tamper triggering via SCU firmware to the user. >> >> Add the imx-scu secvio sub node and secvio sub node description. >> >> Signed-off-by: Franck LENORMAND >> Signed-off-by: Vabhav Sharma >> --- >> .../bindings/arm/freescale/fsl,scu-secvio.yaml | 35 ++++++++++++++++++++++ >> .../devicetree/bindings/firmware/fsl,scu.yaml | 10 +++++++ >> 2 files changed, 45 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/arm/freescale/fsl,scu-secvio.yaml b/Documentation/devicetree/bindings/arm/freescale/fsl,scu-secvio.yaml >> new file mode 100644 >> index 000000000000..30dc1e21f903 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/arm/freescale/fsl,scu-secvio.yaml >> @@ -0,0 +1,35 @@ >> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/arm/freescale/fsl,scu-secvio.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: NXP i.MX Security Violation driver > > Violation detect driver Bindings are not for drivers. Best regards, Krzysztof