Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9200490rwl; Wed, 11 Jan 2023 02:50:06 -0800 (PST) X-Google-Smtp-Source: AMrXdXuG1Oqv3bFBLjRkIiOt1UNVNNgymX/NrJ28RjQbwrUoYf7zqyoEzF5sXC1bf1gKeE57MYHs X-Received: by 2002:a17:902:ed11:b0:193:38a1:68e4 with SMTP id b17-20020a170902ed1100b0019338a168e4mr7226973pld.0.1673434206482; Wed, 11 Jan 2023 02:50:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673434206; cv=none; d=google.com; s=arc-20160816; b=twZpUaoRPeeG5P5HevvDDqExrTDPHM2+i+jBXNRzwZWHRFp5EakQyS7qJ5qe+5gw+X /N4rGhrD9Os/k/nepTtDzhjdZO/m8qlEC3+C8xPR8ZqFJCXpdh0m/vWyZ7JbTG8X3hJW l5g0q72pDWzwbyIVlIS0sX1t49gVBkJ/UEWu67d/vKJ2pDuPoh0L6gzQ9o9ODl7rb42Q 3xLHfbKvGof3gAnvr7IZRXdQQy/vos9CpQ9p4eD4hvej623bES2mWZekgTjEyTXIDhuE g4sTO7NZz2aECRo1VP9gYDJR1WQkARYKX0ohu067lSJkqWXzDvlmcKW6mczT3pnSWZbQ BPKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:thread-index:content-language :content-transfer-encoding:mime-version:date:subject:in-reply-to :references:cc:to:from:message-id:dkim-signature; bh=64hj+cdFZ1tPcCZ3jBM10E5LzuPo94VvhO1ZD6XEGaI=; b=P+2ThapP6wnl5W2ELI3f7T+ZzTYzKSikSsuKkvXkukRlu6omc2oFOQJ/4KRTpR2uuR rZprXf64qrxVx0bOtQgk006D3uWCtdMSdLs/pixyo6CRUcDlzZaRXJs1E43awwqLjt9K ssE017hv8yr2Ltq27vUE6SmnZUh8voZeIRY9N8S8soFm4uO+8NoU8xhp/Ml9ds9GhMW4 mYTgPgBtoyRcrJlbCxPwqRNJ8wFQx7KLXnMdgbMDud9S7cibsvWNXnR0Flx0znW64Sno 6FOQg+3X279ijKsLe0CXBAbQrHcD/CZmLUuFpPJEOFR9fuXHKk06R7l04QOcP6zKgiPN YcLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@foxmail.com header.s=s201512 header.b=SAt8WrBt; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foxmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m17-20020a170902f21100b001928d1778f8si12834494plc.251.2023.01.11.02.49.59; Wed, 11 Jan 2023 02:50:06 -0800 (PST) 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=@foxmail.com header.s=s201512 header.b=SAt8WrBt; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=foxmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232058AbjAKKVu (ORCPT + 53 others); Wed, 11 Jan 2023 05:21:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234190AbjAKKVj (ORCPT ); Wed, 11 Jan 2023 05:21:39 -0500 Received: from out162-62-57-210.mail.qq.com (out162-62-57-210.mail.qq.com [162.62.57.210]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 434AEDAC for ; Wed, 11 Jan 2023 02:21:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1673432489; bh=64hj+cdFZ1tPcCZ3jBM10E5LzuPo94VvhO1ZD6XEGaI=; h=From:To:Cc:References:In-Reply-To:Subject:Date; b=SAt8WrBtReaEpCRwEj681zNkzFqdQfraXV7IKZforKZL8AHihB7vyygIU0LUyMvUY SkOcyiBecamFBXOxXrN+ciGqGGYNzZZlViuILWc6f2SjJ58VrEqzbILsLUTd+FNskD V+pRirxk3pMuiQAjD9kWlA2qJqQ2J5VYhE7JLmbA= Received: from DESKTOPZMX ([111.60.247.106]) by newxmesmtplogicsvrszc5-0.qq.com (NewEsmtp) with SMTP id 5590BE03; Wed, 11 Jan 2023 18:21:25 +0800 X-QQ-mid: xmsmtpt1673432485t7n5hxfk8 Message-ID: X-QQ-XMAILINFO: MK5U7QanZrCwJp2QaHPoANhMg+Fpm0cUh1+1M7TytG8Vfe+1XZpKNZZ1Mnz7Pf /fwIfpAqMV8lNGWS3DYOKAjqswpf0EHO7hbA6WUidgkpNkiZwVEFBv//AfJfK0XYY4Uk71tteKev 7ZJTpIWVc6bdMkZCQW7lCKvPBDltOqATbjQj28aA8/wDc0KK8PlmlANDDZUb9ba/u0asFWsxF2VZ OoxsjyJF8nck98fvGtQpa6w2F51vDH74BuEZSzNlQgn6zerkWQio0LhEcAGwoyTPhqf9eQ48ObxE utq1uM8ytMjOUcfUA5ehvhSbe/aKXfRcETTAHlpgD3IaMkM3dL1vslOXp8BMeCEoajHd+lFqEH4b EUK1/SJpIDW3ZGwUw6Cria+slByhwVszn8tpVlgymIk1uj7nswootTqVx9YqNco8cbzgTk1QDAOT hPWc8XabKmt+hFYzQ6BAOr7HFIBD0zCdyqfxHhPrEXwZ2C4Gm4kvb+WGvWHj01p9C8uNUUvu5ltI bD9ehUv3FXM9KZD20NZhpUX6rO+AQfz9YHA4YcY0log6Ci/4X/yJqJk8Pc+SnvdgfL4TLAdxjKoi Yr9TLsHPNQK1t72aTnA6tFiTtrjpzWgiq9a2/WuvXotk0jFVnw04Bcd/ERvp3/sLiadtvqOMzNKm k+7mjmor+mVUZ9jy9h9o2323PRV109DF98tC9XpR5mg5NlIcOjTYjNMS0qPmV0kgRlkGvhCxinPu NIf5DB/KmyzJAhlDzd5M9phyMFJTbpyQNhs6QCOFAbVJu9dD4jVOjIbLMNo7MPJCpk6Qqf+0hVB7 p7rlzJj/znQocjXFL4/2gP8VjzF6CBL32evU2t0XqwL+qZlXtLLRXKTyjO7Fz+Jl2xljvnCUvWU9 QiguxCmagh/ofkxxkERICKR+3+eOdWEup5WUvo5KipE+0+aAa7PNIdZHcjKOlcOrRmRkdNgQYyXK XItHA9sOotS6rQdBLUj7j6l/ahwjGC From: To: "'Krzysztof Kozlowski'" , "'Andy Gross'" , "'Bjorn Andersson'" , "'Konrad Dybcio'" , "'Rob Herring'" , "'Krzysztof Kozlowski'" , , , Cc: "'Jaime Breva'" , <~postmarketos/upstreaming@lists.sr.ht>, "'Nikita Travkin'" References: <20230110155014.31664-1-forbidden405@foxmail.com> <8530aeef-8fdb-ede7-700e-856e5cbc6a5b@linaro.org> <0453b098-91db-1918-38ae-a7db0408460c@linaro.org> <3fb51f6a-84b7-c35b-d4b0-332671988594@linaro.org> In-Reply-To: <3fb51f6a-84b7-c35b-d4b0-332671988594@linaro.org> Subject: RE: [PATCH 3/3] arm64: dts: qcom: msm8916-zhihe: Add initial device tree for zhihe Wifi/LTE dongle UFI-001C and uf896 Date: Wed, 11 Jan 2023 18:21:03 +0800 X-OQ-MSGID: <000401d925a6$77298970$657c9c50$@foxmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Content-Language: zh-cn Thread-Index: AQEO7BERPzOKD8mdDN9nK2Zc/pFyZgG3SCqUAZiImfcCstHu6AF93epXAffz5noBRJuEcQD3Xbi/AZKgzz8DEhceeQ== X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,HELO_DYNAMIC_IPADDR,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, RDNS_DYNAMIC,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: * 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 On 11/01/2023 09:32, krzysztof.kozlowski@linaro.org wrote: > This does not solve my concerns. If you cannot point specific = manufacturer=20 > and > model (if there is no manufacturer, there can be no official model,=20 > right?), how > anyone can be sure that their device is compatible with yours? 1. the best way is to take the device apart and compare the board design = with others; 2. the label on board, though format unknown, seems to be different = between=20 different models and identical for one model; 3. read board-id from stock Android firmware. It's not reliable because = a=20 board-id might be shared by multiple models. Note this board-id has no = other usage because the manufacturer reused a board-id defined by qcom. We extract some special fields from the label(i.e. ufi001c or uf896) to = be=20 the model name for a device, currently it's enough to distinguish = between=20 different boards.=20 For example, the label on ufi001c is 'UFI001C_MB_V01', we extract the = first field to be the model name.