Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp819735rwl; Fri, 31 Mar 2023 02:55:21 -0700 (PDT) X-Google-Smtp-Source: AKy350aTCzlL5xr4a759Kx+HRjPSkocWVsia0M7uxlxedLmOmR369eE9Wxanrd5qKXbn5tLeTH47 X-Received: by 2002:a17:906:208:b0:931:5145:c51d with SMTP id 8-20020a170906020800b009315145c51dmr4981182ejd.0.1680256521342; Fri, 31 Mar 2023 02:55:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680256521; cv=none; d=google.com; s=arc-20160816; b=xHAC2oe54ZB0Sbx7T/Yiqee5iUGtuqQMYVABhicYg4++yQ6clBQeqR00Bn5UzXntnW 7YOR8GEYY3CLvZEl0ivjlYjWTeDyt/ou7XDqA1jD2gnMAhZcQMPeneoRECBzNled9R1f y0WUMcceSpnO1kswCG1KQkCzXBB7RLKCJeeFYbEGu0BlOAh8oyxSGwzU1AwCW+aHP7Hi 6b0dLTGiE07pqRtSO99n6PXjy/xI//2F+QK5uRo61HnkZKjmEl96qsivzeri/AxyX52+ bl5z1AwdoPeZq5/AtmGxPXEdls2rLD3BHhuFiq3CcH+jZdb6dXtJjKt3h3uvEFJCFyU/ 3M3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Xo2e908Td2gve6mc5SW+VA1nrFzqtdIPvQwGYibnpiE=; b=B+w4MiKufLUQuWyXDf9uLu+2N3t0PO25OQjXhHbdmFNIWU+UzBBsuOtegz9dqPo3D2 GEWtrPOxo5kJ9NWq8IYFb5GDZhGUXs5Dqc0rBPKatP7PQfebEe/qEZ/mDBua8DRovpfl 3Hzi54R/alm9xHSlp4gOPxwryICTqdrBi1v5go8QRPmZEflrC6i1eR7LC2t7JgYs36Rq 95kEE/x8uUWTmpbCDxzBkRZqbkCxMuZ9ca/wwSDrWrUWi8JG+wmJXcnAUk+XwNsiClDW yBta1gh0ieWpEFusnGP5oAOpRlNZZhiRk+4cbIRm00YJvBjXu1fVLgRu4eFDVbZlOPuM Qb+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=uBMQIM9o; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gv26-20020a1709072bda00b008d7a24d918csi1342233ejc.823.2023.03.31.02.54.55; Fri, 31 Mar 2023 02:55:21 -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=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=uBMQIM9o; 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 S232108AbjCaJly (ORCPT + 99 others); Fri, 31 Mar 2023 05:41:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232163AbjCaJlw (ORCPT ); Fri, 31 Mar 2023 05:41:52 -0400 Received: from mail-yw1-x1130.google.com (mail-yw1-x1130.google.com [IPv6:2607:f8b0:4864:20::1130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBF9E4EC9 for ; Fri, 31 Mar 2023 02:41:49 -0700 (PDT) Received: by mail-yw1-x1130.google.com with SMTP id 00721157ae682-5445009c26bso404711787b3.8 for ; Fri, 31 Mar 2023 02:41:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; t=1680255709; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Xo2e908Td2gve6mc5SW+VA1nrFzqtdIPvQwGYibnpiE=; b=uBMQIM9oghtu65OYry7lh4Mg9Ey6cTyShHDuQhNvkKE7cvwdYHy8HnejROCk4ISgBp n4e9O+dpRLoxInIr0AZo6wccf2QiNwAmGY6ht9Plojz33GD3k3FLmtt9lRBB2OoL5AhL q2tQFIWfJ/sC6d85vYFLRhLcrxJBPlr1eaExYaWQbIa5/50Jh2eHlnucVQQ3EXIqsMhF Xn7baerAqsPtuvTx5Dhgm9XDMjpTYzSMOsnAxiuciECoi/2dtVis3DjNLK35S0dVG0KG wAvNRlq2DbLnfG9+b2gm/R5ppzBZy9uGHsRoJDKHucpOb8KGlIogRpALWSfLixgMC6r8 opMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680255709; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Xo2e908Td2gve6mc5SW+VA1nrFzqtdIPvQwGYibnpiE=; b=Nigkcf2tIGib1n9mlV+V9NofOKKtRYbthJnsPfjocHoINo/SzwMXxXq4pZxo0pwyDB R2UrwTI9aCBaVdG091RzsgZBqpFy4rxZTXq9uS10jOuQQMYwWa/nbvPZetrdmJ+ODunh zFQdlaISfPq4yN2zcV7CVqbHO1tKO3hGsOcHtsCEVbhpUkaZISzLNS1aZfTGR2NY8ICn 05uuIF0aEywC08GMJSavfx+okQF7UAJQF57uJ/c9Rnnw87UNctU+PlzWcIgM9KqXtyyd xfzvDR2ClK1ZwuAlJd0OXitYVt51T1CT2prUFs9Yj0/s1A9+Txqk43+SZ4zXLZ6ivEW+ HLWQ== X-Gm-Message-State: AAQBX9fOyX0WHa7FgL46Tm7VPfzIAmECf7/IJKsI9n7buMAYLvTvzg7F 5qDySFQL+aL0ZstfPP46A0Dabti27pQ/JvVUdbEz7Q== X-Received: by 2002:a81:b620:0:b0:541:8995:5334 with SMTP id u32-20020a81b620000000b0054189955334mr13089289ywh.3.1680255709091; Fri, 31 Mar 2023 02:41:49 -0700 (PDT) MIME-Version: 1.0 References: <20230203-evk-board-support-v3-0-0003e80e0095@baylibre.com> <20230203-evk-board-support-v3-5-0003e80e0095@baylibre.com> <889be563-78d6-7148-f7d2-09ae21383ee4@collabora.com> In-Reply-To: <889be563-78d6-7148-f7d2-09ae21383ee4@collabora.com> From: Alexandre Mergnat Date: Fri, 31 Mar 2023 11:41:38 +0200 Message-ID: Subject: Re: [PATCH v3 05/17] arm64: dts: mediatek: add mt6357 device-tree To: AngeloGioacchino Del Regno Cc: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Chaotian Jing , Ulf Hansson , Wenbin Mei , Linus Walleij , Zhiyong Tao , =?UTF-8?Q?Bernhard_Rosenkr=C3=A4nzer?= , linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-mmc@vger.kernel.org, linux-gpio@vger.kernel.org, Alexandre Bailon , Fabien Parent , Amjad Ouled-Ameur Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org Le mer. 29 mars 2023 =C3=A0 15:17, AngeloGioacchino Del Regno a =C3=A9crit : > > Il 29/03/23 10:54, amergnat@baylibre.com ha scritto: > > From: Fabien Parent > > > > This new device-tree add the regulators, rtc and keys support > > for the MT6357 PMIC. > > > > Signed-off-by: Fabien Parent > > Signed-off-by: Alexandre Mergnat > > --- > > arch/arm64/boot/dts/mediatek/mt6357.dtsi | 282 ++++++++++++++++++++++= +++++++++ > > 1 file changed, 282 insertions(+) > > > > diff --git a/arch/arm64/boot/dts/mediatek/mt6357.dtsi b/arch/arm64/boot= /dts/mediatek/mt6357.dtsi > > new file mode 100644 > > index 000000000000..3330a03c2f74 > > --- /dev/null > > +++ b/arch/arm64/boot/dts/mediatek/mt6357.dtsi > > @@ -0,0 +1,282 @@ > > ..snip.. > > > + > > + keys { > > + compatible =3D "mediatek,mt6357-keys"; > > + > > + key-power { > > + linux,keycodes =3D ; > > + wakeup-source; > > + }; > > + > > + key-home { > > + linux,keycodes =3D ; > > + wakeup-source; > > KEY_HOME is a wakeup-source?! are you sure?! > > (P.S.: I'm just checking if that was intended) Yes it's the setup used in the official Mediatek Rity project. Regards, Alex