Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp116770lqo; Tue, 7 May 2024 14:09:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUfZeCJjDXH9mkmAI86YJOzY6NIHquy2ZKLy7SBcCm9bOxw8R77mEjJELBhGjxyBMBoANGfIHKI8gHlnXG5MgBqj5AhdvNGKxcTGXhNwQ== X-Google-Smtp-Source: AGHT+IFjdctNZG86Tqxeh43PrBQz3TqUaOFZNa5wc8EualYKgQSmDIsrn/eK2EsqS+bWWXWjBcbT X-Received: by 2002:a05:6358:93a7:b0:17c:308e:2154 with SMTP id e5c5f4694b2df-192d3157591mr99927255d.18.1715116152384; Tue, 07 May 2024 14:09:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715116152; cv=pass; d=google.com; s=arc-20160816; b=PexPP7w3sSCB3Uv77k5nyPoQwCoHZ2kSICjA5sy5a4LTc0/erOzguqegjeq4LtO9iI XNSFcUu3ryaallzwA5q7tu+ukGQlFeS4UQh/WYZJdxuU3dWDyfgkSMsdNK1NcJiW1sbG x/FNzLdPnB+Cgd0bvN1dfoJVKJxIg2CwMGNciq+vSPj7FZSdHq8FRvXapuVDUPlE3ekF nF9p6HQJ6KiXdtbbq+NFie7kAYdLEAXG9+I0ownS0jTHD+TA36DJoNuat2HvjlpsbBIs 8n8+yJNI0Pk98QDdDiiMKEjoTwam4VqLD8dEXyLquoxG+cPjV4bygoeE9igAbwjKFH+3 +N1w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=4rKu1xl3twoo4B0yCfoM2UUpsU7HhU5EYU/6AzYb400=; fh=5G1GXmmm7v5gZHlgavDzDURLj4QXRDiFMNofBQgT2+k=; b=Cj2yvU79yeiwR6piYngw7kjg12OZ/Nr5kCxfkmmu7dvovokCS22dN6TPLqUX3HUURn yLS5uQKGbAIm/TmzDvcGTR3z3/DbAuIoIspZKETmrdsJ6tncgsa9CPWCT+mTN2cveXIf GI7+wJIyrrZX7ZUQFtAf2YQe5t9x+CrzBzza886N5yhYGOOZl2DeomNLQBWvuGW1KjQC Zrbo+rB/YZ3XexWNptQQG4Nd5DcYjlK8T20NJ81rU4IufZBo3UNd18JiZj3WyjdvEJFH kCsDKgLW/n9vDNYk1BN1ziX7UKNHbCWeuLDxYXKddRRirDcD9I8YGFJSdW9BN6UIj8qI +Cbg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=H+Udq9h7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-172194-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172194-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id e9-20020a637449000000b005fcf848cb87si11020174pgn.120.2024.05.07.14.09.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 May 2024 14:09:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-172194-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=H+Udq9h7; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-172194-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-172194-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id E0878B20F17 for ; Tue, 7 May 2024 21:08:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DFC11150999; Tue, 7 May 2024 21:08:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="H+Udq9h7" 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 0C1A014B94D; Tue, 7 May 2024 21:08:12 +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=1715116093; cv=none; b=fPFpoXkuzFSWIir6j4QyYM8PT1WFtBT9/wzVE9oeY4ui6O+SnjpGmm4avoSru752TfEL3ZrIx5EY1ZL4ipGqmul15skt0IBhoovqVt6GWimmBE5/cxTQyraQyJWGhx8F3loenborfY0LI/kVOyG6fmH1tD4yNPoX4MgQZBWc780= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715116093; c=relaxed/simple; bh=P7YFeCpV4+T0sF0FudJ3/Z9lL7NXj9iDmHlNdiQ0EBU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=lJ8Ep2U3R6EhGfi1iJcMQB1quhPQ2mjd1OcE/MTT8BaGJ5j3QOx5TNgiMvaHbCBOohJ2S8oFd5owtzEfYrFlzCjwnoQtS/6HhHm1ctWkZCsypZk/Yy8JJoZkMU7+5K3LaGX8KKowGwjzOU/zVUso+BaLgAalCYzp+kyg+WCsiTw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=H+Udq9h7; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3FB22C3277B; Tue, 7 May 2024 21:08:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715116092; bh=P7YFeCpV4+T0sF0FudJ3/Z9lL7NXj9iDmHlNdiQ0EBU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H+Udq9h7uzXtLqy6Dc067Og3SvYswJPHR9dgxzq7fTKbqxJyih2m6TApVt5e5mGej kzFDH7UDIk3evXXq1bT5XKw8oNDwPApN6JYcTgQrFI9C+7vZps8+cyEmubEfOdjaFg R6cxbtT7ZZCAl+ZP/UEXkotHz27vFbP8POBjMR9tjymrFEOhXDnPirJpAotJpcwRBE L8tw6n3vTE9g6oK3RkfXkNaafOpDcnPSdBhKZW98fSix8gXsqBfYiHoAZbMc5oRMtM qkC2JqzBbZhe/xPhJVkXYyccABLR2AhRxuDwmGu8fCxGRqlFCWH1JEm7GW0UyjZTP2 gdLiwmJgpFKSA== From: Stephen Boyd To: Greg Kroah-Hartman Cc: Johan Hovold , linux-kernel@vger.kernel.org, patches@lists.linux.dev, Krzysztof Kozlowski Subject: [PATCH 03/12] dt-bindings: spmi: hisilicon,hisi-spmi-controller: clean up example Date: Tue, 7 May 2024 14:07:40 -0700 Message-ID: <20240507210809.3479953-4-sboyd@kernel.org> X-Mailer: git-send-email 2.45.0.rc1.225.g2a3ae87e7f-goog In-Reply-To: <20240507210809.3479953-1-sboyd@kernel.org> References: <20240507210809.3479953-1-sboyd@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Johan Hovold Clean up the binding example by dropping the unnecessary parent bus node, using a define for the second register value of the PMIC child and increasing indentation to four spaces. Signed-off-by: Johan Hovold Link: https://lore.kernel.org/r/20231130173757.13011-3-johan+linaro@kernel.org Acked-by: Krzysztof Kozlowski Signed-off-by: Stephen Boyd --- .../spmi/hisilicon,hisi-spmi-controller.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml b/Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml index eee7c8d4cf4a..3ccf35de3719 100644 --- a/Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml +++ b/Documentation/devicetree/bindings/spmi/hisilicon,hisi-spmi-controller.yaml @@ -54,20 +54,17 @@ unevaluatedProperties: false examples: - | - bus { - #address-cells = <2>; - #size-cells = <2>; + #include - spmi: spmi@fff24000 { + spmi@fff24000 { compatible = "hisilicon,kirin970-spmi-controller"; + reg = <0xfff24000 0x1000>; #address-cells = <2>; #size-cells = <0>; - reg = <0x0 0xfff24000 0x0 0x1000>; hisilicon,spmi-channel = <2>; pmic@0 { - reg = <0 0>; - /* pmic properties */ + reg = <0 SPMI_USID>; + /* pmic properties */ }; - }; }; -- https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git/ https://git.kernel.org/pub/scm/linux/kernel/git/sboyd/spmi.git