From mboxrd@z Thu Jan 1 00:00:00 1970 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 9A8ABC32793 for ; Wed, 18 Jan 2023 16:36:07 +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:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=NaaMomYngRB5sKb0tSbFFSJLFGNZ/iUUqWSzOviwIeU=; b=ybz/JBi9o45n6e 8jXDURSAznDzylrMnc1uUbEITLMQq6l7xTdBkAgNXtKdo6sO11JnMu/hkuW2q2e3e8KzQMgkXp7L6 0O59T493ChlsUIH33AZz3DQ2ujcvb5Lw+QeokljGOntCKgths8Bzc0TYvSOmNekEyyHSCa/waGujw 05UDBIlJeUxpTS6O1ghG62ezv7ZlgLUsqohUD1G0ALqo1mhNwZjL+IfKLzlcyLGsElAMB6v+LMKwD AtlQXB/stztiaxZM2ueu5zioH3Tt7UdUjbssHG9ZRniXdvkKlcw70Pf/fC7T0KRkerVxk4p6Y5iqJ MMqBX+XRhyj8cVKZLN8A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIBOn-001qzu-M1; Wed, 18 Jan 2023 16:34:53 +0000 Received: from mail-ot1-f45.google.com ([209.85.210.45]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pIBOj-001qyM-S3 for linux-arm-kernel@lists.infradead.org; Wed, 18 Jan 2023 16:34:51 +0000 Received: by mail-ot1-f45.google.com with SMTP id x21-20020a056830245500b006865ccca77aso731443otr.11 for ; Wed, 18 Jan 2023 08:34:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=NHCZmTVHrP18h7OzNIc6YzJ2Md15wHzbbI9y81VEo1s=; b=ORmenLSl9H4rhMzIP1ZW8jOCuPuBFcw6kKxUIgq4iZ6lc0JrWrhjOe8r4qFt3GCJ0/ j9Bu3VNq/jJksWH9M9Wy9K4yJjF3ag2QcMa3R6SDHJ8L4dtw9I4yClPzsvXWjFTh8FlL dHIx44ooprPHh/21W5JiquDishvND09gJ9/+mcaC0QxhlOk6+iuxJsSlC4erWEgHBIfJ N6+G8PVzHJ0jgnbsy+kx2J+ErFHpGRM5c5U5L+Huof4f8tl8yqfTJqvuTVd8rs5Hv6A0 0UUev8rciz2L+uGvlMZOV2RneOUn7KYcTMlpeJX03kPg4m2HD+SmsqPyLaT1j854MqU8 BgdQ== X-Gm-Message-State: AFqh2koYbyrVM+IS/GP1Y13v0s1l7Fr4r44qW73To1Zu5ocaEaq3acOX VS06KJbMBD7rT7jt/4MRQg== X-Google-Smtp-Source: AMrXdXvKu6JsB/GYQJuShHq2oPKg3M1pnMgLvFw9mt63zyUQp0okYXBcZaeSEdwx3ox8j3MfCt4hCw== X-Received: by 2002:a9d:61d9:0:b0:66e:43e3:449 with SMTP id h25-20020a9d61d9000000b0066e43e30449mr4206546otk.14.1674059686898; Wed, 18 Jan 2023 08:34:46 -0800 (PST) Received: from robh_at_kernel.org ([4.31.143.193]) by smtp.gmail.com with ESMTPSA id o15-20020a9d764f000000b0066b9a6bf3bcsm18493668otl.12.2023.01.18.08.34.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Jan 2023 08:34:46 -0800 (PST) Received: (nullmailer pid 128779 invoked by uid 1000); Wed, 18 Jan 2023 16:34:45 -0000 Date: Wed, 18 Jan 2023 10:34:45 -0600 From: Rob Herring To: nick.hawkins@hpe.com Cc: verdun@hpe.com, krzysztof.kozlowski+dt@linaro.org, lee@kernel.org, linux@armlinux.org.uk, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 2/5] dt-bindings: i2c: Add hpe,gxp-i2c Message-ID: <20230118163445.GA125487-robh@kernel.org> References: <20230117204439.76841-1-nick.hawkins@hpe.com> <20230117204439.76841-3-nick.hawkins@hpe.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230117204439.76841-3-nick.hawkins@hpe.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230118_083449_923496_8464256E X-CRM114-Status: GOOD ( 20.04 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Jan 17, 2023 at 02:44:36PM -0600, nick.hawkins@hpe.com wrote: > From: Nick Hawkins > > Document compatibility string to support I2C controller > in GXP. > > Signed-off-by: Nick Hawkins > > --- > > v2: > *Removed uneccessary size-cells and address-cells > *Removed phandle from hpe,sysreg-phandle > *Changed hpe,i2c-max-bus-freq to clock-frequency > --- > .../devicetree/bindings/i2c/hpe,gxp-i2c.yaml | 54 +++++++++++++++++++ > 1 file changed, 54 insertions(+) > create mode 100644 Documentation/devicetree/bindings/i2c/hpe,gxp-i2c.yaml > > diff --git a/Documentation/devicetree/bindings/i2c/hpe,gxp-i2c.yaml b/Documentation/devicetree/bindings/i2c/hpe,gxp-i2c.yaml > new file mode 100644 > index 000000000000..2f718d9ad504 > --- /dev/null > +++ b/Documentation/devicetree/bindings/i2c/hpe,gxp-i2c.yaml > @@ -0,0 +1,54 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/i2c/hpe,gxp-i2c.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: HPE GXP SoC I2C Controller > + > +maintainers: > + - Nick Hawkins > + > +allOf: > + - $ref: /schemas/i2c/i2c-controller.yaml# > + > +properties: > + compatible: > + const: hpe,gxp-i2c > + > + interrupts: > + maxItems: 1 > + > + reg: > + maxItems: 1 > + > + clock-frequency: > + default: 100000 > + > + hpe,sysreg: > + $ref: /schemas/types.yaml#/definitions/phandle > + description: Phandle to syscon used to control the system registers. Not too useful of a description. Something about what bits you need to access and what they do would be useful. > + > +required: > + - compatible > + - reg > + - interrupts > + > +unevaluatedProperties: false > + > +examples: > + - | > + i2c@2600 { > + compatible = "hpe,gxp-i2c"; > + reg = <0x2500 0x70>; > + interrupts = <9>; > + #address-cells = <1>; > + #size-cells = <0>; > + hpe,sysreg = <&sysreg_system_controller>; > + clock-frequency = <10000>; > + > + eeprom@50 { > + compatible = "atmel,24c128"; > + reg = <0x50>; > + }; > + }; > -- > 2.17.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel