Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (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 BB38037150 for ; Wed, 20 Sep 2023 14:47:41 +0000 (UTC) Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 010C5E4E for ; Wed, 20 Sep 2023 07:47:33 -0700 (PDT) Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-502a4f33440so11411856e87.1 for ; Wed, 20 Sep 2023 07:47:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695221252; x=1695826052; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=/cF+h5j15Rca2B8Ac70UcdcDuVaOzRHd+CtHU3r+VSA=; b=aab4BhcJPtrXm+QA7o67bXkoyOT7nNdsdAdQ3mooNefjfXQM6/nYyotQ2zv2FdfeMX 9AEVwFhRWZhA1SCspHH4cd19x5PDA9fhJ3/hPj85pA+A/qIf3vramc0UF1X95ttjtV2u wnjpszXZsnWWM0CUeWdZcb/lhIR2Zf8cGghlg6nxsTjiKutnjPlM/izY8SUSab/wRJPE 2StPYkRxpLL+pVk1Af+pbnG7BCSAgtqCz7RTxVOgzCFJecrJqUyjePJxBe6Ff4o60rH+ py5WWu9vstXk3s5PmGjMMpp4+PIkmTSaUmyduNjrXDWWOn4LEBa1sJSOCVi+NeZaWP5k crWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695221252; x=1695826052; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/cF+h5j15Rca2B8Ac70UcdcDuVaOzRHd+CtHU3r+VSA=; b=aOOL1xjfNolDwOz3D+RwHLX6QSjs5y+zREKUlD7GQMf3/qTfTJXqL1HWry0Q25Q2BB djVnQN2shvg6AqJg3IXv5hQ0YWSnBgS8bnoUpZuRMoczx+A6Y6fXy4Dkaep+EdTAY+PF h4D1lE46zBxAmYMMQVPsSHvQVPG0Bqhivdc81q17dQT5vFAo70ZEoc+FKqKQtoY1MLW5 zNfA+Pgft883HYqAKs1aZhIQ8t1SEGnb5ovMNh6VcwIqEg6GgSSJB/qU4AqYITRXH9+v LVfw41Yqz6G95+fb4CAqq/X6aPwoDzBpyXq1QZ0zPqvNOpOxlyLYabdS9oknGLo8CqvO vGOg== X-Gm-Message-State: AOJu0YxWq20gXJfsleyqs6HGRK1v4qGlqFWytKlOsd2b/ANw18sN0o/h COOSifTAAPJSYus/GwALcdXK9w== X-Google-Smtp-Source: AGHT+IEC4UKJzn8HINvDR186oQwvlaGU0qyeL+doNP5/QKlVeseSI6jPj0WZSM0ZMJt4ddKdxluT0Q== X-Received: by 2002:a05:6512:513:b0:4fe:c98:789a with SMTP id o19-20020a056512051300b004fe0c98789amr2514259lfb.37.1695221252005; Wed, 20 Sep 2023 07:47:32 -0700 (PDT) Received: from [172.20.86.172] (static-212-193-78-212.thenetworkfactory.nl. [212.78.193.212]) by smtp.gmail.com with ESMTPSA id bo6-20020a0564020b2600b0052284228e3bsm9092882edb.8.2023.09.20.07.47.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 20 Sep 2023 07:47:31 -0700 (PDT) Message-ID: <44a00fc6-d700-4713-34f0-36b172d8cb90@linaro.org> Date: Wed, 20 Sep 2023 16:47:30 +0200 Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [PATCH 2/2] arm64: dts: qcom: msm8939-huawei-kiwi: Add initial device tree Content-Language: en-US To: Lukas Walter , Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Raymond Hackley References: <20230916134147.163764-1-lukas.walter@aceart.de> <20230916134147.163764-2-lukas.walter@aceart.de> From: Konrad Dybcio In-Reply-To: <20230916134147.163764-2-lukas.walter@aceart.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 On 9/16/23 15:41, Lukas Walter wrote: > This dts adds support for Huawei Honor 5X / GR5 (2016) smartphone > released in 2015. > > Add device tree with initial support for: > > - GPIO keys > - Hall sensor > - SDHCI (internal and external storage) > - WCNSS (BT/WIFI) > - Sensors (accelerometer, proximity and gyroscope) > - Vibrator > - Touchscreen > > Signed-off-by: Lukas Walter > Signed-off-by: Raymond Hackley > --- Beyond the signoff question from Krzysztof, this looks really good. Some comments below. [...] > + > + reserved-memory { > + reserved@84a00000 { > + reg = <0x0 0x84a00000 0x0 0x1600000>; > + no-map; > + }; Do we know what this is for? > + }; > + > + gpio-hall-sensor { > + compatible = "gpio-keys"; > + > + pinctrl-0 = <&gpio_hall_sensor_default>; > + pinctrl-names = "default"; > + > + label = "GPIO Hall Effect Sensor"; I think we can have both hall sensor and V+ under gpio-keys And then I am not sure how useful the label is for the container node, maybe you or somebody else can tell me whether it's used anywhere > + > + event-hall-sensor { > + label = "Hall Effect Sensor"; > + gpios = <&tlmm 69 GPIO_ACTIVE_LOW>; > + linux,input-type = ; > + linux,code = ; > + linux,can-disable; Should this not be a wakeup-source btw? > + }; > + }; > + [...] > + /* > + * NOTE: vdd is not directly supplied by pm8916_l16, it seems to be a > + * fixed regulator that is automatically enabled by pm8916_l16. That sounds reasonable, many boards have such circuits Konrad