Message ID | 20230620103909.37582-4-wsa+renesas@sang-engineering.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3572408vqr; Tue, 20 Jun 2023 03:51:02 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7QzQUZKGDNJDS24299IfNTWntk2OhuyeQi2MC8qCU2swdBsbDswCuCnZhXwrIAJndMuBL1 X-Received: by 2002:a05:6a21:32a0:b0:120:80ba:3df0 with SMTP id yt32-20020a056a2132a000b0012080ba3df0mr2982793pzb.27.1687258262291; Tue, 20 Jun 2023 03:51:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687258262; cv=none; d=google.com; s=arc-20160816; b=UKN4y6MJ0a+/yC07womo5gLp20ltLYOqbhQS6+ZR719WMbhxrJTQQPqbot74oZgC9Y ljAEJiOOvEXPB3TVqMYbVE5kIaWfpP3AXKSkHU3rMeseQCyra/aBDz6sJQoqn2l6ExI9 p1tZDkk6J2Z0pNmPe1ae4tCuSRi2q9dUyfiG2IIP/sgCelxBhTx1WfvIAjUJsMxds/LU A/oQkPIADab0ipXLrBjSLfI9+rQ+U1QofR/Hit0bBtcNjYIE5ZiJwlctI60DPByJ4qmQ uOL6TdnRm86KPIhp4Jy+VmQK87cfBk+Q52Li8Xy3tOMtWjiooxERYuoP3GZcl7Ee7uyJ apaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=egKlPUE8ZVyOHmsx92MkRbLbqEdbExGpazWJ/AEagwY=; b=eYBv/tKNsLZR4rnMbe3RklKhAArH+GkXHs0voLGeM1Id4bKlpJ/rQ2eumThxNwJepP UvdsZS/wM8Kp2IC5VMplaVrDh0PS/fGXFA28jA9nAg2kHE914NLo0TMMhE5zFpoeHwZz vYlevt3oU/I0jRG2elnbDXCwtuXkuRI4zYTz4aNFy5USR5VTt2JDvowATb/40mkRIP3s gXqW7HuFNL45uUqpkFgo3IELghKBC67L65p5qln1/KNXi8gOUb8YNVZcGJs/2rOazuDe zGSi/k+z5nGfgqHj7EJpSsrEfOhXFqNw1581oMyZurSI/h6mGGvW6EvRZm/YSV2ERlZL 5RlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=aX0RyTv4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u64-20020a638543000000b00553ce42135csi1442444pgd.812.2023.06.20.03.50.49; Tue, 20 Jun 2023 03:51:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@sang-engineering.com header.s=k1 header.b=aX0RyTv4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232281AbjFTKjx (ORCPT <rfc822;duw91626@gmail.com> + 99 others); Tue, 20 Jun 2023 06:39:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232196AbjFTKjj (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 20 Jun 2023 06:39:39 -0400 Received: from mail.zeus03.de (www.zeus03.de [194.117.254.33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8D9C10D0 for <linux-kernel@vger.kernel.org>; Tue, 20 Jun 2023 03:39:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=sang-engineering.com; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=k1; bh=tQR0dWwr8w4Ycm Bt80qqUYFnqdWmFqmB5wVjdVTNQGI=; b=aX0RyTv49uKNK1StgC86X7o4GVifF5 L1mkoGXFqymtcBtohUJjjWCnnlZPBNgNnsRLpzdc10oWI5GQ2cri41QRyBQPGjmP k01F1OCQs90sV/YH9oKq+J1R7LC2UYulzv/Lqnt6h6MzXnm9ikbax6IyCldyG7SA sRo+apN62cWow= Received: (qmail 601116 invoked from network); 20 Jun 2023 12:39:27 +0200 Received: by mail.zeus03.de with ESMTPSA (TLS_AES_256_GCM_SHA384 encrypted, authenticated); 20 Jun 2023 12:39:27 +0200 X-UD-Smtp-Session: l3s3148p1@QoLpQ43+vIxehhtC From: Wolfram Sang <wsa+renesas@sang-engineering.com> To: linux-renesas-soc@vger.kernel.org Cc: Johan Hovold <johan@kernel.org>, Wolfram Sang <wsa@kernel.org>, Geert Uytterhoeven <geert+renesas@glider.be>, Magnus Damm <magnus.damm@gmail.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC PATCH v2 3/3] arm64: dts: renesas: ulcb-kf: add node for GPS Date: Tue, 20 Jun 2023 12:39:08 +0200 Message-Id: <20230620103909.37582-4-wsa+renesas@sang-engineering.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20230620103909.37582-1-wsa+renesas@sang-engineering.com> References: <20230620103909.37582-1-wsa+renesas@sang-engineering.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769218519728978346?= X-GMAIL-MSGID: =?utf-8?q?1769218519728978346?= |
Series |
gnss: updates to support the Renesas KingFisher board
|
|
Commit Message
Wolfram Sang
June 20, 2023, 10:39 a.m. UTC
From: Wolfram Sang <wsa@kernel.org> Add the node for the GPS receiver and its VCC supply. Signed-off-by: Wolfram Sang <wsa@kernel.org> --- Changes since RFC v1: * rebased because of patches dropped and refactored * added static vcc-suplly @Geert: Not sure if we need so many fixed 3v3 regulators. Most of the other ones more or less directly derive from d_3v3. Or do you prefer it this way? arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
Comments
Hi Wolfram, On Tue, Jun 20, 2023 at 12:39 PM Wolfram Sang <wsa+renesas@sang-engineering.com> wrote: > From: Wolfram Sang <wsa@kernel.org> > > Add the node for the GPS receiver and its VCC supply. > > Signed-off-by: Wolfram Sang <wsa@kernel.org> > --- > Changes since RFC v1: > * rebased because of patches dropped and refactored > * added static vcc-suplly Thanks for the update! > @Geert: Not sure if we need so many fixed 3v3 regulators. Most of the > other ones more or less directly derive from d_3v3. Or do you prefer it > this way? Probably all of them should refer to ®_3p3v instead... > --- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi > +++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi > @@ -39,6 +39,13 @@ accel_3v3: regulator-acc-3v3 { > regulator-max-microvolt = <3300000>; > }; > > + d_3v3: regulator-d-3v3 { ... but if you want to keep it like this for now, please name it appropriately (s/d/gnss/g). > + compatible = "regulator-fixed"; > + regulator-name = "d-3v3"; > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > + }; > + > hdmi_1v8: regulator-hdmi-1v8 { > compatible = "regulator-fixed"; > regulator-name = "hdmi-1v8"; The rest LGTM. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
> > @Geert: Not sure if we need so many fixed 3v3 regulators. Most of the > > other ones more or less directly derive from d_3v3. Or do you prefer it > > this way? > > Probably all of them should refer to ®_3p3v instead... Yes, I like this. I will refactor it into a seperate series.
diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi index e62f5359f64b..dd1ffc31c874 100644 --- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi +++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi @@ -39,6 +39,13 @@ accel_3v3: regulator-acc-3v3 { regulator-max-microvolt = <3300000>; }; + d_3v3: regulator-d-3v3 { + compatible = "regulator-fixed"; + regulator-name = "d-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + hdmi_1v8: regulator-hdmi-1v8 { compatible = "regulator-fixed"; regulator-name = "hdmi-1v8"; @@ -434,6 +441,13 @@ &scif1 { pinctrl-names = "default"; status = "okay"; + + gnss { + compatible = "u-blox,neo-m8"; + reset-gpios = <&gpio_exp_75 6 GPIO_ACTIVE_LOW>; + vcc-supply = <&d_3v3>; + current-speed = <9600>; + }; }; &sdhi3 {