Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1613175rdb; Wed, 20 Sep 2023 14:26:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFGCGtRkEgBslL3oHzQP7QuTV1u3F4wRDg0kM4SToPU5zbl7XuPb0P4DpjhbkMqDeLpcGjZ X-Received: by 2002:a05:6a20:5649:b0:14c:4e31:97f3 with SMTP id is9-20020a056a20564900b0014c4e3197f3mr3549179pzc.59.1695245208560; Wed, 20 Sep 2023 14:26:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695245208; cv=none; d=google.com; s=arc-20160816; b=OX5PqeVtTpT0VgNbGYe0s/GWCMD0j+L/zIyC1L/7rNdLCjlTRJHQuDcRdn87Mjk42z JxKv3LMwXNRMSsftzpBUkFESP+Dcc6oC89dqjPwD6Tds8wYrOeDYN8HPaDyYPy3R9Slh rpkiQ47fIIGDwAu4EAB3XU7zmU5M+ZYvAk2N1O0msI2As2maXo/Enco50pWM8Oi1e3Ht jGJX8q3/u/R8ouGfnl2V7jg/gRe0uzClMQmuW1D00QLUSX/IzZwj1B0ssLHFegVKxHRX LGb7yri8WyY1TYa+rTsrcDv5rveBNSbxRd8VQh9PFrZ6X+icZIhyz8Np+KVQ/jQXfRgH HoZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=/cF+h5j15Rca2B8Ac70UcdcDuVaOzRHd+CtHU3r+VSA=; fh=q7npGpOD/NVPFEdvZfMt2xXdOfeS6zRp8OgUXRlHLbw=; b=WxipTeoh9UIb7yHuArhncCOeJZQ+60a+lkRSlPGCR611whJaokaLAqDvZz+B+ENyM0 f9yd0cSKVL29srGzvm3d/zqrzSMyQCjaOFQxdbV93ho4Y4AuO/ayMuf39pfrRMS+Rzv/ p/jeOKpPDehi7kzB7wkevUWYRiZuhjGE5o2L1ED+B0bnNeFymyggh33D1aW+qWykCF8W Yd8Lpw5g6UHZ4tO/zJDZECwbOdnK0WyWMVclQyFNlCYEHp8AsIsa33Sadx1OygdFQF6C PBPFCe5cnyy8iba4E+Yo2Z7OeF4cl7Z80bCDsOTbkOfTSlyCWMcsorVyNKf6nSH+yi7Z 1J5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aab4BhcJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id y18-20020a056a00181200b00690a75a318asi32616pfa.67.2023.09.20.14.26.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 14:26:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aab4BhcJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id C7854826A908; Wed, 20 Sep 2023 07:48:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235238AbjITOsO (ORCPT + 99 others); Wed, 20 Sep 2023 10:48:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236650AbjITOsC (ORCPT ); Wed, 20 Sep 2023 10:48:02 -0400 Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02604E4F for ; Wed, 20 Sep 2023 07:47:33 -0700 (PDT) Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-50317080342so5752098e87.2 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=NKXld/VBESql1FlzW8Sw2UhKr4Jv+Sn6Y6Au7M4oBk6zXUMtslfx/5PsFCTHE63tXN +J9FlF+VWjv14Ah8nsVdUtIK97E9WRFbG4QyM093YoNdA/OUStdFBaRwVbrlcaCLE6Y9 46qp55i9Y+tjVuRTtn+YAvjh0o9Ol48EsBOx6lbnlEiMRezODLSOAqatH1Nm3BD5XtV9 aXklxQSpKRyUxYuvsTh7+7njbI5WWRwLYYzR3TzWryBku58V7VwaSZt1L4ChGPNhR2m5 7is5g2CsqDGmFIp2PWDrQlopQS2Koa3jcwThuKsWuaJQjNJXa8aug4dHc4vNvldKP7+u 7iEA== X-Gm-Message-State: AOJu0YyfKXpM+4ENFDjyQogSv7O7MT4r2go+78w9QaALaspRoEHBIAYf Uj2PsKTUPs9ard0ulF7wkhHPWA== 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 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=-2.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,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 lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 20 Sep 2023 07:48:16 -0700 (PDT) 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