From patchwork Tue Mar 30 13:48:17 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 12172615 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A3D6C433DB for ; Tue, 30 Mar 2021 13:52:57 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8A1F5619AB for ; Tue, 30 Mar 2021 13:52:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8A1F5619AB Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:Cc:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=SQXWEJo7xadPI/qdQeuBm4EDvIbxsPlYawMvM5sV4yk=; b=Ci9WBFiJOsbDHylhzhPzqegbu DDZeOu2DE+BsQeQK5QQ53mT/jdm13kkZnl2C9oheuEDlcF5xsd5kI4dxDV0msCdiwYB988O6gCLFF otwszc5WlOck1Plf8u2I77Mc+1DRcdR+QDi4k7ftpjXM8wryOqx9vquvU9tEJXvuvlJngdk319TQ2 7ncgkpFT1QWrsUpSr+0/qlwMd1OTr7WMd1q5l3YQvjPgrQTbgWVEkb6OkTOKqI4HqdoPYW8LHqI3q nKGI1Sqh/aTaQ7AjgOf9Ux1aOaVB4LZ5N3gyuZaa45tcB3Pm2z4mBp1Xa2wrrX1Fyye1KycifaAhu RNsXv8H0Q==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lREmA-003rtu-9i; Tue, 30 Mar 2021 13:51:22 +0000 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lREjL-003rcV-7w; Tue, 30 Mar 2021 13:50:29 +0000 Received: by mail-ej1-x632.google.com with SMTP id ce10so24962653ejb.6; Tue, 30 Mar 2021 06:48:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=w25PhXv4L2UP3EkQ/RJPv5NSRmzp3Ufth6dz1A/da6E=; b=nmPmxCBmxi1ZkwFiHkJRo6oxkOn+0PVXMIbVGqFqGWUWAPEO5dO/ZXl8sT4oqQZdx4 jeOmUmmFZyjV/GEJ+fvbW11LPsYDETOg/CIcJqOPGJQOyvklU0i8amlUQ23D0Sk0Yyfy C17vnD6pWUPCXeY7KMiDnsQLaxjN40pBXVwgESFgzfakGGJiGFaSWcw9EaxHM5vPzgzX tBYVGxuOJJYaaNrARzGzo3X3XsDcAyqBQbd8F6e4nL7F8u5aR56YMTcF8mleacVSdSiA gi7WVX9kBaT5q2vDwFDisjBB9PM/AoovwRaeDVGQ65DcgfJg/NwZTMW+Cw15ugz8jUCA JeOQ== 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=w25PhXv4L2UP3EkQ/RJPv5NSRmzp3Ufth6dz1A/da6E=; b=mcvwB2pof+e0a/vty/dhuL2rrEaK/FI97I39eKHjNihjilQWWkkSWhkt+9/YCWdq1+ ZsDfhCCAmlr3OeaKDv9qyTOCd497bWNONx7TgfPbvyy8R1EeWYjrg4hme0qo/wxKkMbu warhu8m2JI3jf+H35JWPZf7Jb8ATmbiCXl82fgE9ESfaWspsJyE9tTriDgwHTUwx9/IZ T/JuM5hSBLo2bonOPBoeEqJYNqnE5gAmb5QHcd55p54kmpdgiJBJbOSAdZUDxQ4m9IO2 8QaajPiHi+VkDSWezblEVzYX6kiL9RNTW2s3zNM/9KjOt3yWL6+OShE2pOztU46lpR05 68JQ== X-Gm-Message-State: AOAM532ALnmMC/H5TLMk+i82K3/vE4HtrjZLFmKuejkTbILsdnM6HRHO /0QkUlBSAR7g4qeCIPhbHhw= X-Google-Smtp-Source: ABdhPJw/5pn1OWDyKa4Ye2Ri5EqfXdTOc2h8tqF/UYNJmcMZ/hcvRdVm0QT5D1qJZcNQ/PckqwALBg== X-Received: by 2002:a17:906:fcb2:: with SMTP id qw18mr32290739ejb.434.1617112106712; Tue, 30 Mar 2021 06:48:26 -0700 (PDT) Received: from localhost.localdomain ([188.24.140.160]) by smtp.gmail.com with ESMTPSA id l12sm11114681edb.39.2021.03.30.06.48.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Mar 2021 06:48:26 -0700 (PDT) From: Cristian Ciocaltea To: Rob Herring , =?utf-8?q?Andreas_F=C3=A4rber?= , Manivannan Sadhasivam Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-actions@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/6] dt-bindings: soc: actions: Add Actions Semi Owl socinfo binding Date: Tue, 30 Mar 2021 16:48:17 +0300 Message-Id: <15da0257b10aa62bfb7046437915d05a614c01ee.1617110420.git.cristian.ciocaltea@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210330_145027_504081_907432A9 X-CRM114-Status: GOOD ( 12.24 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add devicetree binding for the Actions Semi Owl socinfo driver. Signed-off-by: Cristian Ciocaltea --- .../bindings/soc/actions/owl-socinfo.yaml | 57 +++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/actions/owl-socinfo.yaml diff --git a/Documentation/devicetree/bindings/soc/actions/owl-socinfo.yaml b/Documentation/devicetree/bindings/soc/actions/owl-socinfo.yaml new file mode 100644 index 000000000000..01e4a8b4f5ac --- /dev/null +++ b/Documentation/devicetree/bindings/soc/actions/owl-socinfo.yaml @@ -0,0 +1,57 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/soc/actions/owl-socinfo.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Actions Semi Owl SoC info module + +maintainers: + - Cristian Ciocaltea + +description: | + Actions Semi Owl SoC info module provides access to various information + about the S500, S700 and S900 SoC variants, such as serial number or id. + +select: + properties: + compatible: + contains: + enum: + - actions,s500-soc + - actions,s700-soc + - actions,s900-soc + required: + - compatible + +properties: + compatible: + items: + - enum: + - actions,s500-soc + - actions,s700-soc + - actions,s900-soc + - const: simple-bus + +required: + - compatible + +additionalProperties: true + +examples: + - | + / { + compatible = "roseapplepi,roseapplepi", "actions,s500"; + model = "Roseapple Pi"; + #address-cells = <1>; + #size-cells = <1>; + + soc { + compatible = "actions,s500-soc", "simple-bus"; + #address-cells = <1>; + #size-cells = <1>; + ranges; + }; + }; + +...