From nobody Thu Jun 22 10:16:12 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Qmx984hncz4fcFP for ; Thu, 22 Jun 2023 10:16:12 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Qmx98472Sz4HlK; Thu, 22 Jun 2023 10:16:12 +0000 (UTC) (envelope-from daemon-user@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687428972; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=Q52S7DzAfbjbAsKHAAykQwQwdm5XFG773BBtDqPpXno=; b=bqPsSVcmTQoveFATeJ/w/4FoTYdPlEduwf9OetMpfpFE/avB6/4NvmefPKGhciKuim2zLT Dj4d+ceL/zLDFU40Gu+9Ax5LFy6oM2dUZuRVba1oUlII6Jc7b5m3DcjKyLFKx+6ZJagxvU Jban+gaQfaBfSgiDvbry6KlIA+aUVGRe7ARyrC+aLbxXskdw9yppIOdHDEFR3PvNYCTqo4 EmTOjDIs0EAhFmyNPcOLLG4qfer/jSeG8SvM5/ObTldtRnHuq4doRPyjOeyccVuvzfb2rU AMIZRqypoKVBIK86hq8zUpp8Xrk8dbrM4aEv1T9k+fHVgLRHI93R4D5pVIvZvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687428972; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references; bh=Q52S7DzAfbjbAsKHAAykQwQwdm5XFG773BBtDqPpXno=; b=MJ807YG5yaScpdYqP/DYEwakmXQGwhjlbjZ/fC79ztadSPvPt0g0Dpy4kHGcUy4y33zNe6 vR9M0lLfirFbQwxdiBU7rxUSeFaLpXkY14raF31w3CQBK0dulfXxYWnmNYLqjVMCrm+b73 84eKQKrWE4vFD2heNqAVXgqS79R1qBI4YylAb7LY0jc58+8xKifoGIoS1Tlo9ZbP3DU3BI 2U7QMEc424F6LK+v13QQkpvgoZjTiiiki1Wwe/qMYo3cYy9LmRXxmeIohB1gM4pxQPHbe7 Kloz9vOsxD0qCcGuYtkZxCb8QaD+5EJzjlv8QPshSfNhKHcsNwDDuFic/SIFGg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687428972; a=rsa-sha256; cv=none; b=VFYKHN1FXBKvMBko+QP95uz77xe2KeKJa2wIxFnebjhpFYCBfWTzpJ8ZQQ2cQ/Ota77U8D iE52VqlProwztSTKoobW9R+vSbs8gzpKX/EPairbAcdaQuXm9cm2lVJL5ONCsLgNxIyi2F mnbN6cSQYLt55n2CLObr/i9c24NIEkrCxZmf0yqsPOwgTr30wpKPGd/IM5CEsI1PVSBN+P /mfPV5/rBqLvz7Gcp1NcmZ7dTXSmGsow/8zpmM2jFqCj7xRCMwasTkT+c1k1/EhyD6CDxL d0gc1MKbC54W1mHb/JACbQ7xiXvEXMzaZOen+fXaifWeRHUZLFPuSkLdJ8B7TA== Received: from reviews.nyi.freebsd.org (reviews.nyi.freebsd.org [IPv6:2610:1c1:1:606c::16:b]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4Qmx982qRLzK5k; Thu, 22 Jun 2023 10:16:12 +0000 (UTC) (envelope-from daemon-user@freebsd.org) Received: by reviews.nyi.freebsd.org (Postfix, from userid 1346) id 6079A4A993; Thu, 22 Jun 2023 10:16:12 +0000 (UTC) Date: Thu, 22 Jun 2023 10:16:12 +0000 To: Phabricator From: "titus_edc.ro (Titus Manea)" Cc: freebsd-arm@freebsd.org Reply-to: "titus_edc.ro (Titus Manea)" Subject: [Differential] D40716: rk3308 minor patches for usb, ethernet, pwm,, temperature sensors Message-ID: <9a12c9c4f297d09f13c7cd95196027ad@localhost.localdomain> X-Priority: 3 X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , , X-Herald-Rules: <31>, <32>, <34>, <101> X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: Precedence: bulk Thread-Topic: PHID-DREV-qnganrdvvbeewtlqip6a X-Phabricator-Mail-ID: 3926007 X-Phabricator-Send-Attempt: asumijnymrtsj4bk In-Reply-To: References: Thread-Index: YWMyODAwY2NlMTRiMWQxMzAxODU1MTNkZWY4IGSUH2w= X-Phabricator-Stamps: actor(@titus_edc.ro) application(Differential) author(@titus_edc.ro) herald(H31) herald(H32) herald(H34) herald(H101) monogram(D40716) object-type(DREV) phid(PHID-DREV-qnganrdvvbeewtlqip6a) reviewer(#arm64) reviewer(@andrew) reviewer(@manu) revision-status(needs-review) subscriber(@emaste) subscriber(@freebsd-arm-list) via(web) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_9a12c9c4f297d09f13c7cd95196027ad" X-ThisMailContainsUnwantedMimeParts: N --b1_9a12c9c4f297d09f13c7cd95196027ad Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: base64 dGl0dXNfZWRjLnJvIGNyZWF0ZWQgdGhpcyByZXZpc2lvbi4KdGl0dXNfZWRjLnJvIGFkZGVkIGEg cmV2aWV3ZXI6IGFybTY0LgpIZXJhbGQgYWRkZWQgYSByZXZpZXdlcjogYW5kcmV3LgpIZXJhbGQg YWRkZWQgYSByZXZpZXdlcjogYW5kcmV3LgpIZXJhbGQgYWRkZWQgYSBzdWJzY3JpYmVyOiBlbWFz dGUuCkhlcmFsZCBhZGRlZCBhIHJldmlld2VyOiBtYW51Lgp0aXR1c19lZGMucm8gcmVxdWVzdGVk IHJldmlldyBvZiB0aGlzIHJldmlzaW9uLgoKUkVWSVNJT04gU1VNTUFSWQogIHBvcnRlZCBmcm9t IGxpbnV4LCBvcGVuYnNkCgpSRVZJU0lPTiBERVRBSUwKICBodHRwczovL3Jldmlld3MuZnJlZWJz ZC5vcmcvRDQwNzE2CgpBRkZFQ1RFRCBGSUxFUwogIHN5cy9hcm02NC9yb2NrY2hpcC9pZl9kd2Nf cmsuYwogIHN5cy9hcm02NC9yb2NrY2hpcC9ya19ncmYuYwogIHN5cy9hcm02NC9yb2NrY2hpcC9y a19wd20uYwogIHN5cy9hcm02NC9yb2NrY2hpcC9ya19zcGkuYwogIHN5cy9hcm02NC9yb2NrY2hp cC9ya190c2FkYy5jCiAgc3lzL2FybTY0L3JvY2tjaGlwL3JrX3VzYjJwaHkuYwoKRU1BSUwgUFJF RkVSRU5DRVMKICBodHRwczovL3Jldmlld3MuZnJlZWJzZC5vcmcvc2V0dGluZ3MvcGFuZWwvZW1h aWxwcmVmZXJlbmNlcy8KClRvOiB0aXR1c19lZGMucm8sICNhcm02NCwgYW5kcmV3LCBtYW51CkNj OiBmcmVlYnNkLWFybS1saXN0LCBlbWFzdGUK --b1_9a12c9c4f297d09f13c7cd95196027ad Content-Type: text/x-patch; charset=utf-8; name="D40716.123651.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D40716.123651.patch" ZGlmZiAtLWdpdCBhL3N5cy9hcm02NC9yb2NrY2hpcC9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